POST api/ReservationsOfCustomer
Request Information
URI Parameters
None.
Body Parameters
UserInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | integer |
None. |
|
| language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userID": 1,
"language": "sample string 2"
}
application/xml, text/xml
Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Controllers"> <language>sample string 2</language> <userID>1</userID> </UserInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| StatusMessage | string |
None. |
|
| ErrorType | string |
None. |
|
| ObjectList | Object |
None. |
|
| ObjectList2 | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"StatusMessage": "sample string 2",
"ErrorType": "sample string 3",
"ObjectList": {},
"ObjectList2": {}
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models"> <ErrorType>sample string 3</ErrorType> <ObjectList /> <ObjectList2 /> <StatusCode>1</StatusCode> <StatusMessage>sample string 2</StatusMessage> </ServiceResponse>