Groups

Get address groups

get

Get address groups based on the provided filter criteria

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
namestringOptional

Name of the Address

Example: Name
typestring · enumOptional

Type of the address

Default: PRIMARYExample: LABPossible values:
regionstringOptional

Region of the address group

Example: New York
activebooleanRequired

Status of the address group

Default: trueExample: true
appointmentTypeIdnumberOptional

Appointment Type Id

Example: 1
includeAddressCountbooleanOptional

Flag to include address list count

Example: true
includeAddressMappingbooleanOptional

Flag to include address list

Example: true
Responses
200Success
application/json
get
/api/addresses/groups
200Success

Create address group

post

Create address group based on the provided data

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
namestringRequired

Name of the Address

Example: Name
descriptionstringOptional

Description of the address group

Example: Lab
regionstringOptional

Region of the address group

Example: New York
typestring · enumRequired

Type of the address

Default: PRIMARYExample: LABPossible values:
activebooleanRequired

Status of the address group

Default: trueExample: true
Responses
200Success
application/json
post
/api/addresses/groups
200Success

Get address group by ID

get

Retrieves an address group based on the provided ID

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
get
/api/addresses/groups/{id}
200Success

Update address group

put

Update address group based on the provided data

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Body
namestringRequired

Name of the Address

Example: Name
descriptionstringOptional

Description of the address group

Example: Lab
regionstringOptional

Region of the address group

Example: New York
typestring · enumRequired

Type of the address

Default: PRIMARYExample: LABPossible values:
activebooleanRequired

Status of the address group

Default: trueExample: true
Responses
200Success
application/json
put
/api/addresses/groups/{id}
200Success