GET API/JobTrak/GetCustomerBins?customerAccountNumber={customerAccountNumber}
Get a list of trade customer assets
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerAccountNumber |
Customer Account Number |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Active customer assets
Collection of TradeCustomerAsset| Name | Description | Type | Additional information |
|---|---|---|---|
| WasteCustomerID |
Internal customer ID |
integer |
None. |
| CustomerAccountNumber |
Customer Account Number |
string |
None. |
| PropertyName |
Name of property bin is tied to |
string |
None. |
| PostCode |
Post code bin is tied to |
string |
None. |
| BinType |
Bin Type |
string |
None. |
| BinTag |
Bin Tag (If applicable) |
string |
None. |
| WasteType |
Waste Type |
string |
None. |
| WasteCustomerAssetID |
Unique Identifier (used in trade import and updater) |
integer |
None. |
| PropertyCode |
Property code of associated property |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WasteCustomerID": 1,
"CustomerAccountNumber": "sample string 2",
"PropertyName": "sample string 3",
"PostCode": "sample string 4",
"BinType": "sample string 5",
"BinTag": "sample string 6",
"WasteType": "sample string 7",
"WasteCustomerAssetID": 8,
"PropertyCode": "sample string 9"
},
{
"WasteCustomerID": 1,
"CustomerAccountNumber": "sample string 2",
"PropertyName": "sample string 3",
"PostCode": "sample string 4",
"BinType": "sample string 5",
"BinTag": "sample string 6",
"WasteType": "sample string 7",
"WasteCustomerAssetID": 8,
"PropertyCode": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfTradeCustomerAsset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TradeCustomerAsset>
<WasteCustomerAssetID>8</WasteCustomerAssetID>
<PropertyCode>sample string 9</PropertyCode>
<CustomerAccountNumber>sample string 2</CustomerAccountNumber>
<PropertyName>sample string 3</PropertyName>
<PostCode>sample string 4</PostCode>
<BinType>sample string 5</BinType>
<BinTag>sample string 6</BinTag>
<WasteType>sample string 7</WasteType>
<WasteCustomerID>1</WasteCustomerID>
</TradeCustomerAsset>
<TradeCustomerAsset>
<WasteCustomerAssetID>8</WasteCustomerAssetID>
<PropertyCode>sample string 9</PropertyCode>
<CustomerAccountNumber>sample string 2</CustomerAccountNumber>
<PropertyName>sample string 3</PropertyName>
<PostCode>sample string 4</PostCode>
<BinType>sample string 5</BinType>
<BinTag>sample string 6</BinTag>
<WasteType>sample string 7</WasteType>
<WasteCustomerID>1</WasteCustomerID>
</TradeCustomerAsset>
</ArrayOfTradeCustomerAsset>