POST Api/Service/Order/UpdateOPassenger
更新订单乘机人项
Request Information
URI Parameters
None.
Body Parameters
乘客内容
SpeedPower.Utility.Models.Project.Orders.Service.UpdateOPassengerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
设置ID |
globally unique identifier |
None. |
| OrderId |
父级ID |
globally unique identifier |
None. |
| Name |
乘客姓名 |
string |
Required String length: inclusive between 0 and 128 |
| Birthday |
出生日期(可为空) |
date |
None. |
| CardType |
证件类型 |
SpeedPower.Utility.Models.Service.Eterms.Enums.PassengerCardType |
None. |
| CardNo |
证件号 |
string |
Required String length: inclusive between 0 and 50 |
| SexType |
乘客性别 |
SpeedPower.Utility.Models.Service.Eterms.Enums.PassengerSexType |
None. |
| PassengerType |
乘客类型 |
SpeedPower.Utility.Models.Service.Eterms.Enums.PassengerType |
None. |
| ContactPhone |
联系电话 |
string |
String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"ID": "63f820c3-44b4-4da1-a97e-b8b8d3740abf",
"OrderId": "35496ae1-d7ec-4b79-b93d-54e111e02292",
"Name": "sample string 3",
"Birthday": "2025-12-18T09:52:13.9639301+08:00",
"CardType": 0,
"CardNo": "sample string 4",
"SexType": 0,
"PassengerType": 0,
"ContactPhone": "sample string 5"
}
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"
}