--- title: Appointment Open API description: The Appointment Open API is a telecommunication API that allows you to interact with the appointment booking application. Use this API to book appointments and search available time slots.Deletes an appointment record with a given ID.Returns time slots that were configured in the appointment booking service configuration along with their availability.Retrieves an appointment record associated with a specified ID.Retrieves a list of appointment records.Reschedule appointments with a given ID for a work order.Enables you to book appointments for a work order. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/appointment-open-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 28 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # Appointment Open API The Appointment Open API is a telecommunication API that allows you to interact with the appointment booking application. Use this API to book appointments and search available time slots. The Appointment Open API is a ServiceNow® implementation of the Open API TMForum TMF646 Appointment REST API specification and is conformance certified by TM Forum. This implementation is based on [TMF646 Appointment API REST Specification R16.0.1](https://www.tmforum.org/resources/specification/tmf646-appointment-api-rest-specification-r16-0-1/). \[Omitted image "tmf-conformance.png"\] Alt text: TMF conformance logo This API requires the following plugins available on the ServiceNow Store. - Appointment Booking \(com.snc.appointment\_booking\) - Field Service Management \(com.snc.work\_management\) - Field Service Management for Telecommunications \(com.sn\_fsmt\) - Telecommunication Open APIs \(com.sn\_tmf\_api\) Before using this API, Appointment Booking Configuration and Service Configuration must be set up. In addition, a task for which the appointment is being booked must exist. This API is provided within the `sn_tmf_api` namespace. The calling user must have the sn\_tmf\_api.appointment\_integrator role. **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## Appointment Open - DELETE /api/sn\_tmf\_api/appointment/appointment/\{id\} Deletes an appointment record with a given ID. ### URL format Default URL: `/api/sn_tmf_api/appointment/appointment/{id}` ### Supported request parameters
| Name | Description |
|---|---|
| id | Sys\_id of the appointment record to delete. Data type: String Table: Appointment booking \[sn\_apptmnt\_booking\_appointment\_booking\] |
| Name | Description |
|---|---|
| message | Response message acknowledging successful deletion.Success: "The appointment \(<id>\) is successfully cancelled." Errors: - "Appointment cancellation failed.": The ID can't be found in the system and returns a 404 status code. - "Appointment cancellation failed.": The appointment is already in a cancelled or completed state or can't be deleted, and returns a 404 status code. - "The appointment \(<id>\) can't be cancelled as it is beyond the Cancel by time.": The appointment is already beyond the ‘cancel by time’, which is configured in the appointment booking service configuration. Returns a 400 status code. Data type: String |
| Name | Description |
|---|---|
| catalog\_id | Required. Sys\_id of the record producer configured with an appointment booking service configuration. Data type: String Table: Record Producer \[sc\_cat\_item\_producer\] |
| end\_date | Required. End date and time of the time period in which you want to search for the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, `2025-01-31 12:00:00`. |
| location | Sys\_id of the appointment's location.Table: Location \[cmn\_location\] Data type: String Default: Returns all locations if not specified. |
| opened\_for | Required. Sys\_id of the user for whom the appointment is being booked.Table: Contact \[customer\_contact\] Data type: String |
| start\_date | Required. Start date and time of the time period in which you want to search for the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, `2025-01-31 09:00:00`. |
| Name | Description |
|---|---|
| availableTimeSlot | List of appointment slots within the specified block of time requested.Data type: Array of Objects ``` 'availableTimeSlot': [ { "available": Boolean, "end_date": "String", "end_date_display": "String", "end_dateUTC": "String", "start_date": "String", "start_date_display": "String", "start_dateUTC": "String" } ] ``` |
| availableTimeSlot.available | Flag that indicates whether the associated time slot is available.Possible values: - true: Time slot is available. - false: Time slot is unavailable. Data type: Boolean |
| availableTimeSlot.end\_date | End date and time of the associated appointment. The time zone is based on the value in the **timeZone** parameter.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| availableTimeSlot.end\_date\_display | Display end date and time of the associated appointment. The time zone is based on the value in the **timeZone** parameter.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| availableTimeSlot.end\_dateUTC | End date and time of the associated appointment.Data type: String Format: UTC |
| availableTimeSlot.start\_date | Start date and time of the associated appointment. Reflects the value of the **timeZone** parameter.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| availableTimeSlot.start\_date\_display | Display start date and time of the associated appointment. Reflects the value of the **timeZone** parameter.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| availableTimeSlot.start\_dateUTC | Start date and time of the associated appointment.Data type: String Format: UTC |
| hasMore | Flag that indicates whether there are more appointment slots to fetch after returning the limit. The limit is specified in the Appointment Booking property, sn\_apptmnt\_booking.max\_appointments\_returned \(Default: 100\). See [Appointment booking components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/field-service-management/appointment-booking-components.md) for more details about this property.Possible values: - true: More appointment slots can be fetched. - false: No more appointment slots are available. Data type: Boolean |
| noApptAvailable | Flag that indicates whether there are more appointment slots available for the specified date and time.Valid values: - true: More appointment slots are available for the specified date and time. - false: No more appointment slots are available for the specified date and time. Data type: Boolean |
| searchResult | Results for appointment availability within the designated search time slot.Possible values: - success - fail Data type: String |
| status | Completion status of the search for available time slots. For example, done.Data type: String |
| timeZone | Time zone used when booking or updating the specified appointment slot.Date type: String Format: Country/city or area format, such as US/Eastern |
| Name | Description |
|---|---|
| id | Sys\_id of the appointment to retrieve.Data type: String Table: Appointment booking \[sn\_apptmnt\_booking\_appointment\_booking\] |
| Name | Description |
|---|---|
| category | Filter the appointment by category sys\_id.Data type: String Table: Location \[cmn\_location\] Default: Returns all appointments if category sys\_id is not provided. |
| relatedEntity | Details about the related entity associated with the work order.Data type: Object ``` "relatedEntity": { "id": "String" } ``` |
| relatedEntity.id | Required. Sys\_id of the related entity.Data type: String Table: workOrder \[wm\_order\] Default: Returns all if sys\_id is not provided. |
| relatedParty | Filter the appointment by the sys\_id of the related party associated with the appointment.Data type: Object ``` "relatedParty": { "id": "String", "name": "String" } ``` Default: Returns all appointments if **relatedParty** is not provided. |
| relatedParty.id | Sys\_id of the related party.Data type: String Table: User \[sys\_user\] |
| relatedParty.name | Name of the related party.Data type: String |
| relatedPlace | Filter the appointment by the place where the service or repair is scheduled to happen.Data type: Object ``` "relatedPlace": { "id": "String" } ``` Default: Returns all appointments if **relatedPlace** is not provided. |
| relatedPlace.id | Sys\_id of the related place.Data type: String Table: Location \[cmn\_location\] |
| validFor | Filter the appointment by a date range that the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String", "startDateTime": "String" } ``` Default: Returns all appointments if **validFor** is not provided. |
| validFor.endDateTime | End date and time of the appointment. Only appointments with the specified end date and time are returned in the response.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. Table: Location \[cmn\_location\] |
| validFor.startDateTime | Start date and time of the appointment. Only appointments with the specified start date and time are returned in the response. Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. Table: Location \[cmn\_location\] |
| Name | Description |
|---|---|
| category | Sys\_id of the record producer configured for the appointment booking service configuration.Data type: String Stored in: Catalog Item field of the Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table. |
| creationDate | Date and time that the appointment was created.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| href | Hyperlink to the appointment record. Use this link in another Appointment Open API request to reschedule or delete the appointment.Data type: String |
| id | Sys\_id of the appointment.Data type: String Stored in: Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table |
| lastUpdate | Date and time the appointment was last updated.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| relatedEntity | Details about the related entity of the appointment.Data type: Array of Objects ``` "relatedEntity": [ { "@referredType": "String", "id": "String", "role": "String" } ] ``` |
| relatedEntity.@referredType | Type of item or service.Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedEntity.id | Sys\_id of the related entity.Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedEntity.role | Role description of the related entity. Possible value: work order Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedParty | List of contacts for the appointment. Each contact is an object in the array.Data type: Array of Objects ``` "relatedParty": [ { "@referredType": "String", "id": "String", "name": " String", "role": "String" } ] ``` |
| relatedParty.@referredType | Type of customer.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.id | Sys\_id of the customer contact associated with the work order.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.name | Name of the customer contact.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.role | Role of the customer contact.Possible values: - customer: The contact has a customer role. - technician: The contact has a technician role. Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedPlace | Location details of the associated appointment.Data type: Object ``` "relatedPlace": { "@referredType": "String", "id": "String", "name": "String", "role": "String" } ``` |
| relatedPlace.@referredType | Geographic address of the appointment. Possible value: GeographicLocation. Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.id | Sys\_id of the location. Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.name | Name of the location related to the contact. For example, 100 South Charles Street, Baltimore, MD.Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.role | Role of the appointment location as an intervention address.Possible value: InterventionAddress Data type: String Stored in: Location \[cmn\_location\] table |
| validFor | Date range that the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String" "startDateTime": "String" } ``` |
| validFor.endDateTime | End date and time of the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| validFor.startDateTime | Start date and time of the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| Name | Description |
|---|---|
| category | Filter the appointment by category sys\_id.Data type: String Table: Location \[cmn\_location\] Default: Returns all appointments if category sys\_id is not provided. |
| relatedEntity | Details about the related entity associated with the work order.Data type: Object ``` "relatedEntity": { "id": "String" } ``` |
| relatedEntity.id | Required. Sys\_id of the related entity.Data type: String Table: workOrder \[wm\_order\] Default: Returns all if sys\_id is not provided. |
| relatedParty | Filter the appointment by the sys\_id of the related party associated with the appointment.Data type: Object ``` "relatedParty": { "id": "String", "name": "String" } ``` Default: Returns all appointments if **relatedParty** is not provided. |
| relatedParty.id | Sys\_id of the related party.Data type: String Table: User \[sys\_user\] |
| relatedParty.name | Name of the related party.Data type: String |
| relatedPlace | Filter the appointment by the place where the service or repair is scheduled to happen.Data type: Object ``` "relatedPlace": { "id": "String" } ``` Default: Returns all appointments if **relatedPlace** is not provided. |
| relatedPlace.id | Sys\_id of the related place.Data type: String Table: Location \[cmn\_location\] |
| validFor | Filter the appointment by a date range that the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String", "startDateTime": "String" } ``` Default: Returns all appointments if **validFor** is not provided. |
| validFor.endDateTime | End date and time of the appointment. Only appointments with the specified end date and time are returned in the response.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. Table: Location \[cmn\_location\] |
| validFor.startDateTime | Start date and time of the appointment. Only appointments with the specified start date and time are returned in the response. Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. Table: Location \[cmn\_location\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| category | Sys\_id of the record producer configured for the appointment booking service configuration.Data type: String Stored in: Catalog Item field of the Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table. |
| creationDate | Date and time that the appointment was created.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| href | Hyperlink to the appointment record. Use this link in another Appointment Open API request to reschedule or delete the appointment.Data type: String |
| id | Sys\_id of the appointment.Data type: String Stored in: Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table |
| lastUpdate | Date and time the appointment was last updated.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| relatedEntity | Details about the related entity of the appointment.Data type: Array of Objects ``` "relatedEntity": [ { "@referredType": "String", "id": "String", "role": "String" } ] ``` |
| relatedEntity.@referredType | Type of item or service.Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedEntity.id | Sys\_id of the related entity.Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedEntity.role | Role description of the related entity. Possible value: work order Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedParty | List of contacts for the appointment. Each contact is an object in the array.Data type: Array of Objects ``` "relatedParty": [ { "@referredType": "String", "id": "String", "name": " String", "role": "String" } ] ``` |
| relatedParty.@referredType | Type of customer.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.id | Sys\_id of the customer contact associated with the work order.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.name | Name of the customer contact.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.role | Role of the customer contact.Possible values: - customer: The contact has a customer role. - technician: The contact has a technician role. Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedPlace | Location details of the associated appointment.Data type: Object ``` "relatedPlace": { "@referredType": "String", "id": "String", "name": "String", "role": "String" } ``` |
| relatedPlace.@referredType | Geographic address of the appointment. Possible value: GeographicLocation. Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.id | Sys\_id of the location. Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.name | Name of the location related to the contact. For example, 100 South Charles Street, Baltimore, MD.Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.role | Role of the appointment location as an intervention address.Possible value: InterventionAddress Data type: String Stored in: Location \[cmn\_location\] table |
| validFor | Date range that the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String" "startDateTime": "String" } ``` |
| validFor.endDateTime | End date and time of the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| validFor.startDateTime | Start date and time of the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| Name | Description |
|---|---|
| id | Sys\_id of the appointment to reschedule. Data type: String Table: Appointment booking \[sn\_apptmnt\_booking\_appointment\_booking\] |
| Name | Description |
|---|---|
| note | If canceling the appointment, you can add work notes here. Updates the work notes of the work order and the message of the appointment.Data type: Array of Objects ``` "note": [ { "author": "String", "date": "String", "text": "String" } ] ``` Stored in: Appointment Booking \[sn\_apptmnt\_booking\_appointment\_booking\] table |
| note.author | Name of the person who writing the note.Data type: String |
| note.date | Date and time that the note was published. Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2018-02-04T11:00:18.071Z. |
| note.text | Descriptive text about the work order that is attached to the appointment. For example, updates on the work order's progress.Data type: String |
| status | Status of the appointment.Valid values: - cancelled: The appointment reschedule is cancelled. - completed: The rescheduled appointment is completed. - confirmed: The appointment reschedule is accepted and booked. - new: The appointment rescheduling request was recently created. - pending: The appointment reschedule is pending. - ready: The appointment reschedule is requested. Data type: String |
| validFor | Filter the appointment by a date range that the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String", "startDateTime": "String" } ``` Default: Returns all appointments if **validFor** is not provided. |
| validFor.endDateTime | End date and time of the appointment. Only appointments with the specified end date and time are returned in the response.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. Table: Location \[cmn\_location\] |
| validFor.startDateTime | Start date and time of the appointment. Only appointments with the specified start date and time are returned in the response. Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. Table: Location \[cmn\_location\] |
| Name | Description |
|---|---|
| creationDate | Date and time that the appointment was created.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| href | Unique reference link of the appointment. You can use this link in another request to get an appointment.Data type: String |
| id | Sys\_id of the appointment that was rescheduled.Data type: String Stored in: Appointment booking \[sn\_apptmnt\_booking\_appointment\_booking\] table |
| lastUpdate | Date and time the appointment was last updated.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| reason | Purpose for updating the appointment.Possible values: - "Appointment rescheduled.": The PATCH method was used to reschedule the appointment. - "The appointment \(id\) is successfully cancelled.": The PATCH method was used to cancel the appointment. Data type: String |
| relatedParty | Customer details of the associated appointment.Data type: Array of Objects ``` "relatedParty": [ { "@referredType": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.id | Sys\_id of the customer contact.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.name | Name of the customer contact.Data type: String |
| relatedPlace.@referredType | Type of customer.Data type: String Only possible value: Individual |
| relatedParty.role | Role of the contact.Data type: String Only possible value: Contact |
| success | Flag that indicates whether the request was successful.Possible values: - true: The appointment was successfully rescheduled. - false: The appointment couldn't be rescheduled. Data type: Boolean |
| Name | Description |
|---|---|
| category | Required. Sys\_id of the record producer configured for the appointment booking service configuration. Data type: String Table: In the Catalog Item field of the Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table. |
| relatedEntity | Required. List of impacted work orders to associate with the appointment.Data type: Array of Objects ``` "relatedEntity": [ { "@referredType": "String" "id": "String", } ] ``` |
| relatedEntity.@referredType | Required. Type of item or service. Only valid value: WorkOrder Data type: String Table: Work Order \[wm\_order\] |
| relatedEntity.id | Required. Sys\_id of the related entity.Data type: String Table: workOrder \[wm\_order\] Default: Returns all if sys\_id is not provided. |
| relatedEntity.role | Required. Role description of the related entity. Only valid value: work order Data type: String Table: Work Order \[wm\_order\] |
| relatedParty | Required. List of contacts for the appointment. Each contact is an object in the array. The request must list at least one item which contains customer account information.Data type: Array of Objects ``` "relatedParty": [ { "@referredType": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@referredType | Type of customer. Only valid value: Individual Data type: String |
| relatedParty.id | Required. Sys\_id or external\_id of the contact associated with the work order. Data type: String Table: Contact \[customer\_contact\] |
| relatedParty.name | Name of the contact.Data type: String Table: Contact \[customer\_contact\] |
| relatedParty.role | Required. Role of the contact.Possible values: - customer: The contact has a customer role. - technician: The contact has a technician role. Data type: String Table: Contact \[customer\_contact\] |
| relatedPlace | Required. List of the locations related to the appointment.Data type: Array of Objects ``` "relatedPlace": [ { "@referredType": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedPlace.@referredType | Required. Type of location. For example, City.Data type: String Table: Locations \[cmn\_location\] |
| relatedPlace.id | Required. Sys\_id of the related location.Data type: String Table: Locations \[cmn\_location\] |
| relatedPlace.name | Name of the location related to the contact. For example, 251 Reddy St, Darwin, CA 93522.Data type: String Table: Locations \[cmn\_location\] |
| relatedPlace.role | Required. Description of the location role. For example, work order.Data type: String |
| timeZone | Required. Time zone to use when booking the specified appointment slot.Date type: String Format: Country/city or area format, such as US/Eastern |
| validFor | Required. Date range the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String", "startDateTime": "String" } ``` |
| validFor.endDateTime | Required. End date and time of the time slot. Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| validFor.startDateTime | Required. Start date and time of the time slot. Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| Name | Description |
|---|---|
| category | Sys\_id of the record producer configured for the appointment booking service configuration. Data type: String Stored in: Catalog Item field of the Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table. |
| creationDate | Date and time that the appointment was created.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| href | Hyperlink to the appointment record. Use this link in another Appointment Open API request to reschedule or delete the appointment.Data type: String |
| id | Sys\_id of the appointment.Data type: String Stored in: Appointment Booking Service Configuration \[sn\_apptmnt\_booking\_service\_config\] table |
| lastUpdate | Date and time the appointment was last updated.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| relatedEntity | Details about the related entity of the appointment.Data type: Array of Objects ``` "relatedEntity": [ { "@referredType": "String", "id": "String", "role": "String" } ] ``` |
| relatedEntity.@referredType | Type of item or service.Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedEntity.id | Sys\_id of the related entity.Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedEntity.role | Role description of the related entity. Possible value: work order Data type: String Stored in: workOrder \[wm\_order\] table |
| relatedParty | List of contacts for the appointment. Each contact is an object in the array.Data type: Array of Objects ``` "relatedParty": [ { "@referredType": "String", "id": "String", "name": " String", "role": "String" } ] ``` |
| relatedParty.@referredType | Type of customer.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.id | Sys\_id of the customer contact associated with the work order.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.name | Name of the customer contact.Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedParty.role | Role of the customer contact.Possible values: - customer: The contact has a customer role. - technician: The contact has a technician role. Data type: String Stored in: Contact \[customer\_contact\] table |
| relatedPlace | Location details of the associated appointment.Data type: Object ``` "relatedPlace": { "@referredType": "String", "id": "String", "name": "String", "role": "String" } ``` |
| relatedPlace.@referredType | Geographic address of the appointment. Possible value: GeographicLocation. Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.id | Sys\_id of the location. Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.name | Name of the location related to the contact. For example, 100 South Charles Street, Baltimore, MD.Data type: String Stored in: Location \[cmn\_location\] table |
| relatedPlace.role | Role of the appointment location as an intervention address.Possible value: InterventionAddress Data type: String Stored in: Location \[cmn\_location\] table |
| success | Flag that indicates whether the request was successful.Possible values: - true: Request succeeded. - false: Request failed. Data type: Boolean |
| timeZone | Time zone used when booking or updating the specified appointment slot.Date type: String Format: Country/city or area format, such as US/Eastern |
| validFor | Date range that the appointment is valid for.Data type: Object ``` "validFor": { "endDateTime": "String" "startDateTime": "String" } ``` |
| validFor.endDateTime | End date and time of the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |
| validFor.startDateTime | Start date and time of the appointment.Data type: String Format: YYYY-MM-DD 00:00:00. For example, 2025-01-31 09:35:43. |