POST api/Tools/SaveItemModelOfferTemplate
Request Information
URI Parameters
None.
Body Parameters
SaveItemModelOfferTemplateInputObjects| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName | string |
None. |
|
| BranchInternalCode | string |
None. |
|
| UserInternalCode | string |
None. |
|
| ItemModelOfferTemplateMode | TransactionMode |
None. |
|
| DataCollections | ItemModelOfferTemplate_DataCollection |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"BranchInternalCode": "sample string 2",
"UserInternalCode": "sample string 3",
"ItemModelOfferTemplateMode": 1601,
"DataCollections": {
"PrimaryItemModelOfferTempDetails": {
"IMOT_INTERNAL_CODE": 1.1,
"IMOT_DESC": "sample string 2",
"IMOT_SDAT": 3,
"IMOT_EDAT": 4,
"IMOT_TYPE": "sample string 5",
"IMOT_BOFF": "sample string 6",
"IMOT_DUTY": "sample string 7",
"IMOT_DUCD": "sample string 8",
"IMOT_OWDA": "sample string 9",
"IMOT_OWDS": "sample string 10",
"IMOT_NUSE": "sample string 11",
"IMOT_AINF": "sample string 12",
"IMOT_ADOV": "sample string 13",
"IMOT_CDTY": "sample string 14",
"IMOT_CHBK": "sample string 15",
"IMOT_AEMI": "sample string 16",
"IMOT_CBPR": 17.1,
"IMOT_MXCB": 18.1,
"IMOT_MNSA": 19.1,
"IMOT_MXSA": 20.1,
"IMOT_EDCA": "sample string 21",
"IMOT_NUMB": "sample string 22",
"IMOT_FDNO": "sample string 23",
"IMOT_DEAC": "sample string 24",
"IMOT_PRTM": "sample string 25",
"IMOT_VIEW": "sample string 26",
"IMOT_AMIN": "sample string 27",
"IMOT_STYP": "sample string 28"
},
"ItemModelOfferTemplateProductDetails": [
{
"SRNo": "sample string 1",
"ItemInternalCode": "sample string 2",
"ItemCode": 3.1,
"ItemModel": "sample string 4",
"HIDDENOFFERTYPE": "sample string 5",
"OfferType": "sample string 6",
"OfferAmount": 7.1,
"MaxCashBack": "sample string 8",
"MaxAmount": 9.1,
"MinAmount": 10.1,
"Obsolete": "sample string 11"
},
{
"SRNo": "sample string 1",
"ItemInternalCode": "sample string 2",
"ItemCode": 3.1,
"ItemModel": "sample string 4",
"HIDDENOFFERTYPE": "sample string 5",
"OfferType": "sample string 6",
"OfferAmount": 7.1,
"MaxCashBack": "sample string 8",
"MaxAmount": 9.1,
"MinAmount": 10.1,
"Obsolete": "sample string 11"
}
]
}
}
application/xml, text/xml
Sample:
<SaveItemModelOfferTemplateInputObjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.SaveToolObjects">
<BranchInternalCode>sample string 2</BranchInternalCode>
<DBName>sample string 1</DBName>
<DataCollections>
<ItemModelOfferTemplateProductDetails>
<ItemModelOfferTemplateProductDetails>
<HIDDENOFFERTYPE>sample string 5</HIDDENOFFERTYPE>
<ItemCode>3.1</ItemCode>
<ItemInternalCode>sample string 2</ItemInternalCode>
<ItemModel>sample string 4</ItemModel>
<MaxAmount>9.1</MaxAmount>
<MaxCashBack>sample string 8</MaxCashBack>
<MinAmount>10.1</MinAmount>
<Obsolete>sample string 11</Obsolete>
<OfferAmount>7.1</OfferAmount>
<OfferType>sample string 6</OfferType>
<SRNo>sample string 1</SRNo>
</ItemModelOfferTemplateProductDetails>
<ItemModelOfferTemplateProductDetails>
<HIDDENOFFERTYPE>sample string 5</HIDDENOFFERTYPE>
<ItemCode>3.1</ItemCode>
<ItemInternalCode>sample string 2</ItemInternalCode>
<ItemModel>sample string 4</ItemModel>
<MaxAmount>9.1</MaxAmount>
<MaxCashBack>sample string 8</MaxCashBack>
<MinAmount>10.1</MinAmount>
<Obsolete>sample string 11</Obsolete>
<OfferAmount>7.1</OfferAmount>
<OfferType>sample string 6</OfferType>
<SRNo>sample string 1</SRNo>
</ItemModelOfferTemplateProductDetails>
</ItemModelOfferTemplateProductDetails>
<PrimaryItemModelOfferTempDetails>
<IMOT_ADOV>sample string 13</IMOT_ADOV>
<IMOT_AEMI>sample string 16</IMOT_AEMI>
<IMOT_AINF>sample string 12</IMOT_AINF>
<IMOT_AMIN>sample string 27</IMOT_AMIN>
<IMOT_BOFF>sample string 6</IMOT_BOFF>
<IMOT_CBPR>17.1</IMOT_CBPR>
<IMOT_CDTY>sample string 14</IMOT_CDTY>
<IMOT_CHBK>sample string 15</IMOT_CHBK>
<IMOT_DEAC>sample string 24</IMOT_DEAC>
<IMOT_DESC>sample string 2</IMOT_DESC>
<IMOT_DUCD>sample string 8</IMOT_DUCD>
<IMOT_DUTY>sample string 7</IMOT_DUTY>
<IMOT_EDAT>4</IMOT_EDAT>
<IMOT_EDCA>sample string 21</IMOT_EDCA>
<IMOT_FDNO>sample string 23</IMOT_FDNO>
<IMOT_INTERNAL_CODE>1.1</IMOT_INTERNAL_CODE>
<IMOT_MNSA>19.1</IMOT_MNSA>
<IMOT_MXCB>18.1</IMOT_MXCB>
<IMOT_MXSA>20.1</IMOT_MXSA>
<IMOT_NUMB>sample string 22</IMOT_NUMB>
<IMOT_NUSE>sample string 11</IMOT_NUSE>
<IMOT_OWDA>sample string 9</IMOT_OWDA>
<IMOT_OWDS>sample string 10</IMOT_OWDS>
<IMOT_PRTM>sample string 25</IMOT_PRTM>
<IMOT_SDAT>3</IMOT_SDAT>
<IMOT_STYP>sample string 28</IMOT_STYP>
<IMOT_TYPE>sample string 5</IMOT_TYPE>
<IMOT_VIEW>sample string 26</IMOT_VIEW>
</PrimaryItemModelOfferTempDetails>
</DataCollections>
<ItemModelOfferTemplateMode>NewMode</ItemModelOfferTemplateMode>
<UserInternalCode>sample string 3</UserInternalCode>
</SaveItemModelOfferTemplateInputObjects>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |