/api/v1/things/move/preview
POST
/api/v1/things/move/preview
const url = 'https://example.com/api/v1/things/move/preview';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"thingIds":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"to":{"placeId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/things/move/preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "thingIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "to": { "placeId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
crossLocation
required
boolean
crossAccount
required
boolean
targetLocation
required
object
id
required
string format: uuid
name
required
string
losesSight
required
Array<object>
object
displayName
required
string
copies
required
object
types
required
integer
tags
required
integer
people
required
integer
vendors
required
integer
brands
required
integer
purchases
required
integer
Examplegenerated
{ "crossLocation": true, "crossAccount": true, "targetLocation": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example" }, "losesSight": [ { "displayName": "example" } ], "copies": { "types": 1, "tags": 1, "people": 1, "vendors": 1, "brands": 1, "purchases": 1 }}