POST api/inquiry/PlaceOrder?app_key={app_key}&access_token={access_token}×tamp={timestamp}&sign={sign}
询价单转订单
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| app_key |
app_key |
string |
None. |
| access_token |
access_token |
string |
None. |
| timestamp |
timestamp |
string |
None. |
| sign |
sign |
string |
None. |
Body Parameters
PlaceOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceOrderId |
询价单号 |
string |
None. |
| Receiver |
收货人 |
string |
None. |
| TelPhone |
收货人电话 |
string |
None. |
| ReceiveWay |
配送方式 1:运费到付 2:自提 3:下单 4:北迈配送(整单报价) 运费到付、自提 不需要确认运费 下单之后跳转支付页面 下单 需要确认运费 |
integer |
None. |
| ProvinceName |
省份名称 |
string |
None. |
| CityName |
城市 |
string |
None. |
| AreaName |
区 |
string |
None. |
| Address |
详细地址 |
string |
None. |
| CoupanSerialNumber |
优惠券兑换码 |
string |
None. |
| DiscountAmount |
优惠金额 |
decimal number |
None. |
| Items |
订单明细 |
Collection of PlaceOrderDetailModel |
None. |
| PaymentTypeId |
-2挂账 -1 货到付款 0 在线支付 >0 支付方式ID |
integer |
None. |
| PaymentType |
支付方式名称 |
string |
None. |
| SourceType |
订单来源类型 |
integer |
None. |
| IsOpenInvoice |
是否开发票 1:开发票 0:不开发票 |
integer |
None. |
| InvoiceInvoiceType |
发票类型:1 普通 2 增值税 |
integer |
None. |
| InvoiceOpenType |
开票方式:1、订单完成后开票 |
integer |
None. |
| InvoiceCompanyName |
单位名称 |
string |
None. |
| InvoiceInvoiceContent |
发票内容 |
string |
None. |
| InvoiceIdentifyNumber |
纳税人识别码 |
string |
None. |
| InvoiceAddress |
注册地址 |
string |
None. |
| InvoicePhone |
注册电话 |
string |
None. |
| InvoiceBankAccount |
开户行 |
string |
None. |
| InvoiceAccountNumber |
银行账户 |
string |
None. |
| DealerId |
商家id |
integer |
None. |
| DealerName |
商家名称 |
string |
None. |
| PopUserName |
当前账号 |
string |
None. |
| SourcePlat |
来源平台 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SourceOrderId": "sample string 1",
"Receiver": "sample string 2",
"TelPhone": "sample string 3",
"ReceiveWay": 4,
"ProvinceName": "sample string 5",
"CityName": "sample string 6",
"AreaName": "sample string 7",
"Address": "sample string 8",
"CoupanSerialNumber": "sample string 9",
"DiscountAmount": 10.0,
"Items": [
{
"DetailId": 1,
"DealerId": 2
},
{
"DetailId": 1,
"DealerId": 2
}
],
"PaymentTypeId": 11,
"PaymentType": "sample string 12",
"SourceType": 13,
"IsOpenInvoice": 14,
"InvoiceInvoiceType": 15,
"InvoiceOpenType": 16,
"InvoiceCompanyName": "sample string 17",
"InvoiceInvoiceContent": "sample string 18",
"InvoiceIdentifyNumber": "sample string 19",
"InvoiceAddress": "sample string 20",
"InvoicePhone": "sample string 21",
"InvoiceBankAccount": "sample string 22",
"InvoiceAccountNumber": "sample string 23",
"DealerId": 24,
"DealerName": "sample string 25",
"PopUserName": "sample string 26",
"SourcePlat": 27
}
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. |