POST api/subtemplemapping
Request Information
URI Parameters
None.
Body Parameters
Collection of TK_SubTempleMapping| Name | Description | Type | Additional information |
|---|---|---|---|
| stmId | integer |
None. |
|
| stmSubTempleId | integer |
None. |
|
| stmOfferingsCategoryId | integer |
None. |
|
| stmSubOfferingsId | integer |
None. |
|
| stm_CompanyId | integer |
None. |
|
| stmActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"stmId": 1,
"stmSubTempleId": 2,
"stmOfferingsCategoryId": 3,
"stmSubOfferingsId": 4,
"stm_CompanyId": 5,
"stmActive": true
},
{
"stmId": 1,
"stmSubTempleId": 2,
"stmOfferingsCategoryId": 3,
"stmSubOfferingsId": 4,
"stm_CompanyId": 5,
"stmActive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfTK_SubTempleMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models">
<TK_SubTempleMapping>
<stmActive>true</stmActive>
<stmId>1</stmId>
<stmOfferingsCategoryId>3</stmOfferingsCategoryId>
<stmSubOfferingsId>4</stmSubOfferingsId>
<stmSubTempleId>2</stmSubTempleId>
<stm_CompanyId>5</stm_CompanyId>
</TK_SubTempleMapping>
<TK_SubTempleMapping>
<stmActive>true</stmActive>
<stmId>1</stmId>
<stmOfferingsCategoryId>3</stmOfferingsCategoryId>
<stmSubOfferingsId>4</stmSubOfferingsId>
<stmSubTempleId>2</stmSubTempleId>
<stm_CompanyId>5</stm_CompanyId>
</TK_SubTempleMapping>
</ArrayOfTK_SubTempleMapping>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Data": {},
"Message": "sample string 3",
"Type": 4
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <Data /> <Message>sample string 3</Message> <Status>sample string 1</Status> <Type>4</Type> </APIResponse>