Skip to main content
POST
/
v3
/
locations
/
{location}
/
profiles
Add Location Profile
curl --request POST \
  --url https://api.{tenant}.getomneo.com/api/v3/locations/{location}/profiles \
  --header 'Content-Type: application/json' \
  --data '
{
  "profile_id": "<string>",
  "is_default": true,
  "is_active": true,
  "starts_at": "2023-11-07T05:31:56Z",
  "ends_at": "2023-11-07T05:31:56Z",
  "external_id": "<string>",
  "profile_external_id": "<string>",
  "sort_order": 1,
  "notes": "<string>",
  "meta": [
    "<string>"
  ],
  "excluded_service_handles": [
    "<string>"
  ]
}
'
{
  "data": {
    "id": 123,
    "location_id": 123,
    "profile_id": "<string>",
    "assignment_type": "<string>",
    "role_type": "<string>",
    "is_default": true,
    "is_active": true,
    "starts_at": "<string>",
    "ends_at": "<string>",
    "external_id": "<string>",
    "profile_external_id": "<string>",
    "sort_order": 123,
    "notes": "<string>",
    "meta": [
      "<unknown>"
    ],
    "excluded_service_handles": [
      "<unknown>"
    ],
    "location": {
      "id": "<string>",
      "name": "<string>",
      "handle": "<string>"
    },
    "profile": {
      "id": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>"
    },
    "created_at": "<string>",
    "updated_at": "<string>",
    "deleted_at": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

location
integer
required

The location ID

Body

application/json
profile_id
string
required
assignment_type
enum<string>
required
Available options:
staff,
manager,
profile
role_type
enum<string> | null
Available options:
full_time,
part_time,
casual,
other
is_default
boolean
is_active
boolean
starts_at
string<date-time> | null
ends_at
string<date-time> | null
external_id
string | null
Maximum string length: 255
profile_external_id
string | null
Maximum string length: 255
sort_order
integer
Required range: x >= 0
notes
string | null
meta
string[] | null
excluded_service_handles
string[] | null
Maximum string length: 255

Response

LocationProfileResource

data
LocationProfileResource · object
required