POST api/invoice/tourGroup/contact/update/{docno}
旅行团乘客资料修改
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
docno | string |
Required |
Body Parameters
TourGroupContactReqContractName | Description | Type | Additional information |
---|---|---|---|
docno | string |
None. |
|
submitType |
提交方式(1.保存,2.提交) |
integer |
None. |
contacts |
联系人 |
Collection of TourGroupContactItemReqContract |
None. |
emercontact |
紧急联系人 |
TourGroupEmerContactReqContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "docno": "sample string 1", "submitType": 2, "contacts": [ { "docnoseqno": 1, "firstname": "sample string 2", "lastname": "sample string 3", "birthday": "2024-12-23T19:33:29.0926792+08:00", "chinesename": "sample string 4", "prefix": "sample string 5", "gender": 1, "passporttype": 1, "passportnumber": "sample string 6", "passportexpire": "2024-12-23T19:33:29.0926792+08:00", "remark": "sample string 7", "email": "sample string 8", "telcountry": "sample string 9", "phone": "sample string 10", "tel": "sample string 11" }, { "docnoseqno": 1, "firstname": "sample string 2", "lastname": "sample string 3", "birthday": "2024-12-23T19:33:29.0926792+08:00", "chinesename": "sample string 4", "prefix": "sample string 5", "gender": 1, "passporttype": 1, "passportnumber": "sample string 6", "passportexpire": "2024-12-23T19:33:29.0926792+08:00", "remark": "sample string 7", "email": "sample string 8", "telcountry": "sample string 9", "phone": "sample string 10", "tel": "sample string 11" } ], "emercontact": { "surname": "sample string 1", "givenname": "sample string 2", "prefix": "sample string 3", "telcode": "sample string 4", "telnumber": "sample string 5", "email": "sample string 6", "nationality": "sample string 7", "nationalitycode": "sample string 8" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
旅行团乘客资料修改
ReturnResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2" }