POST api/ECommerceCreditGateway/GetRentalBestPriceValue
riceve in input una lista di asset e risponde per ognuno il valore del canone più conveniente.
Request Information
URI Parameters
None.
Body Parameters
GetRentalBestPriceValueModelName | Description | Type | Additional information |
---|---|---|---|
Login | string |
Required |
|
RentalAssetList | Collection of RentalAsset |
Required |
|
VatIncluded | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Login": "sample string 1", "RentalAssetList": [ { "CategoryCode": "sample string 1", "BrandCode": "sample string 2", "ModelCode": "sample string 3", "Amount": 4.0, "Description": "sample string 5", "ExternalCode": "sample string 6" }, { "CategoryCode": "sample string 1", "BrandCode": "sample string 2", "ModelCode": "sample string 3", "Amount": 4.0, "Description": "sample string 5", "ExternalCode": "sample string 6" } ], "VatIncluded": true }
application/xml, text/xml
Sample:
<GetRentalBestPriceValueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditGatewayBusiness"> <Login>sample string 1</Login> <RentalAssetList> <RentalAsset> <Amount>4</Amount> <BrandCode>sample string 2</BrandCode> <CategoryCode>sample string 1</CategoryCode> <Description>sample string 5</Description> <ExternalCode>sample string 6</ExternalCode> <ModelCode>sample string 3</ModelCode> </RentalAsset> <RentalAsset> <Amount>4</Amount> <BrandCode>sample string 2</BrandCode> <CategoryCode>sample string 1</CategoryCode> <Description>sample string 5</Description> <ExternalCode>sample string 6</ExternalCode> <ModelCode>sample string 3</ModelCode> </RentalAsset> </RentalAssetList> <VatIncluded>true</VatIncluded> </GetRentalBestPriceValueModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetRentalBestPriceValueResponseModelName | Description | Type | Additional information |
---|---|---|---|
RentalAssetList | Collection of RentalAssetResponseModel |
None. |
|
ErrorList | Collection of Error |
None. |
|
HasError | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.