Entities Mutations

These mutations allow you to interact with entities data.

acquireFaxNumber

Returns: Location

Arguments

ArgumentTypeDescription
locationIdrequiredID!ID of the location
Example Query
mutation($locationId: ID!) {
acquireFaxNumber(locationId: $locationId) {
id
# Add other fields you need
}
}
Variables
{
"locationId": "1"
}

acquireTollFreeNumber

Returns: Location

Arguments

ArgumentTypeDescription
locationIdrequiredID!ID of the location
Example Query
mutation($locationId: ID!) {
acquireTollFreeNumber(locationId: $locationId) {
id
# Add other fields you need
}
}
Variables
{
"locationId": "1"
}

acquireTwilioPhoneNumber

Returns: Location

Arguments

ArgumentTypeDescription
areaCodeStringTelephone area code
locationIdrequiredID!ID of the location
Example Query
mutation(
$areaCode: String,
$locationId: ID!
) {
acquireTwilioPhoneNumber(
areaCode: $areaCode,
locationId: $locationId
) {
id
# Add other fields you need
}
}
Variables
{
"areaCode": "example",
"locationId": "1"
}

assignProviderToLocation

Returns: Provider

Assigns a provider to a location

Arguments

ArgumentTypeDescription
locationIdrequiredID!ID of the location
providerIdrequiredID!ID of the provider
Example Query
mutation(
$locationId: ID!,
$providerId: ID!
) {
assignProviderToLocation(
locationId: $locationId,
providerId: $providerId
) {
id
# Add other fields you need
}
}
Variables
{
"locationId": "1",
"providerId": "1"
}

batchUpsertOrgPreferences

Returns: [OrgPreference]

Batch create or update multiple org preferences in a single operation

Arguments

ArgumentTypeDescription
preferencesrequired[OrgPreferenceInput!]!Preferences
Example Query
mutation($preferences: [OrgPreferenceInput!]!) {
batchUpsertOrgPreferences(preferences: $preferences) {
id
# Add other fields you need
}
}
Variables
{
"preferences": {}
}

createAlert

Returns: Alert!

Arguments

ArgumentTypeDescription
inputAlertInputInput data for alert operation
Example Query
mutation($input: AlertInput) {
createAlert(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createCage

Returns: Cage!

Arguments

ArgumentTypeDescription
inputCageInputInput data for cage operation
Example Query
mutation($input: CageInput) {
createCage(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createClientRdvm

Returns: ClientRdvm!

Arguments

ArgumentTypeDescription
inputClientRdvmInputInput data for client rdvm operation
Example Query
mutation($input: ClientRdvmInput) {
createClientRdvm(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createClientReferralSource

Arguments

ArgumentTypeDescription
inputClientReferralSourceInputInput data for client referral source operation
Example Query
mutation($input: ClientReferralSourceInput) {
createClientReferralSource(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createConsentForm

Returns: ConsentForm!

Arguments

ArgumentTypeDescription
inputConsentFormInputInput data for consent form operation
Example Query
mutation($input: ConsentFormInput) {
createConsentForm(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createCustomLocationAttribute

Arguments

ArgumentTypeDescription
inputCustomLocationAttributeInputInput data for custom location attribute operation
Example Query
mutation($input: CustomLocationAttributeInput) {
createCustomLocationAttribute(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createDepartment

Returns: Department!

Arguments

ArgumentTypeDescription
inputDepartmentInputInput data for department operation
Example Query
mutation($input: DepartmentInput) {
createDepartment(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createEntityValidation

Arguments

ArgumentTypeDescription
inputEntityValidationInputInput data for entity validation operation
Example Query
mutation($input: EntityValidationInput) {
createEntityValidation(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createLocation

Returns: Location
Example Query
mutation {
createLocation {
id
# Add other fields you need
}
}

createLocationAttribute

Arguments

ArgumentTypeDescription
inputLocationAttributeInputInput data for location attribute operation
Example Query
mutation($input: LocationAttributeInput) {
createLocationAttribute(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createLocationTag

Returns: LocationTag!

Arguments

ArgumentTypeDescription
inputLocationTagInputInput data for location tag operation
Example Query
mutation($input: LocationTagInput) {
createLocationTag(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createOrgDepartment

Arguments

ArgumentTypeDescription
inputOrgDepartmentInputInput data for org department operation
Example Query
mutation($input: OrgDepartmentInput) {
createOrgDepartment(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createOrgPreference

Arguments

ArgumentTypeDescription
inputOrgPreferenceInputInput data for org preference operation
Example Query
mutation($input: OrgPreferenceInput) {
createOrgPreference(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createOutlookOrgPreference

Returns: OrgPreference

Arguments

ArgumentTypeDescription
inputOrgPreferenceInputInput data for org preference operation
Example Query
mutation($input: OrgPreferenceInput) {
createOutlookOrgPreference(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

deleteAlert

Returns: Alert!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteAlert(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteCage

Returns: Cage

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteCage(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteClientRdvm

Returns: ClientRdvm!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteClientRdvm(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteClientReferralSource

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteClientReferralSource(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteConsentForm

Returns: ConsentForm!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteConsentForm(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteCustomLocationAttribute

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteCustomLocationAttribute(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteDepartment

Returns: Department!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteDepartment(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteEntityValidation

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteEntityValidation(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteLocation

Returns: Location

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteLocation(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteLocationTag

Returns: LocationTag!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteLocationTag(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteOrgDepartment

Arguments

ArgumentTypeDescription
destinationOrgDepartmentIdIDThe ID of the OrgDepartment to which all location departments will be reassigned. If nil, the org_department must be the only one for its organization.
idrequiredID!Unique identifier
Example Query
mutation(
$destinationOrgDepartmentId: ID,
$id: ID!
) {
deleteOrgDepartment(
destinationOrgDepartmentId: $destinationOrgDepartmentId,
id: $id
) {
id
# Add other fields you need
}
}
Variables
{
"destinationOrgDepartmentId": "1",
"id": "1"
}

mergeClientReferralSources

Arguments

ArgumentTypeDescription
fromIdrequiredID!ID of the from
toIdrequiredID!ID of the to
Example Query
mutation(
$fromId: ID!,
$toId: ID!
) {
mergeClientReferralSources(
fromId: $fromId,
toId: $toId
) {
id
# Add other fields you need
}
}
Variables
{
"fromId": "1",
"toId": "1"
}

reorderAlerts

Returns: [Alert]

Arguments

ArgumentTypeDescription
fromIdrequiredID!ID of the from
toIdrequiredID!ID of the to
Example Query
mutation(
$fromId: ID!,
$toId: ID!
) {
reorderAlerts(
fromId: $fromId,
toId: $toId
) {
id
# Add other fields you need
}
}
Variables
{
"fromId": "1",
"toId": "1"
}

reorderClientReferralSources

Arguments

ArgumentTypeDescription
fromIdrequiredID!ID of the from
toIdrequiredID!ID of the to
Example Query
mutation(
$fromId: ID!,
$toId: ID!
) {
reorderClientReferralSources(
fromId: $fromId,
toId: $toId
) {
id
# Add other fields you need
}
}
Variables
{
"fromId": "1",
"toId": "1"
}

sendLocationChatMessage

Arguments

ArgumentTypeDescription
bodyStringMain content or message body
locationIdrequiredID!ID of the location
Example Query
mutation(
$body: String,
$locationId: ID!
) {
sendLocationChatMessage(
body: $body,
locationId: $locationId
) {
id
# Add other fields you need
}
}
Variables
{
"body": "example",
"locationId": "1"
}

setChatLastReadAt

Returns: String

Arguments

ArgumentTypeDescription
locationIdrequiredID!ID of the location
Example Query
mutation($locationId: ID!) {
setChatLastReadAt(locationId: $locationId) {
id
# Add other fields you need
}
}
Variables
{
"locationId": "1"
}

setDaycareOpen

Returns: Boolean

Arguments

ArgumentTypeDescription
daterequiredDate!Specific date for the query
locationIdrequiredID!ID of the location
valuerequiredBoolean!Value
Example Query
mutation(
$date: Date!,
$locationId: ID!,
$value: Boolean!
) {
setDaycareOpen(
date: $date,
locationId: $locationId,
value: $value
) {
id
# Add other fields you need
}
}
Variables
{
"date": {},
"locationId": "1",
"value": true
}

unassignProviderFromLocation

Returns: Provider

Removes a provider from a location

Arguments

ArgumentTypeDescription
locationIdrequiredID!ID of the location
providerIdrequiredID!ID of the provider
Example Query
mutation(
$locationId: ID!,
$providerId: ID!
) {
unassignProviderFromLocation(
locationId: $locationId,
providerId: $providerId
) {
id
# Add other fields you need
}
}
Variables
{
"locationId": "1",
"providerId": "1"
}

updateAlert

Returns: Alert

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredAlertInput!Input
Example Query
mutation(
$id: ID!,
$input: AlertInput!
) {
updateAlert(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateCage

Returns: Cage

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredCageInput!Input
Example Query
mutation(
$id: ID!,
$input: CageInput!
) {
updateCage(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateClientRdvm

Returns: ClientRdvm

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredClientRdvmInput!Input
Example Query
mutation(
$id: ID!,
$input: ClientRdvmInput!
) {
updateClientRdvm(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateClientReferralSource

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredClientReferralSourceInput!Input
Example Query
mutation(
$id: ID!,
$input: ClientReferralSourceInput!
) {
updateClientReferralSource(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateConsentForm

Returns: ConsentForm

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredConsentFormInput!Input
Example Query
mutation(
$id: ID!,
$input: ConsentFormInput!
) {
updateConsentForm(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateCustomLocationAttribute

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredCustomLocationAttributeInput!Input
Example Query
mutation(
$id: ID!,
$input: CustomLocationAttributeInput!
) {
updateCustomLocationAttribute(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateDepartment

Returns: Department!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredDepartmentInput!Input
Example Query
mutation(
$id: ID!,
$input: DepartmentInput!
) {
updateDepartment(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateEntityValidation

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredEntityValidationInput!Input
Example Query
mutation(
$id: ID!,
$input: EntityValidationInput!
) {
updateEntityValidation(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateLocation

Returns: Location

Updates a location

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputLocationInputInput data for location operation
Example Query
mutation(
$id: ID!,
$input: LocationInput
) {
updateLocation(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateLocationAttribute

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredLocationAttributeInput!Input
Example Query
mutation(
$id: ID!,
$input: LocationAttributeInput!
) {
updateLocationAttribute(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateLocationTag

Returns: LocationTag

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredLocationTagInput!Input
Example Query
mutation(
$id: ID!,
$input: LocationTagInput!
) {
updateLocationTag(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateOrg

Returns: Org

Update the viewer's org if the provider is an org admin

Arguments

ArgumentTypeDescription
inputOrgInputInput data for org operation
Example Query
mutation($input: OrgInput) {
updateOrg(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

updateOrgDepartment

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredOrgDepartmentInput!Input
Example Query
mutation(
$id: ID!,
$input: OrgDepartmentInput!
) {
updateOrgDepartment(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateOrgPreference

Returns: OrgPreference

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredOrgPreferenceInput!Input
Example Query
mutation(
$id: ID!,
$input: OrgPreferenceInput!
) {
updateOrgPreference(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateOutlookOrgPreference

Returns: OrgPreference

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputOrgPreferenceInputInput data for org preference operation
Example Query
mutation(
$id: ID!,
$input: OrgPreferenceInput
) {
updateOutlookOrgPreference(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

uploadClinicImage

Returns: Location

Arguments

ArgumentTypeDescription
clinicImagerequiredUpload!Clinic logo or branding image
locationIdrequiredID!ID of the location
Example Query
mutation(
$clinicImage: Upload!,
$locationId: ID!
) {
uploadClinicImage(
clinicImage: $clinicImage,
locationId: $locationId
) {
id
# Add other fields you need
}
}
Variables
{
"clinicImage": {},
"locationId": "1"
}