locations

Create Location

Create a premises (no parent_id) or a sublocation beneath an existing premises. Directory scopes use read:farms/write:farms; minimum farm role READER for reads and EDITOR for writes.

post/v1/farm/{farm_id}/locations

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/farm/{farm_id}/locations
  • Auth: HTTP bearer

Path parameters

farm_idstring uuid required

Request body

namestring required
parent_idstring nullable
category'FARM' | 'FIELD' | 'PEN' | 'BARN' | 'VET' | 'RODEO' | 'ABATTOIR' | 'AUCTION' | 'OTHER' nullable
context'OPERATED' | 'LEASED' | 'EXTERNAL' nullable
addressstring
legal_land_descriptionstring
countrystring
province_statestring

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.