PUT api/content/v4/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": "1057264d-60ba-4536-bef7-5c8eaa39e6ef",
"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>1057264d-60ba-4536-bef7-5c8eaa39e6ef</UniqueId> <UserUniqueId>10</UserUniqueId> </APIPostRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPIPostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APIPostResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"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:
<APICommonWrapperOfAPIPostResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<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>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPIPostResponseZdSfSp5S>