GetData


Click here for a complete list of operations.

InsertNewDealer

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 /getData.asmx HTTP/1.1
Host: api.coverking.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://coverkingprod.cloudapp.net/InsertNewDealer"

<?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>
    <InsertNewDealer xmlns="http://coverkingprod.cloudapp.net/">
      <Dealer>
        <DealerID>string</DealerID>
        <DealerName>string</DealerName>
        <Contact>string</Contact>
        <address>string</address>
        <city>string</city>
        <state>string</state>
        <zip>string</zip>
        <phone>string</phone>
        <fax>string</fax>
        <email>string</email>
        <Add_Percent>decimal</Add_Percent>
        <Add_Lumpsum>decimal</Add_Lumpsum>
        <Tstamp_DLM>dateTime</Tstamp_DLM>
        <FromURL>string</FromURL>
        <ToURL>string</ToURL>
        <sid>string</sid>
        <Session_Var>string</Session_Var>
        <CK_ItemID_Var>string</CK_ItemID_Var>
        <Dealer_ItemID_Var>string</Dealer_ItemID_Var>
        <Item_Descr_Var>string</Item_Descr_Var>
        <Price_Var>string</Price_Var>
        <Product_SKU_Var>string</Product_SKU_Var>
        <Quantity_Var>string</Quantity_Var>
        <Header_address>string</Header_address>
        <Footer_address>string</Footer_address>
        <Custom_Name_2>string</Custom_Name_2>
        <Custom_Name_3>string</Custom_Name_3>
      </Dealer>
    </InsertNewDealer>
  </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>
    <InsertNewDealerResponse xmlns="http://coverkingprod.cloudapp.net/">
      <InsertNewDealerResult>int</InsertNewDealerResult>
    </InsertNewDealerResponse>
  </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 /getData.asmx HTTP/1.1
Host: api.coverking.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>
    <InsertNewDealer xmlns="http://coverkingprod.cloudapp.net/">
      <Dealer>
        <DealerID>string</DealerID>
        <DealerName>string</DealerName>
        <Contact>string</Contact>
        <address>string</address>
        <city>string</city>
        <state>string</state>
        <zip>string</zip>
        <phone>string</phone>
        <fax>string</fax>
        <email>string</email>
        <Add_Percent>decimal</Add_Percent>
        <Add_Lumpsum>decimal</Add_Lumpsum>
        <Tstamp_DLM>dateTime</Tstamp_DLM>
        <FromURL>string</FromURL>
        <ToURL>string</ToURL>
        <sid>string</sid>
        <Session_Var>string</Session_Var>
        <CK_ItemID_Var>string</CK_ItemID_Var>
        <Dealer_ItemID_Var>string</Dealer_ItemID_Var>
        <Item_Descr_Var>string</Item_Descr_Var>
        <Price_Var>string</Price_Var>
        <Product_SKU_Var>string</Product_SKU_Var>
        <Quantity_Var>string</Quantity_Var>
        <Header_address>string</Header_address>
        <Footer_address>string</Footer_address>
        <Custom_Name_2>string</Custom_Name_2>
        <Custom_Name_3>string</Custom_Name_3>
      </Dealer>
    </InsertNewDealer>
  </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>
    <InsertNewDealerResponse xmlns="http://coverkingprod.cloudapp.net/">
      <InsertNewDealerResult>int</InsertNewDealerResult>
    </InsertNewDealerResponse>
  </soap12:Body>
</soap12:Envelope>