POST api/SocialDriver/ExtendedServiceImage
Create an extended service image, if you already have an image with the required index it will be replaced.
Request Information
URI Parameters
None.
Body Parameters
A CreateExtendedServiceImageRequest
CreateExtendedServiceImageRequestName | Description | Type | Additional information |
---|---|---|---|
ServiceId |
The service id the image is for |
unsigned integer |
None. |
Index |
The image index |
integer |
None. |
ImageData |
The service image encoded as a Base64 string |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ServiceId": 1, "Index": 2, "ImageData": "sample string 3" }
application/xml, text/xml
Sample:
<CreateExtendedServiceImageRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ServiceId>1</ServiceId> <Index>2</Index> <ImageData>sample string 3</ImageData> </CreateExtendedServiceImageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A 201 on success
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |