GetWarrantiesByPO Input
<?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>
<GetWarrantiesByPO xmlns="http://www.cpscorporation.com/services/">
<PORequest>
<PO>string</PO>
<Authentication>
<DealerID>int</DealerID>
<DealerKey>string</DealerKey>
</Authentication>
</PORequest>
</GetWarrantiesByPO>
</soap:Body>
</soap:Envelope>
Argument |
Type |
Details |
PO |
String |
|
Authentication |
AuthenticationType |
|
Authentication.DealerID |
Int |
Your Dealer ID |
Authentication.DealerKey |
String |
Your Dealer Key |
GetWarrantiesByPO Output
<?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>
<GetWarrantiesByPOResponse xmlns="http://www.cpscorporation.com/services/">
<GetWarrantiesByPOResult>
<Errors>
<ErrorsType>
<ErrorID>int</ErrorID>
<ErrorMessage>string</ErrorMessage>
</ErrorsType>
</Errors>
<Warranty>
<WSWarrantyType>
<Id>int</Id>
<CategoryId>int</CategoryId>
<Description>string</Description>
<MinAmount>double</MinAmount>
<MaxAmount>double</MaxAmount>
<Model>string</Model>
<Price>double</Price>
<Serial>string</Serial>
<UPC>string</UPC>
<ExternalId>int</ExternalId>
<ProductInfo>
<Manufacturer>string</Manufacturer>
<Model>string</Model>
<Serial>string</Serial>
<Price>double</Price>
</ProductInfo>
</WSWarrantyType>
</Warranty>
</GetWarrantiesByPOResult>
</GetWarrantiesByPOResponse>
</soap12:Body>
</soap12:Envelope>
Argument |
Type |
Details |
Errors.ErrorsType |
ErrorsType (repeatable) |
|
Errors.ErrorsType.ErrorID |
Int |
Error Number |
Errors.ErrorsType.ErrorMessage |
String |
Detailed error message |
Warranty.WSWarrantyType |
WSWarrantyType (Repeatable) |
|
Warranty.WSWarrantyType.Id |
Int |
Unique identifier of warranty |
Warranty.WSWarrantyType.CategoryId |
Int |
Unique identifier of warranty's category |
Warranty.WSWarrantyType.Description |
String |
Warranty's description |
Warranty.WSWarrantyType.MinAmount |
double |
Minimum coverage amount of warranty |
Warranty.WSWarrantyType.MaxAmount |
double |
Maximum coverage amount of warranty |
Warranty.WSWarrantyType.Model |
String |
Model of warranty |
Warranty.WSWarrantyType.Price |
double |
Invoice price of warranty |
Warranty.WSWarrantyType.Serial |
String |
Warranty # issued |
Warranty.WSWarrantyType.UPC |
String |
Warranty's UPC code |
Warranty.WSWarrantyType.ProductInfo |
WSProductType |
|
Warranty.WSWarrantyType.ProductInfo.Manufacturer |
String |
Manufacturer of item covered |
Warranty.WSWarrantyType.ProductInfo.Model |
String |
Model of item covered |
Warranty.WSWarrantyType.ProductInfo.Serial |
String |
Serial # of item covered |
Warranty.WSWarrantyType.ProductInfo.Price |
double |
Purchase price of item covered |