ContractExchange


Click here for a complete list of operations.

SendDealerData

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 /VPP/ContractExchange.asmx HTTP/1.1
Host: gmwstest.sppinc.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "SPP.net/ContractData/SendDealerData"

<?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>
    <AuthTokenHeader xmlns="SPP.net/ContractData">
      <Token>string</Token>
    </AuthTokenHeader>
  </soap:Header>
  <soap:Body>
    <SendDealerData xmlns="SPP.net/ContractData">
      <dealer>
        <DealerCode>string</DealerCode>
        <DealerName>string</DealerName>
        <Addr1>string</Addr1>
        <Addr2>string</Addr2>
        <City>string</City>
        <StateProvinceAbbr />
        <ZipCode>string</ZipCode>
        <Country>USA or Canada</Country>
        <Phone>string</Phone>
        <Extension>string</Extension>
        <Email>string</Email>
      </dealer>
    </SendDealerData>
  </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>
    <SendDealerDataResponse xmlns="SPP.net/ContractData">
      <SendDealerDataResult>
        <responseCode>Unknown or Failure or Success or Incomplete</responseCode>
        <transactionID>long</transactionID>
        <ErrorCode>int</ErrorCode>
        <paymentLink>string</paymentLink>
        <paymenLinkExpirationDate>string</paymenLinkExpirationDate>
      </SendDealerDataResult>
    </SendDealerDataResponse>
  </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 /VPP/ContractExchange.asmx HTTP/1.1
Host: gmwstest.sppinc.net
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:Header>
    <AuthTokenHeader xmlns="SPP.net/ContractData">
      <Token>string</Token>
    </AuthTokenHeader>
  </soap12:Header>
  <soap12:Body>
    <SendDealerData xmlns="SPP.net/ContractData">
      <dealer>
        <DealerCode>string</DealerCode>
        <DealerName>string</DealerName>
        <Addr1>string</Addr1>
        <Addr2>string</Addr2>
        <City>string</City>
        <StateProvinceAbbr />
        <ZipCode>string</ZipCode>
        <Country>USA or Canada</Country>
        <Phone>string</Phone>
        <Extension>string</Extension>
        <Email>string</Email>
      </dealer>
    </SendDealerData>
  </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>
    <SendDealerDataResponse xmlns="SPP.net/ContractData">
      <SendDealerDataResult>
        <responseCode>Unknown or Failure or Success or Incomplete</responseCode>
        <transactionID>long</transactionID>
        <ErrorCode>int</ErrorCode>
        <paymentLink>string</paymentLink>
        <paymenLinkExpirationDate>string</paymenLinkExpirationDate>
      </SendDealerDataResult>
    </SendDealerDataResponse>
  </soap12:Body>
</soap12:Envelope>