Monday, March 20, 2017

More API Options

APIThis post is for the people who build and maintain integrations with the ITRP service. Several options have been added to the REST API that may be very useful for certain integrations. All of these options use the credentials of the ITRP user to provide data that could be of specific interest to this user.

For example, an option has been added that allows the user to retrieve all organizations for which he/she is either the manager or the substitute manager.

Below you will find the complete list of new options:
  • Requests
List all requests which requested by person or requested for person is the user:
GET /requests/requested_by_or_for_me

List all requests which requested for person belonged to the same organization as the user at the time the request was created:
GET /requests/requests_of_my_organization

List all requests that are assigned to one of the teams that the user is a member of:
GET /requests/assigned_to_my_team

List all requests that are assigned to the user:
GET /requests/assigned_to_me

List all requests which requested by person is the user and which status is ‘Waiting for Customer’:
GET /requests/waiting_for_me

List all requests that were completed less than 6 months ago and which are linked to a service instance of a service for which the user is the problem manager:
GET /requests/problem_management_review

  • Knowledge Articles
List all knowledge articles that are linked to a service for which the the user is the knowledge manager:
GET /knowledge_articles/managed_by_me

  • Problems
List all problems which manager is the user:
GET /problems/managed_by_me

List all problems that are assigned to one of the teams that the user is a member of:
GET /problems/assigned_to_my_team

List all problems that are assigned to the user:
GET /problems/assigned_to_me

  • Releases
List all releases which manager is the user:
GET /releases/managed_by_me

  • Changes
List all changes which manager is the user:
GET /changes/managed_by_me

  • Tasks
List all tasks that are part of a change which manager is the user:
GET /tasks/managed_by_me

List all tasks that are assigned to one of the teams that the user is a member of:
GET /tasks/assigned_to_my_team

List all tasks that are assigned to the user:
GET /tasks/assigned_to_me

List all approval tasks that are assigned to the user and which status in different from ‘Registered’:
GET /tasks/approval_by_me

  • Projects
List all projects which manager is the user:
GET /projects/managed_by_me

  • Project Tasks
List all project tasks which manager is the user:
GET /project_tasks/managed_by_me

List all project tasks that are assigned to the user:
GET /project_tasks/assigned_to_me

List all project tasks that are assigned to the user and which status is ‘Assigned’, ‘Accepted’, ‘In Progress’ or ‘Waiting for…’:
GET /project_tasks/open_to_me

  • Products
List all products which support team is one of the teams that the user is a member of:
GET /products/supported_by_my_teams

  • Configuration Items
List all configuration items which support team is one of the teams that the user is a member of:
GET /cis/supported_by_my_teams

  • Organizations
List all organizations which manager or substitute is the user:
GET /organizations/managed_by_me

0 comments:

Post a Comment