POST Api/Service/Setting/AddOrderCarrierIntactSetting
添加航司生单完整设置
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactOrderCarrierSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderProviderSettings |
设置列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactOrderProviderSettingModel |
None. |
| SiteSettingId |
父级ID |
string |
Required String length: inclusive between 0 and 128 |
| Carrier |
航空公司 |
string |
Required String length: inclusive between 0 and 2 |
| Normal |
当前设置是否为默认项 |
boolean |
None. |
| PurchaseTag |
采购路由 |
string |
Required String length: inclusive between 0 and 20 |
| Status |
启用状态 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderProviderSettings": [
{
"OrderProviderAutoPaySettings": {
"ID": "38de9b0c-d311-4f81-82ab-c4e8240e067e",
"PaymentTag": "sample string 2",
"SortType": 0,
"UsedBalance": true
},
"OrderProviderExpandSettings": [
{
"OrderProviderSettingId": "bff20f86-f08a-4464-ad8b-b60c7008ce97",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
},
{
"OrderProviderSettingId": "bff20f86-f08a-4464-ad8b-b60c7008ce97",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
}
],
"OrderCarrierSettingId": "eb55b6f3-f254-4098-a85f-3eca394acf6e",
"Sequence": 2,
"ProviderCode": "sample string 3",
"MatchCabin": true,
"PriceChangeInterval": 5,
"Status": true
},
{
"OrderProviderAutoPaySettings": {
"ID": "38de9b0c-d311-4f81-82ab-c4e8240e067e",
"PaymentTag": "sample string 2",
"SortType": 0,
"UsedBalance": true
},
"OrderProviderExpandSettings": [
{
"OrderProviderSettingId": "bff20f86-f08a-4464-ad8b-b60c7008ce97",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
},
{
"OrderProviderSettingId": "bff20f86-f08a-4464-ad8b-b60c7008ce97",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
}
],
"OrderCarrierSettingId": "eb55b6f3-f254-4098-a85f-3eca394acf6e",
"Sequence": 2,
"ProviderCode": "sample string 3",
"MatchCabin": true,
"PriceChangeInterval": 5,
"Status": true
}
],
"SiteSettingId": "sample string 1",
"Carrier": "sample string 2",
"Normal": true,
"PurchaseTag": "sample string 4",
"Status": true
}
Response Information
Resource Description
添加航司生单完整设置
SpeedPower.Utility.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}