PUT api/ticket/passenger/{ticketId}
Switches Ticket Holder in the database
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketId |
Ticket ID |
integer |
Required |
Body Parameters
Passenger Object from UI
Passenger| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Surname | string |
None. |
|
| NIF | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Surname": "sample string 3",
"NIF": "sample string 4"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Action Result
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.