WS_CreateSite


Click here for a complete list of operations.

UpdateSiteForCompByTable

Update Site Information CM04_NOT2Note 2 [Max 500 characters] CM04_PRT2Note 2 Print [bit '0' = Does Not Print, '1' = Print] CM04_MAPMap Code [Max 3 characters] CM04_MCOLMap Column Number [int 1 to 26] CM04_MROWMap Row Number [Max 1 characters'A' to 'Z') CM04_MCARMailing Delivery/Carrier [Max 4 characters Delivery and 2 characters Carrier] CM04_MNAMMailing Name [Max 40 characters] CM04_MAD1Mailing Address Line 1 [Max 40 characters] CM04_MAD2Mailing Address Line 2 [Max 40 characters] CM04_MAD3Mailing Address Line 3 [Max 40 characters] CM04_MAD4Mailing Address Line 4 [Max 40 characters] CM04_MCITMailing City [Max 40 characters] CM04_MSTAMailing State/Province [Max 2 characters] CM04_MPZIMailing Postal/Zip Code [Max 9 characters] CM04_TXJUTax Jurisdiction [2 characters] CM04_TXE1Tax Exempt License 1 [Max 15 characters] CM04_TXE2Tax Exempt License 2 [Max 15 characters] CM04_EDTEClosed Date [smalldatetime] CM04_CREDCredit Limit [decimal(18,2)] CM04_WARNCredit Warning [decimal(18,2)] CM04_AGREContract Number [Max 20 characters] CM04_LONGLongitude [decimal(18,6)] CM04_LATTLatitude [decimal(18,6)] CM04_SUSREASuspend Reason [2 characters] CM04_SUSDATESuspend Date [smalldatetime] CM04_CURRCurrency [int] CM04_INVNOTEInvoice Note [[Max 500 characters]] CM04_INVNOTEEXPIRESInvoice Note Expiration Date [smalldatetime] CM04_FLD1Custom Field 1 [Max 50 characters] CM04_FLD2Custom Field 2 [Max 50 characters] CM04_FLD3Custom Field 3 [Max 50 characters] CM04_FLD4Custom Field 4 [Max 50 characters] CM04_FLD5Custom Field 5 [Max 50 characters] CM04_FLD6Custom Field 6 [Max 50 characters] CM04_FLD7Custom Field 7 [Max 50 characters] CM04_FLD8Custom Field 8 [Max 50 characters] CM04_FLD9Custom Field 9 [Max 50 characters] CM04_FLD10Custom Field 10 [Max 50 characters] CM04_PCLASSPrice Class ID [int] CM04_ADTEContract Date [smalldatetime] CM04_XDTEContract Expiration Date [smalldatetime] CM04_PONUMPurchase Order Number [Max 40 characters] CM04_CONTRACTSIGNEDContract Signed [bit '0' = Not Signed, '1' = Signed] CM04_EMAILEmail [Max 80 characters] CM04_STIMService Between Start Time [smalldatetime] CM04_ETIMService Between End Time [smalldatetime] CM04_SREPSales Representative [int] CM04_STOREDIDStore ID [Max 50 characters] CM04_WOCOPIESNumber of Work Order Copies to Print [int] CM04_CODCash On Demand [bit '0' = COD, '1' = Non COD] CM04_LOSTLost To [2 characters] CM04_INITIALTERMInitial Term [int] CM04_RENEWTERMRenewal Term [int] CM04_REINSDATEReinstate Date [smalldatetime] primaryContactNamePrimary Contact Name CC01_PHONContact Phone [Max 10 characters] CC01_MOBILEContact Mobile [Max 10 characters] CC01_EMAILContact Email [Max 80 characters] changeReasonSite Change log reason. [2 characters]

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 /TruxWeb/WSCust_CreateSite/WS_CreateSite.asmx HTTP/1.1
Host: payments.robinsonwasteservices.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.trux.com/UpdateSiteForCompByTable"

<?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>
    <Credentials xmlns="http://www.trux.com">
      <sAccountID>string</sAccountID>
      <sAuthCode>string</sAuthCode>
      <isAuthCodeEncrypted>boolean</isAuthCodeEncrypted>
      <areParametersEncrypted>boolean</areParametersEncrypted>
      <encryptedParameterNames>
        <string>string</string>
        <string>string</string>
      </encryptedParameterNames>
      <requireEncryptedResponse>boolean</requireEncryptedResponse>
      <encryptionMethod>string</encryptionMethod>
      <keyInfo>
        <encryptedKey>string</encryptedKey>
        <encryptionPublicKey>string</encryptionPublicKey>
      </keyInfo>
      <publicAuthKey>string</publicAuthKey>
    </Credentials>
  </soap:Header>
  <soap:Body>
    <UpdateSiteForCompByTable xmlns="http://www.trux.com">
      <sLoginComp>string</sLoginComp>
      <dtSite>xmlxml</dtSite>
    </UpdateSiteForCompByTable>
  </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>
    <UpdateSiteForCompByTableResponse xmlns="http://www.trux.com" />
  </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 /TruxWeb/WSCust_CreateSite/WS_CreateSite.asmx HTTP/1.1
Host: payments.robinsonwasteservices.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:Header>
    <Credentials xmlns="http://www.trux.com">
      <sAccountID>string</sAccountID>
      <sAuthCode>string</sAuthCode>
      <isAuthCodeEncrypted>boolean</isAuthCodeEncrypted>
      <areParametersEncrypted>boolean</areParametersEncrypted>
      <encryptedParameterNames>
        <string>string</string>
        <string>string</string>
      </encryptedParameterNames>
      <requireEncryptedResponse>boolean</requireEncryptedResponse>
      <encryptionMethod>string</encryptionMethod>
      <keyInfo>
        <encryptedKey>string</encryptedKey>
        <encryptionPublicKey>string</encryptionPublicKey>
      </keyInfo>
      <publicAuthKey>string</publicAuthKey>
    </Credentials>
  </soap12:Header>
  <soap12:Body>
    <UpdateSiteForCompByTable xmlns="http://www.trux.com">
      <sLoginComp>string</sLoginComp>
      <dtSite>xmlxml</dtSite>
    </UpdateSiteForCompByTable>
  </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>
    <UpdateSiteForCompByTableResponse xmlns="http://www.trux.com" />
  </soap12:Body>
</soap12:Envelope>