Get Portfolios

GET /api/v1.0/subteams

This endpoint fetch list of portfolios.

Responses

  • 200 application/json

    Success Response

    Hide response attributes Show response attributes object
    • subteams array[object] Required
      Hide subteams attributes Show subteams attributes object
      • id string Required
      • name string Required
      • initials string Required
      • color string Required
      • secondary_color string Required
      • is_general boolean Required
      • owner string Required
      • members array[string] Required
    • items boolean Required

      True if there are more record else false

      Default value is false.

    • hasMore boolean Required

      True if there are more record else false

      Default value is false.

  • 401

    The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • 403

    The client does not have access rights to the content.

  • 405

    The request method is known by the server but is not supported by the target resource.

GET /api/v1.0/subteams
curl \
 --request GET 'https://openapi.niftypm.com/api/v1.0/subteams' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "subteams": [
    {
      "id": "string",
      "name": "string",
      "initials": "string",
      "logo": "string",
      "color": "string",
      "secondary_color": "string",
      "is_general": true,
      "owner": "string",
      "members": [
        "string"
      ]
    }
  ],
  "items": false,
  "hasMore": false
}