WS_Cust


Click here for a complete list of operations.

GetServiceList

Get Details for all active Services for specified Customer Number and Site Number Company Code [2 characters] Customer Number [10 digits, unpadded] Site Number [4 digits, unpadded] Returns Details for all Services for specified Customer Number and Site Number Field NameDescription CUSTCustomer Number [Max 10 characters] SITESite Number [Max 4 characters] SERVService Number [Max 3 characters] COMPACTCompacted Container ['0' = Non-Compacted , '1' = Compacted ] EXPIRYService Expiration Date SUSPENDService Suspend Date NAMEName ADDRESSAddress STOPPEDService Stopped ['0' = Not Stopped , '1' = Stopped] SUSPENDEDService Suspended ['0' = Not Suspended, '1' = Suspended] QTYQuantity SIZESize UOMUnit of Measure WEEKWeek Code [2 characters] SERVTYPEService Type [2 characters] WEEKCODEWeek Code [2 characters] MAXLIFTSMaximum Lifts STOPREASONStop Reason [2 characters] WEEKCODEDESCWeek Code Description CM05_CUSTCustomer Number [Max 10 characters] CM05_SITESite Number [Max 4 characters] CM05_SERVService Number [Max 3 characters] CM05_TYPEService Type [2 characters] CM05_SIZESize CM05_COMPCompacted Container ['0' = Non-Compacted , '1' = Compacted ] CM05_QTYQuantity CM05_SDTEStart Date CM05_WEEKWeek Code [2 characters] CM05_NOT1Note 1 CM05_PRT1Note 1 Print ['0' = Does Not Print, '1' = Print] CM05_NOT2Note 2 CM05_PRT2Note 2 Print ['0' = Does Not Print, '1' = Print] CM05_EDTEStop Date CM05_ECODStop Reason Code [2 characters] CM05_MAXLMaximum Lifts per Week CM05_CYCLBilling Cycle CM05_W_OPrint Work Order ['0' = Does Not Print, '1' = Print] CM05_BDTEStart Billing Date CM05_AVGTAverage Call Time CM05_COWNCustomer Owned ['0' = Not Owned, '1' = Owned] CM05_FLD1Custom Field 1 CM05_FLD2Custom Field 2 CM05_FLD3Custom Field 3 CM05_FLD4Custom Field 4 CM05_FLD5Custom Field 5 CM05_FLD6Custom Field 6 CM05_FLD7Custom Field 7 CM05_FLD8Custom Field 8 CM05_FLD9Custom Field 9 CM05_FLD10Custom Field 10 CM05_UOMUnit of Measure CM05_DRIVERNOTEDriver Note CM05_DRIVERNOTESTARTDriver Note Start Date CM05_DRIVERNOTEEXPIRESDriver Note Expiration CM05_AGREContract Number CM05_ADTEContract Start Date CM05_XDTEContract Expiration Date CM05_CONTRACTSIGNEDContract Signed ['0' = Not Signed, '1' = Signed] CM05_BILLTODTBill To Date CM05_POREQPurchase Order Required ['0' = PO Not Required, '1' = PO Required] CM05_PONUMPO Number CM05_LATTLatitude CM05_LONGLongitude CM05_DEMDAYSDemurrage Days CM05_DEMRATEDemurrage Daily Rate CM05_GDTEPrice Guarantee Date CM05_DEMDATEDemurrage Date CM05_DEMDATEOPrevious Demurrage Date CM05_REINSDATEReinstate Date CM05_LOSTLost To [2 characters CM05_INITIALTERMInitial Term CM05_RENEWTERMRenewal Term CD17_DESCBilling Cycle Description ScheduleSchedule Date

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sLoginComp:
sCust:
sSite:

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

<?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>
    <GetServiceList xmlns="http://www.trux.com/">
      <sLoginComp>string</sLoginComp>
      <sCust>string</sCust>
      <sSite>string</sSite>
    </GetServiceList>
  </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>
    <GetServiceListResponse xmlns="http://www.trux.com/">
      <GetServiceListResult>xmlxml</GetServiceListResult>
    </GetServiceListResponse>
  </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/WSCustomer_Cust/WS_Cust.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>
    <GetServiceList xmlns="http://www.trux.com/">
      <sLoginComp>string</sLoginComp>
      <sCust>string</sCust>
      <sSite>string</sSite>
    </GetServiceList>
  </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>
    <GetServiceListResponse xmlns="http://www.trux.com/">
      <GetServiceListResult>xmlxml</GetServiceListResult>
    </GetServiceListResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /TruxWeb/WSCustomer_Cust/WS_Cust.asmx/GetServiceList?sLoginComp=string&sCust=string&sSite=string HTTP/1.1
Host: payments.robinsonwasteservices.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataTable xmlns="http://www.trux.com/">xmlxml</DataTable>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /TruxWeb/WSCustomer_Cust/WS_Cust.asmx/GetServiceList HTTP/1.1
Host: payments.robinsonwasteservices.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sLoginComp=string&sCust=string&sSite=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataTable xmlns="http://www.trux.com/">xmlxml</DataTable>