PUT api/MKTH/Setting/PutAddOrderType/{orderTypeTd}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderTypeTd | integer |
Required |
Body Parameters
m_AddOrderType| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderTypeName | string |
Required |
|
| DeliveryAddressType | boolean |
Required |
|
| DeliveryAddressTypeName | string |
Required |
|
| VatType | boolean |
Required |
|
| VatTypeName | string |
Required |
|
| CraditType | boolean |
Required |
|
| CraditTypeName | string |
Required |
|
| Documents | Collection of m_AddOrderType_Document |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderTypeName": "sample string 1",
"DeliveryAddressType": true,
"DeliveryAddressTypeName": "sample string 3",
"VatType": true,
"VatTypeName": "sample string 5",
"CraditType": true,
"CraditTypeName": "sample string 7",
"Documents": [
{
"status": true,
"docId": 1,
"amount": 1
},
{
"status": true,
"docId": 1,
"amount": 1
}
]
}
application/xml, text/xml
Sample:
<m_AddOrderType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models">
<CraditType>true</CraditType>
<CraditTypeName>sample string 7</CraditTypeName>
<DeliveryAddressType>true</DeliveryAddressType>
<DeliveryAddressTypeName>sample string 3</DeliveryAddressTypeName>
<Documents>
<m_AddOrderType_Document>
<amount>1</amount>
<docId>1</docId>
<status>true</status>
</m_AddOrderType_Document>
<m_AddOrderType_Document>
<amount>1</amount>
<docId>1</docId>
<status>true</status>
</m_AddOrderType_Document>
</Documents>
<OrderTypeName>sample string 1</OrderTypeName>
<VatType>true</VatType>
<VatTypeName>sample string 5</VatTypeName>
</m_AddOrderType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.