ContractService
Click here for a complete list of operations.
ValidateCancelContract
Validates a contracts ability to be canceled.
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 /scs.express.webservice/contractservice.asmx HTTP/1.1
Host: www.scsautoexpress.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ContractService/ValidateCancelContract"
<?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>
<ValidateCancelContract xmlns="http://tempuri.org/ContractService/">
<request>
<CancelQuoteId>int</CancelQuoteId>
<ContractNumber>string</ContractNumber>
<DealerNumber>string</DealerNumber>
<CancellationOdometer>int</CancellationOdometer>
<CancelationDate>dateTime</CancelationDate>
<CancellationReason>string</CancellationReason>
<CancelRefundPayeeType>string</CancelRefundPayeeType>
<CancelCalcBasis>string</CancelCalcBasis>
<IsVisible>boolean</IsVisible>
</request>
</ValidateCancelContract>
</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>
<ValidateCancelContractResponse xmlns="http://tempuri.org/ContractService/">
<ValidateCancelContractResult>
<CancelQuoteId>int</CancelQuoteId>
<Request>
<CancelQuoteId>int</CancelQuoteId>
<ContractNumber>string</ContractNumber>
<DealerNumber>string</DealerNumber>
<CancellationOdometer>int</CancellationOdometer>
<CancelationDate>dateTime</CancelationDate>
<CancellationReason>string</CancellationReason>
<CancelRefundPayeeType>string</CancelRefundPayeeType>
<CancelCalcBasis>string</CancelCalcBasis>
<IsVisible>boolean</IsVisible>
</Request>
<RetailCost>decimal</RetailCost>
<NetCost>decimal</NetCost>
<NonRefundablefee>decimal</NonRefundablefee>
<CancelFee>decimal</CancelFee>
<NetRefundfromAdmin>decimal</NetRefundfromAdmin>
<RefundfromSeller>decimal</RefundfromSeller>
<CancelRefundAmount>decimal</CancelRefundAmount>
<CancelFactorTermPercent>decimal</CancelFactorTermPercent>
<CancelFactorMileagePercent>decimal</CancelFactorMileagePercent>
<CancelFactorPercent>decimal</CancelFactorPercent>
<CalculationMethod>string</CalculationMethod>
<CalculationMethodCode>string</CalculationMethodCode>
<ContractCancellationDate>dateTime</ContractCancellationDate>
<CancellationPaymentDate>dateTime</CancellationPaymentDate>
<CancellationPayee>string</CancellationPayee>
<NonRefundableCommission>decimal</NonRefundableCommission>
<NonRefundableCommissionCustomer>decimal</NonRefundableCommissionCustomer>
<CancellationRequestedFrom>string</CancellationRequestedFrom>
<CancellationRequestedBy>string</CancellationRequestedBy>
<CancellationProcessedFrom>string</CancellationProcessedFrom>
<CancellationProcessedBy>string</CancellationProcessedBy>
</ValidateCancelContractResult>
</ValidateCancelContractResponse>
</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 /scs.express.webservice/contractservice.asmx HTTP/1.1
Host: www.scsautoexpress.com
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>
<ValidateCancelContract xmlns="http://tempuri.org/ContractService/">
<request>
<CancelQuoteId>int</CancelQuoteId>
<ContractNumber>string</ContractNumber>
<DealerNumber>string</DealerNumber>
<CancellationOdometer>int</CancellationOdometer>
<CancelationDate>dateTime</CancelationDate>
<CancellationReason>string</CancellationReason>
<CancelRefundPayeeType>string</CancelRefundPayeeType>
<CancelCalcBasis>string</CancelCalcBasis>
<IsVisible>boolean</IsVisible>
</request>
</ValidateCancelContract>
</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>
<ValidateCancelContractResponse xmlns="http://tempuri.org/ContractService/">
<ValidateCancelContractResult>
<CancelQuoteId>int</CancelQuoteId>
<Request>
<CancelQuoteId>int</CancelQuoteId>
<ContractNumber>string</ContractNumber>
<DealerNumber>string</DealerNumber>
<CancellationOdometer>int</CancellationOdometer>
<CancelationDate>dateTime</CancelationDate>
<CancellationReason>string</CancellationReason>
<CancelRefundPayeeType>string</CancelRefundPayeeType>
<CancelCalcBasis>string</CancelCalcBasis>
<IsVisible>boolean</IsVisible>
</Request>
<RetailCost>decimal</RetailCost>
<NetCost>decimal</NetCost>
<NonRefundablefee>decimal</NonRefundablefee>
<CancelFee>decimal</CancelFee>
<NetRefundfromAdmin>decimal</NetRefundfromAdmin>
<RefundfromSeller>decimal</RefundfromSeller>
<CancelRefundAmount>decimal</CancelRefundAmount>
<CancelFactorTermPercent>decimal</CancelFactorTermPercent>
<CancelFactorMileagePercent>decimal</CancelFactorMileagePercent>
<CancelFactorPercent>decimal</CancelFactorPercent>
<CalculationMethod>string</CalculationMethod>
<CalculationMethodCode>string</CalculationMethodCode>
<ContractCancellationDate>dateTime</ContractCancellationDate>
<CancellationPaymentDate>dateTime</CancellationPaymentDate>
<CancellationPayee>string</CancellationPayee>
<NonRefundableCommission>decimal</NonRefundableCommission>
<NonRefundableCommissionCustomer>decimal</NonRefundableCommissionCustomer>
<CancellationRequestedFrom>string</CancellationRequestedFrom>
<CancellationRequestedBy>string</CancellationRequestedBy>
<CancellationProcessedFrom>string</CancellationProcessedFrom>
<CancellationProcessedBy>string</CancellationProcessedBy>
</ValidateCancelContractResult>
</ValidateCancelContractResponse>
</soap12:Body>
</soap12:Envelope>