POST API/JobTrak/UpdateTradeAssetProperty
Update a collection of trade asset's associated property by property code
Request Information
URI Parameters
None.
Body Parameters
Trade asset property collection
Collection of TradeAssetProperty| Name | Description | Type | Additional information |
|---|---|---|---|
| WasteCustomerAssetID |
Unique Identifier (used in trade import and updater) |
integer |
None. |
| PropertyCode |
Property code of associated property |
string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"WasteCustomerAssetID": 1,
"PropertyCode": "sample string 2"
},
{
"WasteCustomerAssetID": 1,
"PropertyCode": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfTradeAssetProperty xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TradeAssetProperty>
<WasteCustomerAssetID>1</WasteCustomerAssetID>
<PropertyCode>sample string 2</PropertyCode>
</TradeAssetProperty>
<TradeAssetProperty>
<WasteCustomerAssetID>1</WasteCustomerAssetID>
<PropertyCode>sample string 2</PropertyCode>
</TradeAssetProperty>
</ArrayOfTradeAssetProperty>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response from server
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.