POST api/StylePhoto/SetCaption
Request Information
URI Parameters
None.
Body Parameters
StylePhotoViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StorageId | integer |
None. |
|
UniqueId | globally unique identifier |
None. |
|
FileName | string |
None. |
|
Caption | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "storageId": 2, "uniqueId": "a2aa207a-530f-435f-afb3-37e881ab5b0f", "fileName": "sample string 4", "caption": "sample string 5" }
application/xml, text/xml
Sample:
<StylePhotoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <Caption>sample string 5</Caption> <FileName>sample string 4</FileName> <Id>1</Id> <StorageId>2</StorageId> <UniqueId>a2aa207a-530f-435f-afb3-37e881ab5b0f</UniqueId> </StylePhotoViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of StylePhotoViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StorageId | integer |
None. |
|
UniqueId | globally unique identifier |
None. |
|
FileName | string |
None. |
|
Caption | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "storageId": 2, "uniqueId": "223f4839-df02-4d5d-9b9f-ea0450b3efcc", "fileName": "sample string 4", "caption": "sample string 5" }, { "id": 1, "storageId": 2, "uniqueId": "223f4839-df02-4d5d-9b9f-ea0450b3efcc", "fileName": "sample string 4", "caption": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfStylePhotoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <StylePhotoViewModel> <Caption>sample string 5</Caption> <FileName>sample string 4</FileName> <Id>1</Id> <StorageId>2</StorageId> <UniqueId>223f4839-df02-4d5d-9b9f-ea0450b3efcc</UniqueId> </StylePhotoViewModel> <StylePhotoViewModel> <Caption>sample string 5</Caption> <FileName>sample string 4</FileName> <Id>1</Id> <StorageId>2</StorageId> <UniqueId>223f4839-df02-4d5d-9b9f-ea0450b3efcc</UniqueId> </StylePhotoViewModel> </ArrayOfStylePhotoViewModel>