ECommerceCreditGateway
Click here for a complete list of operations.
GetRentalValues
Consente di ricevere i costi del noleggio di un determinato carrello beni.
riceve carrello dei beni selezionati dall’utente
ritorna i costi del noleggio inclusi di spese d’istruttoria, costo di assicurazione, durate possibili e rispettivi canoni.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ECommerceCreditGateway.asmx HTTP/1.1 Host: 217.18.125.15 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetRentalValues" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetRentalValues xmlns="http://tempuri.org/"> <objGET_RENTAL_VALUES_REQUEST> <AssetList> <Asset> <Code>string</Code> <Amount>decimal</Amount> <Description>string</Description> <ExternalCode>string</ExternalCode> </Asset> <Asset> <Code>string</Code> <Amount>decimal</Amount> <Description>string</Description> <ExternalCode>string</ExternalCode> </Asset> </AssetList> <VatIncluded>boolean</VatIncluded> </objGET_RENTAL_VALUES_REQUEST> </GetRentalValues> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetRentalValuesResponse xmlns="http://tempuri.org/"> <GetRentalValuesResult> <InstallmentList> <Installment> <Duration>int</Duration> <Amount>decimal</Amount> <Rate>decimal</Rate> <ProductCode>string</ProductCode> <AgreementCode>string</AgreementCode> <AssetsWithFees xsi:nil="true" /> </Installment> <Installment> <Duration>int</Duration> <Amount>decimal</Amount> <Rate>decimal</Rate> <ProductCode>string</ProductCode> <AgreementCode>string</AgreementCode> <AssetsWithFees xsi:nil="true" /> </Installment> </InstallmentList> <InsuranceCost>decimal</InsuranceCost> <InitialPayment>decimal</InitialPayment> <Commission>decimal</Commission> <ErrorList> <Error> <Code>string</Code> <Description>string</Description> </Error> <Error> <Code>string</Code> <Description>string</Description> </Error> </ErrorList> <HasError>boolean</HasError> </GetRentalValuesResult> </GetRentalValuesResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ECommerceCreditGateway.asmx HTTP/1.1 Host: 217.18.125.15 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetRentalValues xmlns="http://tempuri.org/"> <objGET_RENTAL_VALUES_REQUEST> <AssetList> <Asset> <Code>string</Code> <Amount>decimal</Amount> <Description>string</Description> <ExternalCode>string</ExternalCode> </Asset> <Asset> <Code>string</Code> <Amount>decimal</Amount> <Description>string</Description> <ExternalCode>string</ExternalCode> </Asset> </AssetList> <VatIncluded>boolean</VatIncluded> </objGET_RENTAL_VALUES_REQUEST> </GetRentalValues> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetRentalValuesResponse xmlns="http://tempuri.org/"> <GetRentalValuesResult> <InstallmentList> <Installment> <Duration>int</Duration> <Amount>decimal</Amount> <Rate>decimal</Rate> <ProductCode>string</ProductCode> <AgreementCode>string</AgreementCode> <AssetsWithFees xsi:nil="true" /> </Installment> <Installment> <Duration>int</Duration> <Amount>decimal</Amount> <Rate>decimal</Rate> <ProductCode>string</ProductCode> <AgreementCode>string</AgreementCode> <AssetsWithFees xsi:nil="true" /> </Installment> </InstallmentList> <InsuranceCost>decimal</InsuranceCost> <InitialPayment>decimal</InitialPayment> <Commission>decimal</Commission> <ErrorList> <Error> <Code>string</Code> <Description>string</Description> </Error> <Error> <Code>string</Code> <Description>string</Description> </Error> </ErrorList> <HasError>boolean</HasError> </GetRentalValuesResult> </GetRentalValuesResponse> </soap12:Body> </soap12:Envelope>