WS_OnlineBin


Click here for a complete list of operations.

ProcessInvoiceOrder

Process Invoice Order Customer Number Site number Company Code [2 characters] Zone firstName lastName phone email siteName latitude longitude address1 address2 City State Zip/Postal Code Mailing Address 1 Mailing Address 2 Mailing City Mailing State Mailing Postal Code Site Note Service ID Drop Off Date Pickup Date Material ID Activity ID - Assign Activity ID - Unassign Payment Amount Service Quantity Work Order Message Returns Online Bin Order ID

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

<?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>
    <ProcessInvoiceOrder xmlns="http://www.trux.com/">
      <customerNumber>int</customerNumber>
      <siteNumber>int</siteNumber>
      <companyCode>string</companyCode>
      <zone>string</zone>
      <firstName>string</firstName>
      <lastName>string</lastName>
      <phone>string</phone>
      <email>string</email>
      <siteName>string</siteName>
      <latitude>double</latitude>
      <longitude>double</longitude>
      <address1>string</address1>
      <address2>string</address2>
      <city>string</city>
      <state>string</state>
      <pzip>string</pzip>
      <mailingaddress1>string</mailingaddress1>
      <mailingaddress2>string</mailingaddress2>
      <mailingcity>string</mailingcity>
      <mailingstate>string</mailingstate>
      <mailingpzip>string</mailingpzip>
      <sitenote>string</sitenote>
      <serviceId>int</serviceId>
      <dropOffDate>dateTime</dropOffDate>
      <pickupDate>dateTime</pickupDate>
      <materialId>int</materialId>
      <activityId_A>int</activityId_A>
      <activityId_U>int</activityId_U>
      <paymentAmount>decimal</paymentAmount>
      <serviceQuantity>int</serviceQuantity>
      <workOrderMessage>string</workOrderMessage>
    </ProcessInvoiceOrder>
  </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>
    <ProcessInvoiceOrderResponse xmlns="http://www.trux.com/">
      <ProcessInvoiceOrderResult>int</ProcessInvoiceOrderResult>
    </ProcessInvoiceOrderResponse>
  </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_OnlineBin/WS_OnlineBin.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>
    <ProcessInvoiceOrder xmlns="http://www.trux.com/">
      <customerNumber>int</customerNumber>
      <siteNumber>int</siteNumber>
      <companyCode>string</companyCode>
      <zone>string</zone>
      <firstName>string</firstName>
      <lastName>string</lastName>
      <phone>string</phone>
      <email>string</email>
      <siteName>string</siteName>
      <latitude>double</latitude>
      <longitude>double</longitude>
      <address1>string</address1>
      <address2>string</address2>
      <city>string</city>
      <state>string</state>
      <pzip>string</pzip>
      <mailingaddress1>string</mailingaddress1>
      <mailingaddress2>string</mailingaddress2>
      <mailingcity>string</mailingcity>
      <mailingstate>string</mailingstate>
      <mailingpzip>string</mailingpzip>
      <sitenote>string</sitenote>
      <serviceId>int</serviceId>
      <dropOffDate>dateTime</dropOffDate>
      <pickupDate>dateTime</pickupDate>
      <materialId>int</materialId>
      <activityId_A>int</activityId_A>
      <activityId_U>int</activityId_U>
      <paymentAmount>decimal</paymentAmount>
      <serviceQuantity>int</serviceQuantity>
      <workOrderMessage>string</workOrderMessage>
    </ProcessInvoiceOrder>
  </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>
    <ProcessInvoiceOrderResponse xmlns="http://www.trux.com/">
      <ProcessInvoiceOrderResult>int</ProcessInvoiceOrderResult>
    </ProcessInvoiceOrderResponse>
  </soap12:Body>
</soap12:Envelope>