POST api/Installment
Request Information
URI Parameters
None.
Body Parameters
Installments| Name | Description | Type | Additional information |
|---|---|---|---|
| binNumber | string |
None. |
|
| price | decimal number |
None. |
|
| language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"binNumber": "sample string 1",
"price": 2.1,
"language": "sample string 3"
}
application/xml, text/xml
Sample:
<ReceivingParameters.Installments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models"> <binNumber>sample string 1</binNumber> <language>sample string 3</language> <price>2.1</price> </ReceivingParameters.Installments>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReturningParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | string |
None. |
|
| ObjectList |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"ErrorMessage": "sample string 2",
"ErrorType": "sample string 3",
"ObjectList": {}
}
application/xml, text/xml
Sample:
<ReturningParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models"> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>sample string 3</ErrorType> <ObjectList /> </ReturningParameters>