Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Background

This REST API is meant to provide all teams in UpRaise company directory. The response is returned only for active teams.

API Details

  • This API will require valid authentication & will expect the user API token in the request.

Request

Below are the endpoints for this API based on which UpRaise app you are using

App name

Endpoint

UpRaise for Employee Success

https://employee-success.upraise.io/rest/upraise/public/1.0/directory/teams

UpRaise People

https://people.upraise.io/rest/upraise/public/1.0/directory/teams

UpRaise Employee Garrison

https://garrison.upraise.io/rest/upraise/public/1.0/directory/teams

Sample JSON response

{
  "startAt": 0,
  "maxResults": 25,
  "total": 2,
  "results": [
    {
      "id": 1397,
      "name": "QA Team",
      "description": "This team is responsible for the QA of different apps.",
      "descriptionInHtml": "<div><p>This team is responsible for the QA of different apps.</p></div>",
      "teamLead": {
        "id": 30843,
        "jiraUserRestApiUrl": "https://qa-shweta-22.atlassian.net/rest/api/2/user?accountId=557058:c2609d00-1e17-4d01-99f4-9b4ba05d138c"
      },
      "parentTeam": {
        "id": 1399,
        "name": "UpRaise team"
      },
      "type": {
        "id": 5919,
        "name": "Software Teams"
      },
      "unit": {
        "id": 307,
        "name": "GR-01"
      },
      "teamMembersCount": 4,
      "jiraGroupCount": 2
    },
    {
      "id": 1399,
      "name": "UpRaise team",
      "unit": {
        "id": 307,
        "name": "GR-01"
      },
      "teamMembersCount": 2,
      "jiraGroupCount": 0
    }
  ]
}

Response parameters

Parent

Parameter

Type

Description

Possible values

startAt

Number

This will show the starting index for the search results.

0, 1, 2, 3, etc.

maxResults

Number

This will show the max number of results on any given page.

Maximum allowed value of 50. If more than 50 value is sent in the request, the app will consider 50.

total

Number

This will indicate how many results in total exist for the given search.

Any number

results

Object

This object contains all the results of the teams retrived from this API

id

Number

Team’s id in UpRaise

1, 23, 45, etc.

name

String

Team’s name

Sales, Customer Success, etc.

description

String

Team’s description in UpRaise

Eg. At [Company Name], our Customer Success Team is dedicated to empowering our users to achieve their goals and maximize their value from our products.

descriptionInHtml

String

Team’s description in HTML

<div><p>At [Company Name], our Customer Success Team is dedicated to empowering our users to achieve their goals and maximize their value from our products.</p></div>

teamLead

Object

This object contains the details of user who is team lead of the current team.

  • id

  • jiraUserRestApiUrl

teamLead

id

Number

User ID of the team lead

teamLead

jiraUserRestApiUrl

String

Jira user Rest API URL

<baseURL>/rest/api/2/user?accountId=557058:c2609d00-1e17-4d01-99f4-9b4ba05d138c

parentTeam

Object

This object contains the details of user who is parent team of the current team.

  • id

  • name

parentTeam

id

Number

UpRaise team ID of parent team

23. 25. etc.

parentTeam

name

String

UpRaise name of parent team

Sales, HR, etc.

type

String

Team type of the parent team

  • id

  • name

type

id

Number

ID of the team type

12, 78, etc.

type

name

String

Name of the team type

Operations, Department, Products, Technology, etc.

unit

Object

This object contains the parameters of UpRaise unit

  • id

  • name

unit

id

Number

Unit id to which the team belogs to

12, 78, etc.

unit

name

String

Unit name to which the team belongs to

Asia, Business, etc.

teamMembersCount

Number

Number of team memebers in the team

12, 70, etc.

jiraGroupCount

Number

Number of Jira groups associated with team

4, 6, etc.

  • No labels