Time of Days


GEThttps://api.voxo.co/conditions{recordId}

Get Time of Day By Id

Get single time of days record by Id

Parameters

Path
  • Name
    recordId*
    Type
    Description
Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

{
    "id": 309,
    "tenantId": 432,
    "name": "test",
    "type": "WEEKTIME",
    "timezone": "America/Chicago",
    "param1": ""
}

cURL

curl --location -g \
--request GET 'https://api.voxo.co/conditions/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'

GEThttps://api.voxo.co/conditions?tenantId={tenantId}

Get All Time of Days

Get all time of days for accounts you are authorized for

Parameters

Query
  • Name
    tenantId*
    Type
    Integer
    Description
Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

[
    {
        "id": 309,
        "tenantId": 432,
        "name": "test",
        "type": "WEEKTIME",
        "timezone": "America/Chicago",
        "param1": ""
    }
]

cURL

curl --location -g \
--request GET 'https://api.voxo.co/conditions?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'