POST public-api/transactions/dispose
This method disposes the assets that are passed in, both Fixed and Inventory assets. For disposing Fixed Assets, you don’t need to provide the Location or Quantity fields. The UniqueRecordIdentifier is for the client to provide the service with a unique id, that way if the service returns an error, it can associate that error with the UniqueRecordIdentifier (if one is provided) (for example, so you can show the error message on the correct “row” of the grid). Requires the Allow Audit permission, enforces Role Site and Asset Type security Accepts a maximum of 500 records at a time
Request Information
URI Parameters
None.
Body Parameters
AssetDisposeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DisposeReason | string |
None. |
|
| TransactionDate | date |
None. |
|
| RecordSource | string |
None. |
|
| Note | string |
None. |
|
| Assets | Collection of AssetsToDispose |
None. |
Request Formats
application/json
Sample:
{
"DisposeReason": "sample string 1",
"TransactionDate": "2026-09-09T12:34:05.4749676+00:00",
"RecordSource": "sample string 2",
"Note": "sample string 3",
"Assets": [
{
"AssetTag": "sample string 1",
"SiteName": "sample string 2",
"LocationCode": "sample string 3",
"GroupTag": "sample string 4",
"Quantity": 1.0
},
{
"AssetTag": "sample string 1",
"SiteName": "sample string 2",
"LocationCode": "sample string 3",
"GroupTag": "sample string 4",
"Quantity": 1.0
}
]
}
Response Information
Resource Description
WaspResultOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | integer |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": 1,
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}