{
"id": "12345",
"name": "Consultation",
"priority": "HIGH",
"description": "A brief consultation session",
"durationInMinutes": 30,
"appointmentTypeTemplateId": 1,
"serviceProviderScheduleId": 2,
"useDefaultAvailability": true,
"overlappingSlots": true,
"disabled": true,
"externalId": "welkin-encounter-template",
"schedulerSystemUserId": "user-123",
"serviceProviderId": 1,
"startDate": "2023-01-01T00:00:00Z",
"endDate": "2023-12-31T23:59:59Z",
"color": "#FF5733",
"locationType": "GOOGLE_MAPS",
"userId": "user-456",
"user": {
"id": "12345",
"status": "active",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"roles": [
"admin",
"user"
],
"profilePic": "http://example.com/profile.jpg",
"timeZone": "UTC",
"attributes": {
"key": "value"
},
"address": [
{
"street": "123 Main St",
"city": "Anytown"
}
],
"organizationAddresses": [
{
"street": "456 Corporate Blvd",
"city": "Businesstown"
}
],
"isGroup": true,
"users": [],
"displayTitle": "MD",
"serviceProviderLicenseInfo": [
{
"stateOfIssuance": "text",
"country": "text"
}
],
"partnerId": 1,
"partner": {
"id": 1,
"organizationId": 1,
"name": "text",
"addressGroup": {
"id": 12,
"name": "Name",
"description": "Lab",
"region": "New York",
"type": "LAB",
"organizationId": 1,
"active": true,
"addressGroupMapping": [],
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-01T00:00:00.000Z",
"addressMappingCount": 1
},
"addressGroupId": 1,
"partnerTypeId": 1,
"attributes": {},
"partnerType": {
"name": "Test Partner Type Name",
"description": "Test Partner Type Description",
"partnerType": "CUSTOM",
"organizationId": 1,
"active": true,
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
"active": true,
"createdAt": "2025-12-15",
"updatedAt": "2025-12-15"
}
},
"maximumAppointmentsPerDay": 10,
"maximumAppointmentsPerWeek": 1,
"serviceProviderRole": "CLIENT_MANAGER",
"bookingHorizon": 30,
"attributes": {},
"addressGroupId": 1,
"addressGroup": {}
}