Remote help request API
-
- UpdatedJan 30, 2025
- 11 minutes to read
- Yokohama
- API reference
The Remote help request API provides endpoints to create, view, and fetch lists of IT service requests and their details from an electronic medical record (EMR) system. An IT service request is associated with a task type such as an incident in the ServiceNow instance.
You can only use this API when the EMR Help application (sn_ind_rmt_help) is installed from the ServiceNow Store. Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Role required to access the endpoints of this API: sn_ind_rmt_help.requester.
Remote help request - POST /remote_help_request/{req_defn_id}
Inserts electronic medical record (EMR) system data into the corresponding ServiceNow tables.
You need to specify a request definition ID in addition to the parameters for the task and additional data from the EMR system persisted in the request data table associated with the task. You pass two types of data into this endpoint. The first is the request data, which the endpoint inserts into the Remote Request Data [sn_ind_rmt_help_request_data] table and its associated child tables. The second is the task parameters of the IT service request, which the endpoint inserts into the Remote Request Parameter [sn_ind_rmt_help_request_param] table. Only data or fields that are defined in the request definitions are processed by the endpoint. For additional information on this data model, see EMR Help data model.
Records are identified using the request definition ID.
URL format
Versioned URL: /api/sn_ind_rmt_help/{api_version}/remote_help_request/{req_defn_id}
Default URL: /api/sn_ind_rmt_help/remote_help_request/{req_defn_id}
Supported request parameters
Name | Description |
---|---|
api_version | Optional. Version of the endpoint to access. For example, v1 or v2. Only specify this value to use an endpoint version other than the
latest.
Data type: String |
req_defn_id | Unique ID of the request definition. Data type: String Table: In the ID column of the Remote Request Definition [sn_ind_rmt_help_request_defn] table. |
Name | Description |
---|---|
None |
Name | Description |
---|---|
request_data | Required. Name-value pairs of the request data from the EMR system to add in the Remote Request Data [sn_ind_rmt_help_request_data] table and its child tables. For example: Note: Only pass parameters configured in a request definition in the request_data object. Any other parameters are ignored. To learn more, see Configure request definitions for EMR systems. Data type: Object |
source | Required. Name of the EMR system invoking the endpoint as specified in a request definition. For example: Data type: String |
task_parameters | Required. Name-value pairs that describe the task parameters of the IT service request. Each element in the object corresponds to a column in the corresponding task tables such as the Incident [incident]
table. For example: Note: Only pass parameters configured in a request definition in the task_parameters object. Any other parameters are ignored. To learn more, see Configure request definitions for EMR systems. Data type: Object |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the response body. Only supports application/json. |
Content-Type | Data format of the request body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code | Description |
---|---|
200 | Successful. The request was successfully processed. |
401 | Unauthorized. The user credentials are incorrect or have not been passed. |
500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
Response body parameters (JSON)
Example: cURL request
Insert data from a Cerner EMR system.
The following output shows both a successful response and an error response.
Remote help request - PUT /remote_help_request/{req_defn_id/task/{task_id}
Updates a record in the specified remote request data table for the task.
Enables you to specify a request definition ID in addition to the task sys_id to update a remote request that was created earlier.
URL format
Versioned URL: /api/sn_ind_rmt_help/{api_version}/remote_help_request/{req_defn_id/task/{task_id}
Default URL: /api/sn_ind_rmt_help/remote_help_request/{req_defn_id/task/{task_id}
Supported request parameters
Name | Description |
---|---|
api_version | Optional. Version of the endpoint to access. For example, v1 or v2. Only specify this value to use an endpoint version other than the
latest.
Data type: String |
req_defn_id | Unique ID of the request definition. Data type: String Table: In the ID column of the Remote Request Definition [sn_ind_rmt_help_request_defn] table. |
task_id | Sys_id of the task to update. This field is provided by the EMR system. Data type: String |
Name | Description |
---|---|
None |
Name | Description |
---|---|
request_data | Required. Name-value pairs of the request data from the EMR system to update the Remote Request Data [sn_ind_rmt_help_request_data] table or its child table. For example: Note: Only pass parameters configured in a request definition in the request_data object. Any other parameters are ignored. To learn more, see Configure request definitions for EMR systems. Data type: Object |
source | Required. Name of the EMR system invoking the endpoint as specified in a request definition. For example: Data type: String |
task_parameters | Required. Name-value pairs that describe the task parameters of the IT service request. Each element in the object corresponds to a column in the corresponding task tables such as the Incident [incident]
table. For example: Note: Only pass parameters configured in a request definition in the task_parameters object. Any other parameters are ignored. To learn more, see Configure request definitions for EMR systems. Data type: Object |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the response body. Only supports application/json. |
Content-Type | Data format of the request body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code | Description |
---|---|
200 | Successful. The request was successfully processed. |
401 | Unauthorized. The user credentials are incorrect or have not been passed. |
500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
Response body parameters (JSON)
Example: cURL request
Update an IT service request created earlier in a Cerner EMR system
The following output shows both a successful response and an error response.
Remote help request - GET /remote_help_request/{req_defn_id}
Fetches a list of tasks that match the specified ID and query filter.
- Reference and choice type fields are always returned as JSON objects with the value and display_value.
- DateTime fields are returned as strings and always in UTC.
URL format
Versioned URL: /api/sn_ind_rmt_help/{api_version}/remote_help_request/{req_defn_id}
Default URL: /api/sn_ind_rmt_help/remote_help_request/{req_defn_id}
Supported request parameters
Name | Description |
---|---|
api_version | Optional. Version of the endpoint to access. For example, v1 or v2. Only specify this value to use an endpoint version other than the
latest.
Data type: String |
req_defn_id | Unique ID of the request definition to update. Data type: String Table: In the ID column of the Remote Request Definition [sn_ind_rmt_help_request_defn] table. |
Name | Description |
---|---|
query | Required. Encoded query used to
filter the result set. Data type: String |
Name | Description |
---|---|
None |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the response body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code | Description |
---|---|
200 | Successful. The request was successfully processed. |
401 | Unauthorized. The user credentials are incorrect or have not been passed. |
500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
Response body parameters (JSON)
Example: cURL request
Fetch data from a Cerner EMR system
The following output shows both a successful response and an error response.
Remote help request - GET /remote_help_request/{req_defn_id}/task/{task_id}
Fetches a single task as specified in the task_id.
- Reference and choice type fields are always returned as JSON objects with the value and display_value.
- DateTime fields are returned as strings and always in UTC.
- Only additional comments are supported in journal type fields.
- Additional comments are passed back as a JSON array of objects. Each object represents a comment with created_on, created_by, and value fields. The latest comments are sent first.
URL format
Versioned URL: /api/sn_ind_rmt_help/{api_version}/remote_help_request/{req_defn_id}/task/{task_id}
Default URL: /api/sn_ind_rmt_help/remote_help_request/{req_defn_id}/task/{task_id}
Supported request parameters
Name | Description |
---|---|
api_version | Optional. Version of the endpoint to access. For example, v1 or v2. Only specify this value to use an endpoint version other than the
latest.
Data type: String |
req_defn_id | Unique ID of the request definition. Data type: String Table: In the ID column of the Remote Request Definition [sn_ind_rmt_help_request_defn] table. |
task_id | Sys_id of the task to return. This field is provided by the EMR system. Data type: String |
Name | Description |
---|---|
None |
Name | Description |
---|---|
None |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the response body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code | Description |
---|---|
200 | Successful. The request was successfully processed. |
401 | Unauthorized. The user credentials are incorrect or have not been passed. |
500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
Response body parameters (JSON)
Example: cURL request
Fetch data from a Cerner EMR system
The following output shows both a successful response and an error response.