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:
{
"@odata.context": "api.mypcorp.com/$metadata#Team",
"value": [
{
"TeamId": 12345,
"Name": "Marketing",
"ArchiveDate": null
}
]
}