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": "226631e0-d40c-47fc-abac-9bd0c913ebe9",
"PaymentTag": "sample string 2",
"SortType": 0,
"UsedBalance": true
},
"OrderProviderExpandSettings": [
{
"OrderProviderSettingId": "b0d84196-75b2-40ed-80be-2e0b8bfc3210",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
},
{
"OrderProviderSettingId": "b0d84196-75b2-40ed-80be-2e0b8bfc3210",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
}
],
"OrderCarrierSettingId": "f987728b-49b3-45fe-8f0f-45b715273325",
"Sequence": 2,
"ProviderCode": "sample string 3",
"MatchCabin": true,
"PriceChangeInterval": 5,
"Status": true
},
{
"OrderProviderAutoPaySettings": {
"ID": "226631e0-d40c-47fc-abac-9bd0c913ebe9",
"PaymentTag": "sample string 2",
"SortType": 0,
"UsedBalance": true
},
"OrderProviderExpandSettings": [
{
"OrderProviderSettingId": "b0d84196-75b2-40ed-80be-2e0b8bfc3210",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
},
{
"OrderProviderSettingId": "b0d84196-75b2-40ed-80be-2e0b8bfc3210",
"SettingKey": "sample string 2",
"SettingValue": "sample string 3"
}
],
"OrderCarrierSettingId": "f987728b-49b3-45fe-8f0f-45b715273325",
"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"
}