Table of contents

Overview

Team endpoint shows the teams that are available for a subscription. To call the Team endpoint, use one of the URLs from the following table:

URL GET PUT POST DELETE
https://api.mypcorp.com/team ✔
https://api.mypcorp.com/team/{TeamId} ✔

Get

The following table illustrates which fields can be included when receiving a GET response.

NB: Nested properties are hidden by default. To expand all nested properties, add a query parameter $expand=* to the URL.

Team
Field Description
TeamId
integer (Identifier)
Team id.
Name
string
The name of the team.
ArchiveDate
datetime
Date when the team archived, if it has been archived.

Example JSON response format:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
{
"@odata.context": "api.mypcorp.com/$metadata#Team",
"value": [
{
"TeamId": 12345,
"Name": "Marketing",
"ArchiveDate": null
}
]
}
{ "@odata.context": "api.mypcorp.com/$metadata#Team", "value": [ { "TeamId": 12345, "Name": "Marketing", "ArchiveDate": null } ] }
{
  "@odata.context": "api.mypcorp.com/$metadata#Team",
  "value": [
    {
      "TeamId": 12345,
      "Name": "Marketing",
      "ArchiveDate": null
    }
  ]
}

Previous article Next article