Advanced Search Report

Get agencies with shifts for a given site and all its wards

post/advanced-search-report/agencies-with-shifts

Request

  • Base URL
    http://localhost:3010/v1
  • URL
    http://localhost:3010/v1/advanced-search-report/agencies-with-shifts
  • Auth
    HTTP basic

Headers

Authorizationstring string required

OAuth Bearer token

Contextstring string required

The executing context

Accept'application/json' required

Advertises which content types the client understands

X-Accept-Timezonestring

The timezone the content will be displayed in

Request body

site_idstring required

Site ID to search for shifts

min_shift_end_datestring date-time required

Minimum end date for shifts

status_codestring[] required

Array of status codes to filter shifts

Response

List of agencies with shifts for the given site

agency_idstring required

Agency ID

agency_namestring required

Agency name

Changes

No recorded changes to this operation across all 3 revisions of this API.