POST Api/Service/Order/AddTicketNumbers
添加票号
Request Information
URI Parameters
None.
Body Parameters
设置参数
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddTicketNumberModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PassengerId |
父级ID |
globally unique identifier |
None. |
| TicketNumber |
票号 |
string |
Required String length: inclusive between 0 and 20 |
| Posted |
是否已回贴 |
boolean |
None. |
| Remarks |
备注内容 |
string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
[
{
"PassengerId": "11db64dd-ac26-4378-8232-7ee6f87cd9ec",
"TicketNumber": "sample string 2",
"Posted": true,
"Remarks": "sample string 4"
},
{
"PassengerId": "11db64dd-ac26-4378-8232-7ee6f87cd9ec",
"TicketNumber": "sample string 2",
"Posted": true,
"Remarks": "sample string 4"
}
]
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"
}