Show/Hide Toolbars

TMS XData Documentation

Navigation: Requesting Data

Requesting Streams (Blobs)

Scroll Prev Top Next More

To retrieve the content of a stream (blob) property, the client issues a GET request to a URL that addresses a stream (blob) resource. For example:

 

GET http://server:2001/tms/xdata/Customer(1)/Photo HTTP/1.1

 

The server will provide the binary blob content in response body, without specifying the content type. It's up to your client application to determine the type of content and process it accordingly. Note that this behavior is different from when you request individual properties, which in this case provide a JSON representation of the property value.

 

If the property has the null value, or the stream content is empty, the service responds with 204 No Content, otherwise a sucessful 200 OK response is provided.

If the property doesn't exist the service responds with 404 Not Found.