GET api/content/v4/getmerch?sectionId={sectionId}&languageId={languageId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sectionId | integer |
Default value is 0 |
|
| languageId | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
APICommonWrapperOfListOfMerch| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | Collection of Merch |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": [
{
"MerchImage": "sample string 1",
"MerchURL": "sample string 2",
"SectionId": 1,
"SectionName": "sample string 3"
},
{
"MerchImage": "sample string 1",
"MerchURL": "sample string 2",
"SectionId": 1,
"SectionName": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<APICommonWrapperOfArrayOfMerchMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
<d2p1:Merch>
<d2p1:MerchImage>sample string 1</d2p1:MerchImage>
<d2p1:MerchURL>sample string 2</d2p1:MerchURL>
<d2p1:SectionId>1</d2p1:SectionId>
<d2p1:SectionName>sample string 3</d2p1:SectionName>
</d2p1:Merch>
<d2p1:Merch>
<d2p1:MerchImage>sample string 1</d2p1:MerchImage>
<d2p1:MerchURL>sample string 2</d2p1:MerchURL>
<d2p1:SectionId>1</d2p1:SectionId>
<d2p1:SectionName>sample string 3</d2p1:SectionName>
</d2p1:Merch>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfArrayOfMerchMTRdQN6P>