Fetches PTOs

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Team ID

Query Params
boolean

Set true to include the archived records

boolean

Set true to include the default PTOs

boolean

Search only the custom/non-custom PTOs

Responses
200

Success

Example Response

mosaic_id is the PTO ID in this case


{
  pto_policies: [
    {
        created_at: "2022-06-13T16:37:42.761-04:00",
        hours: "300.0",
        is_accrued: false,
        is_custom: false,
        is_default: false,
        mosaic_id: 1234,
        mosaic_team_id: 12345,
        name: "Policy 1",
        updated_at: "2022-06-13T16:37:42.761-04:00"
    }
  ]
}
401

Invalid Authentication Key and/or Team ID

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!