Get visit types
GET/api/diary/visittypes
Retrieves an array of visit (interaction) types.
Response sample
{
"id": "string",
"type": "string",
"name": "string",
"description": "string",
"defaultDuration": 0,
"visitTypeGroup": {
"id": "string",
"type": "string",
"groupName": "string",
"displayOrder": 0},
"links": {
"additionalProp1": {},
"additionalProp2": {},
"additionalProp3": {}}
}
Request
Responses
- 200
- 400
- 404
Success: Request accepted.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.