POST Api/Service/Order/AddTicketNumbers

添加票号

Request Information

URI Parameters

None.

Body Parameters

设置参数

Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddTicketNumberModel
NameDescriptionTypeAdditional 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": "f199d938-1719-4ece-993b-9abba3a7a8df",
    "TicketNumber": "sample string 2",
    "Posted": true,
    "Remarks": "sample string 4"
  },
  {
    "PassengerId": "f199d938-1719-4ece-993b-9abba3a7a8df",
    "TicketNumber": "sample string 2",
    "Posted": true,
    "Remarks": "sample string 4"
  }
]

Response Information

Resource Description

添加票号

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}