workplaceById

The workplaceById query is used to get details on a workplace/HCO.

Schema

 

 

type Query {

  workplaceById(

    userId: String,

    id: ID!,

    locale: String

  ): Workplace

}

 

 

Field

Type

Description

userID

String

Optional. ID of app carrying out the operation with the Activity API.

id

ID!

ID of HCO.

locale

String

Optional. Specifies the language of users in a country/region. For example:

locale: "en"  (default)

If not specified, then the default locale of the space is used.

 

 

 

Response

Workplace

A JSON response with an object of the Workplace type (Activity API 1.0) or Workplace type (Activity API 2.0) as a result.

Fault

ActivityException

If a server error occurs or an incorrect input is specified.

Discussion

Criteria in this query is from a "details request" made by your app for an HCO, such as an HCO selected (as a result of an activities query) in a list/map on the prebuilt Results screen.

This query is sent to the Activities endpoint of the Activity API.

Availability

HealthCare Locator SDK 1.0 (and versions earlier than 1.2.15)

GraphQL Activity API 1.0