Move a possession
Move a possession to another location of the account on a given day.
The stay where it is now closes on that day, and a new stay opens at the location on the same day. The possession then reports that location as where it is. The change is written to the account log.
A possession that is sold, given away, thrown away, lost or stolen answers 422 on location_id ("This possession is no longer in your hands, so it cannot be moved."). The location it is already in answers 422 on location_id ("It is already in Barn."). A day before the current stay began answers 422 on moved_on ("The current stay began on 8 November 2019. Date the move after that, or correct the current stay instead.").
Parameters
Sent as JSON. Anything not listed here is ignored.
The vault the possession is kept in, named either by the readable name it reports as slug or by its id. A vault of another account answers 404.
The id of the possession. A possession of another vault or of another account answers 404.
The id of a location of the account. A location of another account answers 422.
The day it moved, as YYYY-MM-DD.
Why it moved, up to 255 characters. Markup is stripped.
Anything worth knowing about the new stay, up to 5,000 characters.
Returns
The new stay object, where the possession is now.
The possession location stay.
Always possession_location_stay. It names the kind of record, so a caller holding several kinds can tell them apart without looking at where they came from.
The id of this record, as a string even when it reads as a number. It is what every endpoint naming this record takes.
Everything the record holds.
The id of the location of the account where the possession stayed. Its full path comes from the locations endpoints.
The name of that location, without the locations around it.
The day it arrived, as YYYY-MM-DD, or null when the day is unknown.
The day it left, as YYYY-MM-DD, or null on the stay where it is now.
Whether it is the open stay, where the possession is now. A possession has at most one.
Why it went there, or null.
Anything worth knowing about the stay, or null.
When the stay was recorded, as a count of seconds since 1970.
Where to find this record.
The absolute address this record is read from.
The Locations section of the possession in the application, which opens for somebody signed in rather than for a key. It is the link to give a person.
Rate limit
Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.