GET api/Content/GetPosts/{customerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of APIPost| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerName | string |
None. |
|
| CreatedDate | integer |
None. |
|
| Thumb | string |
None. |
|
| OriginalImage | string |
None. |
|
| IsFeatrureList | boolean |
None. |
|
| AdvertiseId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"CustomerId": 4,
"CustomerName": "sample string 5",
"CreatedDate": 6,
"Thumb": "sample string 7",
"OriginalImage": "sample string 8",
"IsFeatrureList": true,
"AdvertiseId": 10
},
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"CustomerId": 4,
"CustomerName": "sample string 5",
"CreatedDate": 6,
"Thumb": "sample string 7",
"OriginalImage": "sample string 8",
"IsFeatrureList": true,
"AdvertiseId": 10
}
]
application/xml, text/xml
Sample:
<ArrayOfAPIPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<APIPost>
<AdvertiseId>10</AdvertiseId>
<CreatedDate>6</CreatedDate>
<CustomerId>4</CustomerId>
<CustomerName>sample string 5</CustomerName>
<Description>sample string 3</Description>
<Id>1</Id>
<IsFeatrureList>true</IsFeatrureList>
<OriginalImage>sample string 8</OriginalImage>
<Thumb>sample string 7</Thumb>
<Title>sample string 2</Title>
</APIPost>
<APIPost>
<AdvertiseId>10</AdvertiseId>
<CreatedDate>6</CreatedDate>
<CustomerId>4</CustomerId>
<CustomerName>sample string 5</CustomerName>
<Description>sample string 3</Description>
<Id>1</Id>
<IsFeatrureList>true</IsFeatrureList>
<OriginalImage>sample string 8</OriginalImage>
<Thumb>sample string 7</Thumb>
<Title>sample string 2</Title>
</APIPost>
</ArrayOfAPIPost>