v1

latestSwagger 2.02026-08-043765135.6 KB
answers

Get answer

Get an answer by UUID

get/appointments/{appointmentId}/answers/{id}

Path parameters

idstring uuid required

Primary UUID in the path

appointmentIdstring uuid required

Parent Appointment UUID for the resource in the path

Query parameters

mockboolean

Return mock data

Response

Return a single data response

Example response

{
  "data": {
    "attributes": {
      "createdAt": "2018-02-03T10:30:00Z",
      "updatedAt": "2018-02-03T10:30:00Z"
    },
    "relationships": {
      "question": {
        "data": {
          "type": "questions",
          "id": "bdb88373-bf66-4bfc-a4f8-3a35be5c2f9c"
        }
      },
      "appointment": {
        "data": {
          "type": "appointments",
          "id": "00000000-0000-0000-0000-000000000069"
        }
      },
      "customer": {
        "data": {
          "type": "customers",
          "id": "00000000-0000-0000-0000-000000000069"
        }
      }
    }
  }
}