POST api/MKTH/SettingSale/CreateSale
Request Information
URI Parameters
None.
Body Parameters
m_sell_mkth| Name | Description | Type | Additional information |
|---|---|---|---|
| saleID | integer |
None. |
|
| sale_type_id | integer |
None. |
|
| sale_type | string |
None. |
|
| name | string |
String length: inclusive between 0 and 100 |
|
| string |
String length: inclusive between 0 and 100 |
||
| provinces | Collection of m_province |
None. |
|
| tels | Collection of m_tel |
None. |
Request Formats
application/json, text/json
Sample:
{
"saleID": 1,
"sale_type_id": 2,
"sale_type": "sample string 3",
"name": "sample string 4",
"email": "sample string 5",
"provinces": [
{
"province_id": 1,
"province": "sample string 2"
},
{
"province_id": 1,
"province": "sample string 2"
}
],
"tels": [
{
"iso_code": "sample string 1",
"country_code": "sample string 2",
"phone_number": "sample string 3"
},
{
"iso_code": "sample string 1",
"country_code": "sample string 2",
"phone_number": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<m_sell_mkth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MKTH">
<email>sample string 5</email>
<name>sample string 4</name>
<provinces>
<m_province>
<province>sample string 2</province>
<province_id>1</province_id>
</m_province>
<m_province>
<province>sample string 2</province>
<province_id>1</province_id>
</m_province>
</provinces>
<saleID>1</saleID>
<sale_type>sample string 3</sale_type>
<sale_type_id>2</sale_type_id>
<tels>
<m_tel>
<country_code>sample string 2</country_code>
<iso_code>sample string 1</iso_code>
<phone_number>sample string 3</phone_number>
</m_tel>
<m_tel>
<country_code>sample string 2</country_code>
<iso_code>sample string 1</iso_code>
<phone_number>sample string 3</phone_number>
</m_tel>
</tels>
</m_sell_mkth>
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.