CPP_SCORE_REQUEST
Click here for a complete list of operations.
Score_Request
Returns requested scores and pdf base64 encoded.
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /CppSoapRequests/CPPScoreRequest.asmx HTTP/1.1 Host: soap.cpp.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "www.cpp.com/Score_Request" <?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:Header> <Routing xmlns="www.cpp.com"> <Login>string</Login> <Password>string</Password> <ClientKey>string</ClientKey> <CustomerNumber>string</CustomerNumber> <ShipTo>int</ShipTo> <BillTo>int</BillTo> </Routing> </soap:Header> <soap:Body> <Score_Request xmlns="www.cpp.com"> <ScoreRequest> <requestorkey>long</requestorkey> <cppkey>long</cppkey> </ScoreRequest> </Score_Request> </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> <Score_RequestResponse xmlns="www.cpp.com"> <Score_RequestResult> <clientid>string</clientid> <userid>string</userid> <userpass>string</userpass> <cpp_key>long</cpp_key> <requestor_key>long</requestor_key> <statuscode>string</statuscode> <pdffile>base64Binary</pdffile> <report_scores> <scores scale="string" scorelength="string"> <score>double</score> <score>double</score> </scores> <scores scale="string" scorelength="string"> <score>double</score> <score>double</score> </scores> </report_scores> </Score_RequestResult> </Score_RequestResponse> </soap:Body> </soap:Envelope>