PUT api/Content/v3/GetPosts
Request Information
URI Parameters
None.
Body Parameters
APIPostRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SortBy | string |
None. |
|
| SortDir | string |
None. |
|
| PageNumber | integer |
None. |
|
| CustomerId | integer |
None. |
|
| MemberId | integer |
None. |
|
| SearchText | string |
None. |
|
| IsAssociation | boolean |
None. |
|
| ShowAll | boolean |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| Category | string |
None. |
|
| FestivalId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SortBy": "sample string 1",
"SortDir": "sample string 2",
"PageNumber": 3,
"CustomerId": 4,
"MemberId": 5,
"SearchText": "sample string 6",
"IsAssociation": true,
"ShowAll": true,
"UniqueId": "05e94d12-a8a9-4920-bef0-188684436dca",
"UserUniqueId": 10,
"Category": "sample string 11",
"FestivalId": 12,
"LanguageId": 1
}
application/xml, text/xml
Sample:
<APIPostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Category>sample string 11</Category> <CustomerId>4</CustomerId> <FestivalId>12</FestivalId> <IsAssociation>true</IsAssociation> <LanguageId>1</LanguageId> <MemberId>5</MemberId> <PageNumber>3</PageNumber> <SearchText>sample string 6</SearchText> <ShowAll>true</ShowAll> <SortBy>sample string 1</SortBy> <SortDir>sample string 2</SortDir> <UniqueId>05e94d12-a8a9-4920-bef0-188684436dca</UniqueId> <UserUniqueId>10</UserUniqueId> </APIPostRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIPostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of APIPost |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"List": [
{
"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
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<APIPostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<List>
<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>
</List>
<TotalRecords>1</TotalRecords>
</APIPostResponse>