PUT api/Work
Request Information
URI Parameters
None.
Body Parameters
UpdateWorkPageRequestName | Description | Type | Additional information |
---|---|---|---|
HomePageItems | Collection of UpdateHomePageItemDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "HomePageItems": [ { "Id": 1, "Position": 2, "Type": 0 }, { "Id": 1, "Position": 2, "Type": 0 } ] }
application/xml, text/xml
Sample:
<UpdateWorkPageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessDomain.RequestResponse"> <HomePageItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessDomain.DTOs"> <d2p1:UpdateHomePageItemDto> <d2p1:Id>1</d2p1:Id> <d2p1:Position>2</d2p1:Position> <d2p1:Type>Work</d2p1:Type> </d2p1:UpdateHomePageItemDto> <d2p1:UpdateHomePageItemDto> <d2p1:Id>1</d2p1:Id> <d2p1:Position>2</d2p1:Position> <d2p1:Type>Work</d2p1:Type> </d2p1:UpdateHomePageItemDto> </HomePageItems> </UpdateWorkPageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of UpdateHomePageItemDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Position | integer |
None. |
|
Type | DetailDtoType |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Position": 2, "Type": 0 }, { "Id": 1, "Position": 2, "Type": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfUpdateHomePageItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessDomain.DTOs"> <UpdateHomePageItemDto> <Id>1</Id> <Position>2</Position> <Type>Work</Type> </UpdateHomePageItemDto> <UpdateHomePageItemDto> <Id>1</Id> <Position>2</Position> <Type>Work</Type> </UpdateHomePageItemDto> </ArrayOfUpdateHomePageItemDto>