PUT api/WorkDetail/{id}/WorkDetailItem
Updates the WorkDetailItem record. Content is either a Image url, Video url or Copy text depending on the value of WorkDetailItem.Type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
Body Parameters
UpdateWorkDetailItemRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkDetailItem | WorkDetailItem |
None. |
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WorkDetailItem| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkDetailId | integer |
None. |
|
| Type | WorkItemTypeEnum |
None. |
|
| Content | string |
None. |
|
| ImageUrlThumbnail | string |
None. |
|
| Position | integer |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkDetailId": 1,
"Type": 0,
"Content": "sample string 2",
"ImageUrlThumbnail": "sample string 3",
"Position": 4,
"Id": 5
}
application/xml, text/xml
Sample:
<WorkDetailItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessDomain.Entities"> <Id xmlns="http://schemas.datacontract.org/2004/07/BusinessDomain.Core">5</Id> <Content>sample string 2</Content> <ImageUrlThumbnail>sample string 3</ImageUrlThumbnail> <Position>4</Position> <Type>Image</Type> <WorkDetailId>1</WorkDetailId> </WorkDetailItem>