In this section
Add response to a problem
Adds a response to a problem.
Notes
- For attachments, files must be converted to bytes stream with base64-encoding.
- The default creator (OpsRamp API User) can send id and loginName to change the default.
- Based on the setting Make default submission status of a pending request as open, the status of the Pending request will change to Open.
- A file attachment is limited to 50MB.
Add response to a service request
Adds a response to a service request.
Notes
- For attachments, files must be converted to bytes stream with base64-encoding.
- The default creator (OpsRamp API User) can send id and loginName to change the default.
- Based on the setting Make default submission status of a pending request as open, the status of the Pending request will change to Open.
- A file attachment is limited to 50MB.
- Date format is yyyy-MM-ddTHH:mm:ssZ (GMT).
Add response to a time bound request
Adds a response to a time bound request.
Notes
- For attachments, files must be converted to bytes stream with base64-encoding.
- The default creator (OpsRamp API User) can send id and loginName to change the default.
- Based on the setting Make default submission status of a pending request as open, the status of the Pending request will change to Open.
- A file attachment is limited to 50MB.
- Date format is yyyy-MM-ddTHH:mm:ssZ (GMT).
Add response to an incident
Adds a response to an incident.
Notes
- For attachments, files must be converted to bytes stream with base64-encoding.
- The default creator (OpsRamp API User) can send id and loginName to change the default.
- Based on the setting Make default submission status of a pending request as open, the status of the Pending request will change to Open.
- A file attachment is limited to 50MB.
- Date format is yyyy-MM-ddTHH:mm:ssZ (GMT).
Add response to change request
Adds a response to a change request.
Notes
- For attachments, files must be converted to bytes stream with base64-encoding.
- The default creator (OpsRamp API User) can send id and loginName to change the default.
- Based on the setting Make default submission status of a pending request as open, the status of the Pending request will change to Open.
- A file attachment is limited to 50MB.
- Date format is
yyyy-MM-ddTHH:mm:ssZ (GMT)
.
Add response to task
Adds a response to a task.
Notes
- For attachments, files must be converted to bytes stream with base64-encoding.
- The default creator (OpsRamp API User) uses id and loginName to change default settings.
- Make default submission status of a pending request as open, the status of the incident which is in Pending status will change to Open status.
- The maximum file attachment size is 50MB.
Close change request
Closes a change request.
Follow the steps before closing a change request:
Step 1: Check the status flow transition for Closed.
- Login to OpsRamp.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Flows.
- Check the status flow for the entity Change Request.
- Check the transition of the status Closed. If Closed is available this indicates the change request can be closed; otherwise, the change request cannot be closed.
Step 2: Provide the reason for changing the status.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Change Reasons and then click Add.
- Select the scope, client, request type and entity status as Closed, provide the reason and then click Submit.
Step 3: Enable the option to provide reason for closing a change request. This is normally an optional step. However, this step is required to provide a reason for closing the change request.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Settings.
- Select client and then click Customize.
- In Incident Request section, select option Enable reasons to change status Close and then click Save.
Notes
- Use the get change request API to check if status Closed and reasons to provide for Close are enabled. If under the field allowedStatus if name: Closed and reasonsEnabled: true, this indicates reasons should be provided for closing an incident.
- Use the get status change reasons API to provide the reasons to Close. The reasons configured in status: Closed are accepted, but a new provided reason would result in an error.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Close incident
Closes an incident.
Follow the steps before closing an incident:
Step 1: Check the status flow transition for Closed.
- Login to OpsRamp.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Flows.
- Check the status flow for the entity Incidents.
- Check the transition of the status Closed. If Closed is available this indicates the incident can be closed; otherwise, the incident cannot be closed.
Step 2: Provide the reason for changing the status.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Change Reasons and then click Add.
- Select the scope, client, request type and entity status as Closed, provide the reason and then click Submit.
Step 3: Enable the option to provide reason for closing an incident. This is normally an optional step. However, this step is required to provide a reason for closing the incident.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Settings.
- Select client and then click Customize.
- In Incident Request section, select option Enable reasons to change status Close and then click Save.
Notes
- Use the get incident API to check if status Closed and reasons to provide for Close are enabled. If under the field allowedStatus if name: Closed and reasonsEnabled: true, this indicates reasons should be provided for closing an incident.
- Use the get status change reasons API to provide the reasons to Close. The reasons configured in status: Closed are accepted, but a new provided reason would result in an error.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Close problem
Closes a problem.
Follow the steps before closing a problem:
Step 1: Check the status flow transition for Closed.
- Login to OpsRamp.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Flows.
- Check the status flow for the entity Problems.
- Check the transition of the status Closed. If Closed is available this indicates the problem can be closed; otherwise, the problem cannot be closed.
Step 2: Provide the reason for changing the status.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Change Reasons and then click Add.
- Select the scope, client, request type and entity status as Closed, provide the reason and then click Submit.
Step 3: Enable the option to provide reason for closing a problem.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Settings.
- Select client and then click Customize.
- In Problem Settings section, select option Enable reasons to change status Close and then click Save.
Notes
- Use the get problem API to check if status Closed and reasons to provide for Close are enabled. If under the field allowedStatus if name: Closed and reasonsEnabled: true, this indicates reasons should be provided for closing a problem.
- Use the get status change reasons API to provide the reasons to Close. The reasons configured in status: Closed are accepted, but a new provided reason would result in an error.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Close service request
Closes a service request.
Follow the steps before closing a service request:
Step 1: Check the status flow transition for Closed.
- Login to OpsRamp.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Flows.
- Check the status flow for the entity Service Request.
- Check the transition of the status Closed. If Closed is available this indicates the service request can be closed; otherwise, the service request cannot be closed.
Step 2: Provide the reason for changing the status.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Change Reasons and then click Add.
- Select the scope, client, request type and entity status as Closed, provide the reason and then click Submit.
Step 3: Enable the option to provide reason for closing a service request.
This is normally an optional step. However, this step is required to provide a reason for closing the service request.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Settings.
- Select client and then click Customize.
- In Problem Settings section, select option Enable reasons to change status Close and then click Save.
Notes
- Use the get service request API to check if status Closed and reasons to provide for Close are enabled. If under the field allowedStatus if name: Closed and reasonsEnabled: true, this indicates reasons should be provided for closing a service request. -Use the get status change reasons API to provide the reasons to Close. The reasons configured in status: Closed are accepted, but a new provided reason would result in an error.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Close task
Closes a task.
Perform these steps prior to closing a task:
- To enable the option to provide reason for closing a task:
- Log into OpsRamp.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Settings.
- Select client and then click Customize.
- In Tasks Settings section, select option Enable reasons to change status Close and then click Save.
- Check the status flow transition for Closed.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Flows.
- Check the status flow for the entity Tasks and check the transition of the status Closed. If Closed is unavailable, this indicates the task cannot be closed.
- Provide the reason for changing the status:
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Change Reasons.
- Click Add,
- Select the scope, client, request type and entity status as Closed, provide the reason and click Submit.
- Use Get Task API to check if status Closed and reasons to provide for Close are enabled. In sample response, in the field allowedStatus if name: Closed and reasonsEnabled: true, this indicates reasons should be provided for closing a task.
- Use the Get status change reasons API to provide reasons to Close. Only status: Closed reason is accepted, any other reason would result in an error.
Close time bound request
Closes a time bound request.
Follow the steps before closing a time bound request:
Step 1: To enable the option to provide reason for closing a time bound request.
- Log into OpsRamp.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Settings.
- Select client and then click Customize.
- In the Time Bound Request section, select option Enable reasons to change status Close and then click Save.
Step 2: Check the status flow transition for Closed.
- Click Setup.
- On the left-hand panel, click Service Desk.
- In Configuration, click Status Flows.
- Check the status flow for the entity Time Bound and check the transition of the status Closed.
- If Closed is unavailable, this indicates the time bound request cannot be closed.
Step 3: Provide the reason for changing the status.
- Click Setup.
- On the left-hand side panel, click Service Desk.
- In Configuration, click Status Change Reasons.
- Click Add, select the scope, client, request type, entity status as Closed and provide the reason and then click Submit.
Notes
- Use the get time bound request to check if status Closed and reasons to provide for Close are enabled. If under the field allowedStatus if name: Closed and reasonsEnabled: true, this indicates reasons should be provided for closing a time bound request.
- Use the get status change reasons to provide the reasons to Close. The reasons configured in status: Closed are accepted, but a new provided reason would result in an error.
Create and get ticket notes
Creates and gets ticket notes.
Create change request
Creates a change request.
Create change request categories
Creates categories for the change request entity type.
Creating categories and sub-categories helps organize identical change requests. This provides clarity and access to granularity of data. For example, a network category could help track how many network-related change requests are triggered in a week.
Create incident
Creates an incident.
Below are the steps to attach a business impact and urgency to an incident.
Step 1: Create the business impact and urgency from OpsRamp.
Instructions to create business impact:
- Login to OpsRamp.
- Click Setup.
- On the left-hand side panel click Service Desk.
- Click Business Impacts, select the client, and select the business impact status.
- Click Add, provide name and description. Click Create.
Instructions to create Urgency:
- Click Setup.
- On the left-hand side panel and click Service Desk.
- Click Urgencies, select the client and then select the urgency status.
- Click Add, provide the name and description and then click Create.
Step 2: Use Get Business Impacts and Get Urgencies to fetch the business impacts and urgencies created.
Step 3: Provide the IDs in the request payload.
Create incident categories
Creates categories for the incident entity type.
Create problem
Creates a problem.
Create problem categories
Creates categories for the problem entity type.
Creating categories and sub-categories helps organize identical problems. This provides clarity and access to granularity of data. For example, a network category could help track how many network-related problems are triggered in a week.
Create service request
Creates a service request.
Create service request categories
Creates categories for the service request entity type.
Creating categories and sub-categories helps organize identical service requests. This provides clarity and access to granularity of data. For example, a network category could help track how many network-related service requests are triggered in a week.
Create task
Creates a task.
Create time bound request
Creates a time bound request.
Sample URLs
https://{api-url}/api/v2/tenants/client_7/timeBoundRequests
|Timezones|Timezones|Timezones| |——–| |Pacific/Asia|Pacific/Honolulu|America/Anchorage| |America/Los_Angeles|America/Denver|America/Chicago| |America/New_York|America/Puerto_Rico|America/St_Johns| |America/Buenos_Aires|Atlantic/Azores|GMT| |Europe/Paris|Europe/Istanbul|Africa/Addis_Ababa| |Asia/Tehran|Asia/Yerevan|Asia/Karachi| |Asia/Calcutta|Asia/Dacca|Asia/Saigon| |Asia/Shanghai|Asia/Tokyo|Australia/Darwin| |Australia/Sydney|Pacific/Guadalcanal|Pacific/Auckland|
Schedule Pattern Types
Define the time duration for the time bound request to occur once or repeatedly.
Define the time bound request to occur for one-time only:
{
"type": "one-time",
"startTime": "2016-04-10T12:15:00+0000",
"endTime": "2016-04-10T12:15:00+0000",
"timezone": "America/Los_Angeles"
}
Define the time bound request to occur repeatedly:
{
"type": "recurring",
"startTime": "2016-04-10T12:15:00+0000",
"endTime": "2016-04-10T12:15:00+0000",
"timezone": "America/Los_Angeles",
"pattern": {
"type": "daily",
"dayFrequency": "everyday"
}
}
Below are the recurrence schedule pattern types:
- Daily
"pattern": {
"type": "daily",
"dayFrequency": "everyday"
}
- Weekly
"pattern": {
"type": "weekly",
"weekDays": "Monday"
}
- Monthly
"pattern": {
"type": "monthly",
"dayOfMonth": "1",
"weekIndex": "First",
"dayOfWeek": "Monday"
}
Download change request response attachment
Downloads the response attachment attached to a change request.
Download incident response attachment
Downloadsthe response attached to an incident.
Download problem response attachment
Downloads the response attached to a problem.
Download service request response attachment
Downloads the response attached to a service request.
Download task response attachment
Downloads the response attached to a task.
Download time bound request response attachment
Downloads the response attached to a time bound request.
Get activity log of a change request
Gets user activities on a change request.
Notes
- (+) represents the next field and must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Get activity log of a problem
Gets user activities on a problem.
Notes
- (+) represents the next field and must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Get activity log of a service request
Gets user activities on a service request.
Notes
- (+) represents the next field and must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Get activity log of a task
Gets a list of user activities on a task..
Notes
- (+) represents the next field and must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Get activity log of a time bound request
Gets user activities on a time bound request.
Get activity log of an incident
Gets user activities on an incident.
Notes
- (+) represents the next field and must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Get change request custom form
Gets the custom form for a change request.
Notes
Identify if the field is either a custom default field: customField: false/true.
- customField: True indicates the field is a custom field
- customField: False indicates the field is a default field
Get change request responses
Gets responses of a change request.
Notes
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
. - Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
Get custom field
Gets the details of a custom field.
Use the supported entities along with their class code:
Entity | Class Code |
---|---|
Service request | SERVICEREQUEST |
Time-bound request | ACSTICKET |
Task | TASK |
Incident | INCIDENT |
Problem | PROBLEM |
Change request | CHANGE |
Scheduled tasks | SCHEDULEDTASK |
User | USER |
Knowledge base article | KBARTICLE |
Custom fields are user defined fields to include additional information of the entity.
Get custom fields
Gets details of custom fields attached to an entity.
Use the supported entities along with their class code:
Entity | Class Code |
---|---|
Service request | SERVICEREQUEST |
Time-bound request | ACSTICKET |
Task | TASK |
Incident | INCIDENT |
Problem | PROBLEM |
Change request | CHANGE |
Scheduled tasks | SCHEDULEDTASK |
User | USER |
Knowledge base article | KBARTICLE |
Create custom fields for the entity and then use this endpoint to get the list of configured custom fields.
To create an ITSM entity, both Subject and Description are mandatory fields. Requested By, Assignee Group, and the other fields are optional. To include additional information, create custom fields for the respective entity from the following types of custom fields:
- Drop-down
- Text
- Multi-line text
- Numeric
- Checkbox
- Date
- Date-time
Get incident custom form
Gets the custom form for an incident.
Notes
Identify if the field is either a custom default field: customField: false/true.
- customField: True indicates the field is a custom field
- customField: False indicates the field is a default field
Get incident responses
Gets responses of an incident.
Query Variables
Query Variable | Values | Description |
---|---|---|
startCreationDate | NA | Filter response with request creation date. Provide from date. Example: 2016-03-29T10:15:55 0000 (GMT) |
endCreationDate | NA | Filter response with request creation date. Provide to date. Example: 2016-03-31T11:20:55 0000 (GMT) |
internal | true, false | Internal or universal responses: - If internal=true gets only the internal responses. - If internal=false gets global responses. - By default it gets all responses of the ticket. |
Notes
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
. - Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Get problem custom form
Gets the custom form for a problem.
Notes
Identify if the field is either a custom default field: customField: false/true.
- customField: True indicates the field is a custom field
- customField: False indicates the field is a default field
Get problem responses
Gets responses of a problem.
Query Variables
Query Variable | Values | Description |
---|---|---|
startCreationDate | NA | Filter response with request creation date. Provide from date. Example: 2016-03-29T10:15:55 0000 (GMT) |
endCreationDate | NA | Filter response with request creation date. Provide to date. Example: 2016-03-31T11:20:55 0000 (GMT) |
internal | true, false | Internal or universal responses: - If internal=true gets only the internal responses. - If internal=false gets global responses. - By default it gets all responses of the ticket. |
Notes
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
. - Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Get service desk list of categories
Gets the list of categories for an entity type.
Get service request custom form
Gets the custom form for a service request.
Notes
Identify if the field is either a custom default field: customField: false/true.
- customField: True indicates the field is a custom field
- customField: False indicates the field is a default field
Get service request responses
Gets responses of a service request.
Query Variables
Query Variable | Values | Description |
---|---|---|
startCreationDate | NA | Filter response with request creation date. Provide from date. Example: 2016-03-29T10:15:55 0000 (GMT) |
endCreationDate | NA | Filter response with request creation date. Provide to date. Example: 2016-03-31T11:20:55 0000 (GMT) |
internal | true, false | Internal or universal responses: - If internal=true gets only the internal responses. - If internal=false gets global responses. - By default it gets all responses of the ticket. |
Notes
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
. - Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Get SLA policy
Gets the details of a service level agreement policy.
Notes
- Sample responses for response time, resolution breach time, resolution remainders, and response remainders use seconds format.
- SLA Polices are valid only for incident and service request ticket types.
Get task responses
Gets responses of a task.
Query Variables
Query Variable | Values | Description |
---|---|---|
startCreationDate | NA | Filter response with request creation date. Provide from date. Example: 2016-03-29T10:15:55 0000 (GMT) |
endCreationDate | NA | Filter response with request creation date. Provide to date. Example: 2016-03-31T11:20:55 0000 (GMT) |
internal | true, false | Internal or universal responses: - If internal=true gets only the internal responses. - If internal=false gets global responses. - By default it gets all responses of the ticket. |
Notes
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
.- Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Get ticket status change reasons
Gets ticket status change reasons.
Get time bound responses
Gets responses of a time bound request.
Query Variables
Query Variable | Values | Description |
---|---|---|
startCreationDate | NA | Filter response with request creation date. Provide from date. Example: 2016-03-29T10:15:55 0000 (GMT) |
endCreationDate | NA | Filter response with request creation date. Provide to date. Example: 2016-03-31T11:20:55 0000 (GMT) |
internal | true, false | Internal or universal responses: - If internal=true gets only the internal responses. - If internal=false gets global responses. - By default it gets all responses of the ticket. |
Notes
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
.- Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Get time-bound request custom form
Gets the custom form for a time-bound request.
Notes
Identify if the field is either a custom default field: customField: false/true.
- customField: True indicates the field is a custom field
- customField: False indicates the field is a default field
Manage change request
Gets and update change requests.
Manage forward mapping
Creates, updates, and gets forward mapping.
Manage incident
Updates and Gets incidents.
Manage incident business impact
Creates and gets an incident business impact.
Manage incident urgency
Create and gets urgencies for an incident.
Manage problem
Updates and gets a problem
Manage reverse mapping
Creates, updates, and gets reverse mappings.
Manage service request
Updates and gets a service request.
Manage ticket notes by ID
Updates, gets, and deletes ticket notes by ID.
Search change requests
Searches for change requests.
Search incidents
Searches for incidents.
Notes
The request parameter include is required to get the following information in the response:
- Custom fields
- Status flow.
Query Variables
Field | Default Value |
---|---|
uniqueId | ID of the incident. Example: CHG0000002401 |
status | Current status of incident. Supported values: New, Open, Pending, Resolved, Closed, and On Hold. Example: Closed, Resolved |
priority | Current priority of incident. Supported values: Low, Normal, High, Urgent, and Very Low Example: High, Urgent |
subject | A short summary of incident. Example: incident from Alert. |
assignedTo | User who has been assigned incident. Example: USR0000000129 |
requester | User who requests the incident. Example: USR0000000129 |
startCreationDate | Filter incident with the creation date. Provide the from date. Example: 2016-07-26T14:49:44 0000 (GMT) |
endCreationDate | Provide the to date. Example: 2016-07-28T07:12:19 0000 (GMT) |
startUpdationDate | Filter incident with the updation date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endUpdationDate | Provide the to date. Example: 2016-08-15T10:40:20 0000 (GMT) |
oldStatus | Previous status of incident. Supported values: New, Open, Pending, Resolved, and On Hold Example: Resolved |
oldPriority | Previous priority of incident. Supported values: Low, Normal, High, Urgent, and Very Low Example: Urgent |
deviceId | Unique ID of the device. Example: 481af404-33a6-4d61-af77-c483ca6641fa |
source | Source of the incident. Supported values: PORTAL, INTEGRATION, MOBILE, EMAIL |
sourcePolicyType | Source policy type of the incident. Supported values: AUTOINCIDENT, INTEGRATION |
firstContactFix | Problem fixed without assigning to another group. Example: true, false |
assigneeGroupIds | ID of the group to which the incident is assigned. Example: 1, 2, 3 |
minResponseTime | Minimum response time of incident. Example: 300 (time in seconds) |
maxResponseTime | Maximum response time of incident. Example: 600 (time in seconds) |
minResolutionTime | Minimum resolution time of incident. Example: 3600 (time in seconds) |
maxResolutionTime | Maximum resolution time of incident. Example: 7200 (time in seconds) |
minReOpens | Minimum number of times incident is reopened. Example: 5 |
maxReOpens | Maximum number of times incident is reopened. Example: 8 |
startClosedDate | Filter incidents with the closed date. Provide the from closed date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endClosedDate | Provide to closed date. Example: 2016-08-15T06:54:59 0000 (GMT) |
startResolvedDate | Filter incidents with the resolved date. Provide from resolved date. Example: 2016-08-12T06:49:59 0000 (GMT) |
endResolvedDate | Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT) |
extTicketId | External ticket ID. |
Search problems
Searches problems.
Notes
The request parameter include is required to get the following information in the response:
- Custom fields
- Status flow Example: include=customFields, statusFlow
Query Variables
Field | Default Value |
---|---|
uniqueId | ID of the problem. Example: CHG0000002401 |
status | Current status of problem. Supported values: New, Open, Pending, Resolved, Closed, and On Hold. Example: Closed, Resolved |
priority | Current priority of problem. Supported values: Low, Normal, High, Urgent, and Very Low Example: High, Urgent |
subject | A short summary of problem. Example: problem from Alert. |
assignedTo | User who has been assigned problem. Example: USR0000000129 |
requester | User who requests the problem. Example: USR0000000129 |
startCreationDate | Filter problem with the creation date. Provide the from date. Example: 2016-07-26T14:49:44 0000 (GMT) |
endCreationDate | Provide the to date. Example: 2016-07-28T07:12:19 0000 (GMT) |
startUpdationDate | Filter problem with the updation date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endUpdationDate | Provide the to date. Example: 2016-08-15T10:40:20 0000 (GMT) |
oldStatus | Previous status of problem. Supported values: New, Open, Pending, Resolved, and On Hold Example: Resolved |
oldPriority | Previous priority of problem. Supported values: Low, Normal, High, Urgent, and Very Low Example: Urgent |
deviceId | Unique ID of the device. Example: 481af404-33a6-4d61-af77-c483ca6641fa |
source | Source of the problem. Supported values: PORTAL, INTEGRATION, MOBILE, EMAIL |
sourcePolicyType | Source policy type of the problem. Supported values: AUTOINCIDENT, INTEGRATION |
firstContactFix | Problem fixed without assigning to another group. Example: true, false |
assigneeGroupIds | ID of the group to which the problem is assigned. Example: 1, 2, 3 |
minResponseTime | Minimum response time of problem. Example: 300 (time in seconds) |
maxResponseTime | Maximum response time of problem. Example: 600 (time in seconds) |
minResolutionTime | Minimum resolution time of problem. Example: 3600 (time in seconds) |
maxResolutionTime | Maximum resolution time of problem. Example: 7200 (time in seconds) |
minReOpens | Minimum number of times problem is reopened. Example: 5 |
maxReOpens | Maximum number of times problem is reopened. Example: 8 |
startClosedDate | Filter problems with the closed date. Provide the from closed date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endClosedDate | Provide to closed date. Example: 2016-08-15T06:54:59 0000 (GMT) |
startResolvedDate | Filter problems with the resolved date. Provide from resolved date. Example: 2016-08-12T06:49:59 0000 (GMT) |
endResolvedDate | Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT) |
extTicketId | External ticket ID. |
Notes
To view tickets created within a given date range, provide both startCreationDate and endCreationDate. Otherwise, the tickets created in the last month would be returned. There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
. - Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Search service requests
Searches for service requests.
Notes
The request parameter include is required to get the following information in the response:
- Custom fields
- Status flow Example: include=customFields, statusFlow
Query Variables
Field | Default Value |
---|---|
uniqueId | ID of the service request. Example: CHG0000002401 |
status | Current status of service request. Supported values: New, Open, Pending, Resolved, Closed, and On Hold. Example: Closed, Resolved |
priority | Current priority of service request. Supported values: Low, Normal, High, Urgent, and Very Low Example: High, Urgent |
subject | A short summary of service request. Example: service Request from Alert. |
assignedTo | User who has been assigned service request. Example: USR0000000129 |
requester | User who requests the service request. Example: USR0000000129 |
startCreationDate | Filter service request with the creation date. Provide the from date. Example: 2016-07-26T14:49:44 0000 (GMT) |
endCreationDate | Provide the to date. Example: 2016-07-28T07:12:19 0000 (GMT) |
startUpdationDate | Filter service request with the updation date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endUpdationDate | Provide the to date. Example: 2016-08-15T10:40:20 0000 (GMT) |
oldStatus | Previous status of service request. Supported values: New, Open, Pending, Resolved, and On Hold Example: Resolved |
oldPriority | Previous priority of service request. Supported values: Low, Normal, High, Urgent, and Very Low Example: Urgent |
deviceId | Unique ID of the device. Example: 481af404-33a6-4d61-af77-c483ca6641fa |
source | Source of the service request. Supported values: PORTAL, INTEGRATION, MOBILE, EMAIL |
sourcePolicyType | Source policy type of the service request. Supported values: AUTOINCIDENT, INTEGRATION |
firstContactFix | Problem fixed without assigning to another group. Example: true, false |
startResponseBreachDate | Filter service request with response breach date. Provide from date. Example: 2016-08-25T08:12:19+0000 (GMT) |
endResponseBreachDate | Provide to date. Example: 2016-09-28T10:40:20 0000 (GMT) |
startResolutionBreachDate | Filter service request with resolution breach date. Provide from date. Example: 2016-08-25T08:12:19 0000 (GMT) |
endResolutionBreachDate | Provide to date. Example: 2016-09-29T10:40:20 0000 (GMT) |
responseBreach | Response to service request beyond the time limit. Example: false |
resolutionBreach | Service request fixed within the time limit. Example: true |
assigneeGroupIds | ID of the group to which the problem is assigned. Example: 1, 2, 3 |
minResponseTime | Minimum response time of request. Example: 300 (time in seconds) |
maxResponseTime | Maximum response time of request. Example: 600 (time in seconds) |
minResolutionTime | Minimum resolution time of request. Example: 3600 (time in seconds) |
maxResolutionTime | Maximum resolution time of request. Example: 7200 (time in seconds) |
minReOpens | Minimum number of times service request is reopened. Example: 5 |
maxReOpens | Maximum number of times service request is reopened. Example: 8 |
startClosedDate | Filter service requests with the closed date. Provide the from closed date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endClosedDate | Provide to closed date. Example: 2016-08-15T06:54:59 0000 (GMT) |
startResolvedDate | Filter service requests with the resolved date. Provide from resolved date. Example: 2016-08-12T06:49:59 0000 (GMT) |
endResolvedDate | Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT) |
extTicketId | External ticket ID. |
Notes
To view tickets created within a given date range, provide both startCreationDate and endCreationDate. Otherwise, the tickets created in the last month would be returned. There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
. - Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Search SLA policies
Gets a list of all service level agreement policies along with their details.
Query Variables
Query Variable | Values | Description |
---|---|---|
queryString={queryString} | true, false | Status of the SLA policy. If active=true gets all the active SLA policiesIf active=false gets all the inactive SLA policies. |
Notes
SLA policies are valid only for incident and service request. Sample responses for response time, resolution breach time, resolution remainders, and response remainders use seconds format.
There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
.- Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Search tasks
Searches tasks.
Notes
The request parameter include is required to get the following information in the response:
- Custom fields
- Status flow Example: include=customFields, statusFlow
Query Variables
Field | Default Value |
---|---|
uniqueId | ID of the task. Example: CHG0000002401 |
status | Current status of task. Supported values: New, Open, Pending, Resolved, Closed, and On Hold. Example: Closed, Resolved |
priority | Current priority of task. Supported values: Low, Normal, High, Urgent, and Very Low Example: High, Urgent |
subject | A short summary of task. Example: task from Alert. |
assignedTo | User who has been assigned task. Example: USR0000000129 |
requester | User who requests the task. Example: USR0000000129 |
startCreationDate | Filter task with the creation date. Provide the from date. Example: 2016-07-26T14:49:44 0000 (GMT) |
endCreationDate | Provide the to date. Example: 2016-07-28T07:12:19 0000 (GMT) |
startUpdationDate | Filter task with the updation date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endUpdationDate | Provide the to date. Example: 2016-08-15T10:40:20 0000 (GMT) |
oldStatus | Previous status of task. Supported values: New, Open, Pending, Resolved, and On Hold Example: Resolved |
oldPriority | Previous priority of task. Supported values: Low, Normal, High, Urgent, and Very Low Example: Urgent |
deviceId | Unique ID of the device. Example: 481af404-33a6-4d61-af77-c483ca6641fa |
source | Source of the task. Supported values: PORTAL, INTEGRATION, MOBILE, EMAIL |
sourcePolicyType | Source policy type of the task. Supported values: AUTOINCIDENT, INTEGRATION |
firstContactFix | Problem fixed without assigning to another group. Example: true, false |
startResponseBreachDate | Filter task with response breach date. Provide from date. Example: 2016-08-25T08:12:19+0000 (GMT) |
endResponseBreachDate | Provide to date. Example: 2016-09-28T10:40:20 0000 (GMT) |
startResolutionBreachDate | Filter task with resolution breach date. Provide from date. Example: 2016-08-25T08:12:19 0000 (GMT) |
endResolutionBreachDate | Provide to date. Example: 2016-09-29T10:40:20 0000 (GMT) |
responseBreach | Response to task beyond the time limit. Example: false |
resolutionBreach | task fixed within the time limit. Example: true |
assigneeGroupIds | ID of the group to which the task is assigned. Example: 1, 2, 3 |
minResponseTime | Minimum response time of task. Example: 300 (time in seconds) |
maxResponseTime | Maximum response time of task. Example: 600 (time in seconds) |
minResolutionTime | Minimum resolution time of task. Example: 3600 (time in seconds) |
maxResolutionTime | Maximum resolution time of task. Example: 7200 (time in seconds) |
minReOpens | Minimum number of times task is reopened. Example: 5 |
maxReOpens | Maximum number of times task is reopened. Example: 8 |
startClosedDate | Filter tasks with the closed date. Provide the from closed date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endClosedDate | Provide to closed date. Example: 2016-08-15T06:54:59 0000 (GMT) |
startResolvedDate | Filter tasks with the resolved date. Provide from resolved date. Example: 2016-08-12T06:49:59 0000 (GMT) |
endResolvedDate | Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT) |
extTicketId | External ticket ID. |
Notes
To view tickets created within a given date range, provide both startCreationDate and endCreationDate. Otherwise, the tickets created in the last month would be returned. There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
.- Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Search time bound requests
Searches for time bound requests.
Notes
The request parameter include is required to get the following information in the response:
- Custom fields
- Status flow Example: include=customFields, statusFlow
Query Variables
Field | Default Value |
---|---|
uniqueId | ID of the time bound request. Example: CHG0000002401 |
status | Current status of time bound request. Supported values: New, Open, Pending, Resolved, Closed, and On Hold. Example: Closed, Resolved |
priority | Current priority of time bound request. Supported values: Low, Normal, High, Urgent, and Very Low Example: High, Urgent |
subject | A short summary of time bound request. Example: time bound request from Alert. |
assignedTo | User who has been assigned time bound request. Example: USR0000000129 |
requester | User who requests the time bound request. Example: USR0000000129 |
startCreationDate | Filter time bound request with the creation date. Provide the from date. Example: 2016-07-26T14:49:44 0000 (GMT) |
endCreationDate | Provide the to date. Example: 2016-07-28T07:12:19 0000 (GMT) |
startUpdationDate | Filter time bound request with the updation date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endUpdationDate | Provide the to date. Example: 2016-08-15T10:40:20 0000 (GMT) |
oldStatus | Previous status of time bound request. Supported values: New, Open, Pending, Resolved, and On Hold Example: Resolved |
oldPriority | Previous priority of time bound request. Supported values: Low, Normal, High, Urgent, and Very Low Example: Urgent |
deviceId | Unique ID of the device. Example: 481af404-33a6-4d61-af77-c483ca6641fa |
source | Source of the time bound request. Supported values: PORTAL, INTEGRATION, MOBILE, EMAIL |
sourcePolicyType | Source policy type of the time bound request. Supported values: AUTOINCIDENT, INTEGRATION |
firstContactFix | Problem fixed without assigning to another group. Example: true, false |
startResponseBreachDate | Filter time bound request with response breach date. Provide from date. Example: 2016-08-25T08:12:19+0000 (GMT) |
endResponseBreachDate | Provide to date. Example: 2016-09-28T10:40:20 0000 (GMT) |
startResolutionBreachDate | Filter time bound request with resolution breach date. Provide from date. Example: 2016-08-25T08:12:19 0000 (GMT) |
endResolutionBreachDate | Provide to date. Example: 2016-09-29T10:40:20 0000 (GMT) |
responseBreach | Response to time bound request beyond the time limit. Example: false |
resolutionBreach | time bound request fixed within the time limit. Example: true |
assigneeGroupIds | ID of the group to which the time bound request is assigned. Example: 1, 2, 3 |
minResponseTime | Minimum response time of time bound request. Example: 300 (time in seconds) |
maxResponseTime | Maximum response time of time bound request. Example: 600 (time in seconds) |
minResolutionTime | Minimum resolution time of time bound request. Example: 3600 (time in seconds) |
maxResolutionTime | Maximum resolution time of time bound request. Example: 7200 (time in seconds) |
minReOpens | Minimum number of times time bound request is reopened. Example: 5 |
maxReOpens | Maximum number of times time bound request is reopened. Example: 8 |
startClosedDate | Filter time bound requests with the closed date. Provide the from closed date. Example: 2016-08-12T06:54:59 0000 (GMT) |
endClosedDate | Provide to closed date. Example: 2016-08-15T06:54:59 0000 (GMT) |
startResolvedDate | Filter time bound requests with the resolved date. Provide from resolved date. Example: 2016-08-12T06:49:59 0000 (GMT) |
endResolvedDate | Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT) |
extTicketId | External ticket ID. |
Notes
To view tickets created within a given date range, provide both startCreationDate and endCreationDate. Otherwise, the tickets created in the last month would be returned. There are special characters that can be used in a query string:
- (+) represents the next field and must be URL-encoded.
- (:) represents equals. An example is
key : value
.- Space characters must be URL-encoded.
- Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT)
Update and get tasks
Updates and gets tasks.
Update and get time bound request
Updates and gets time bound requests.
Update change request category
Updates a category of the change request entity type.
Provide the unique ID of the category you would like to update. Use the get categories API to get the list of categories of the change request entity type.
In this API, the following actions can be performed on a category:
- Rename a category
- Assign child categories to a parent category
- Change the status of a parent category to a child category
A child category cannot be changed to a parent category using this API.
Do the following to change the status:
- Log into OpsRamp.
- On the left-hand side panel. Select Service Desk and then Categories.
- Select entity select Change from the drop-down.
- Click on the category name to view the category page.
- Click Edit, select category type Parent, and then click Update.
- The category is now updated as a parent category.
Update incident business impact
Updates incident business impact.
Update incident category
Updates a category of entity type incident.
In this API, the following actions can be performed on a category:
- Rename a category
- Assign child categories to a parent category -Change the status of a parent category to a child category
A child category cannot be changed to a parent category using this API.
Do the following to change the status:
- Log into OpsRamp.
- On the left-hand side panel. Select Service Desk and then Categories.
- Select entity select Change from the drop-down.
- Click on the category name to view the category page.
- Click Edit, select category type Parent, and then click Update.
- The category is now updated as a parent category.
Update problem category
Updates a category of the entity type problem.
Provide the unique ID of the category you would like to update. Use the get categories API to get the list of categories of the problem entity type.
In this API, the following actions can be performed on a category:
- Rename a category
- Assign child categories to a parent category
- Change the status of a parent category to a child category
A child category cannot be changed to a parent category using this API.
Do the following to change the status:
- Log into OpsRamp.
- On the left-hand side panel. Select Service Desk and then Categories.
- Select entity select Change from the drop-down.
- Click on the category name to view the category page.
- Click Edit, select category type Parent, and then click Update.
- The category is now updated as a parent category.
Update service request category
Updates a category of entity type service request.
In this API, the following actions can be performed on a category:
- Rename a category
- Assign child categories to a parent category
- Change the status of a parent category to a child category
A child category cannot be changed to a parent category using this API.
Do the following to change the status:
- Log into OpsRamp.
- On the left-hand side panel. Select Service Desk and then Categories.
- Select entity select Change from the drop-down.
- Click on the category name to view the category page.
- Click Edit, select category type Parent, and then click Update.
- The category is now updated as a parent category.
Update urgency
Updates urgency.