PUT api/Content/v2/GetPostDetail
Request Information
URI Parameters
None.
Body Parameters
APIPostDetailRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
PostId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "PostId": 2 }
application/xml, text/xml
Sample:
<APIPostDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <PostId>2</PostId> </APIPostDetailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIPostDetailResponseName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
CustomerName | string |
None. |
|
CreatedDate | integer |
None. |
|
Images | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Title": "sample string 2", "Description": "sample string 3", "CustomerName": "sample string 4", "CreatedDate": 5, "Images": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<APIPostDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CreatedDate>5</CreatedDate> <CustomerName>sample string 4</CustomerName> <Description>sample string 3</Description> <Id>1</Id> <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Images> <Title>sample string 2</Title> </APIPostDetailResponse>