Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required

Organization identifier.

Required string length: 24
Pattern: ^[0-9a-f]{24}$

Body

application/json

Location creation body.

name
string
required

Location name.

Required string length: 1 - 100
latitude
number
required

Location latitude.

Required range: -90 <= x <= 90
longitude
number
required

Location longitude.

Required range: -180 <= x <= 180
address
string | null

Location address.

Maximum string length: 500

Response

Location created successfully.

id
string<uuid>

Location Id (FWS Location.Oid).

name
string | null

Location name.

address
string | null

Location address.

latitude
number | null

Location latitude.

longitude
number | null

Location longitude.

organization_id
string | null

Associated Portal organization Id.

Required string length: 24
Pattern: ^[0-9a-f]{24}$