POST Api/Service/Order/AutoPnrCreateM/{OrderId}/{EtermGroupId}
订单黑屏PNR创建操作
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId |
订单ID |
globally unique identifier |
Required |
| EtermGroupId |
黑屏组ID |
string |
Required |
Body Parameters
请求模型
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPnrCreateMRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactNumber |
联系人电话项 |
string |
Required |
| Authorizes |
授权项[最大2位][内容为Office号] |
Collection of string |
None. |
| Segments |
航班列表项[最大9位] |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPnrSegmentRequestModel |
None. |
| Passengers |
乘客列表项(乘客ID,乘客电话) |
Dictionary of globally unique identifier [key] and string [value] |
Required |
Request Formats
application/json, text/json
Sample:
{
"ContactNumber": "sample string 1",
"Authorizes": [
"sample string 1",
"sample string 2"
],
"Segments": [
{
"FlightNo": "sample string 1",
"CabinCode": "sample string 2"
},
{
"FlightNo": "sample string 1",
"CabinCode": "sample string 2"
}
],
"Passengers": {
"50defd29-9d8b-46a0-8caa-7f820f8e4f62": "sample string 2",
"a978760d-ec03-42c6-8877-660d3aba5bd5": "sample string 4"
}
}
Response Information
Resource Description
订单黑屏PNR创建操作
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPnrCreateResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseOrderNumber |
采购订单号 |
string |
Required String length: inclusive between 0 and 50 |
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PurchaseOrderNumber": "sample string 1",
"Succeed": true,
"Message": "sample string 3"
}