POST Api/Service/Order/UpdateTicketNumber

更新票号

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.UpdateTicketNumberModel
NameDescriptionTypeAdditional information
ID

设置ID

globally unique identifier

None.

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:
{
  "ID": "6279a7a2-325e-4ccd-8abf-a8a7fef26ef4",
  "PassengerId": "6479fd37-5c60-473f-ad7f-2217267c0b49",
  "TicketNumber": "sample string 3",
  "Posted": true,
  "Remarks": "sample string 5"
}

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"
}