PUT api/OrderPassenger/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

OrderPassenger
NameDescriptionTypeAdditional information
OrderRoom_Id

integer

None.

passengerType

string

None.

fnamefa

string

None.

lnamefa

string

None.

fnameen

string

None.

lnameen

string

None.

passengerCode

string

None.

NationalityCode

string

None.

PassportNumber

string

None.

NationalCode

string

None.

expdate

string

None.

birthday

string

None.

Gender

boolean

None.

nationality

integer

None.

OrderRoom

OrderRoom

None.

Id

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ArNikAPI.DomainClasses.Security.User'. Path 'OrderRoom.Order.User.Roles[0].Users'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ArNikAPI.DomainClasses.Security.User'. Path 'OrderRoom.Order.User.Roles[0].Users'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'ArNikAPI.DomainClasses.Orders.Order' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'ArNikAPI.DomainClasses.Orders.Order' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderPassenger'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.