POST public-api/transactions/public/asset/move

This method moves the assets that are passed in, both Fixed and Inventory assets. For moving Fixed Assets, you don’t need to provide the from location or quantity fields. Requires the Allow Move permission, enforces Role Site and Asset Type security Accepts a maximum of 500 records at a time



Request Information

URI Parameters

None.

Body Parameters

Collection of AssetMoveModel
NameDescriptionTypeAdditional information
AssetTag

string

None.

FromSiteName

string

None.

FromLocationCode

string

None.

FromGroupTag

string

None.

ToSiteName

string

None.

ToLocationCode

string

None.

ToGroupTag

string

None.

Quantity

decimal number

None.

RecordSource

string

None.

Note

string

None.

Condition

string

None.

Request Formats

application/json

Sample:
[
  {
    "AssetTag": "sample string 1",
    "FromSiteName": "sample string 2",
    "FromLocationCode": "sample string 3",
    "FromGroupTag": "sample string 4",
    "ToSiteName": "sample string 5",
    "ToLocationCode": "sample string 6",
    "ToGroupTag": "sample string 7",
    "Quantity": 1.0,
    "RecordSource": "sample string 8",
    "Note": "sample string 9",
    "Condition": "sample string 10"
  },
  {
    "AssetTag": "sample string 1",
    "FromSiteName": "sample string 2",
    "FromLocationCode": "sample string 3",
    "FromGroupTag": "sample string 4",
    "ToSiteName": "sample string 5",
    "ToLocationCode": "sample string 6",
    "ToGroupTag": "sample string 7",
    "Quantity": 1.0,
    "RecordSource": "sample string 8",
    "Note": "sample string 9",
    "Condition": "sample string 10"
  }
]



Response Information

Resource Description

WaspResultOfListOfInt32
NameDescriptionTypeAdditional information
Data

Collection of 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,
    2
  ],
  "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
}