Online Docs

Get user Mapping

Retrieve the properties of users and their mapping.

URL Endpoint

odata/_userMappings

Method

GET.

Parameters

See OData Filter syntax.

Request

Header

1
2
3
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

No body for this method.

Response

Retrieve the list of users with of schema:

1
2
3
4
5
6
7
8
9
10
11
12
13
{
"_id": "[UserId]",
"user365": "[User365]",
"source": "[SourceCode]",
"localId": "[UserIdLocal]",
"displayName": "[UserDisplayName]",
"sourceId": "[SourceID]",
"email": "[Email]",
"projectHostname": "[Hostname]",
"tenantId": "[TenantID]",
"createdAt": "[CreatedTime]",
"updatedAt": "[UpdatedTime]"
}

Example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"@odata.context": "https://schema.appvity.com/odata/$metadata#_userMappings(source,_id,user365,displayName,email)",
"value": [
{
"_id": "5f55a71d7d42fa0d97a22724",
"user365": "oliver@anadea.com",
"source": "Jira",
"displayName": "Oliver Neal",
"email": "oliver@anadea.com"
},
{
"_id": "5f55a71e7d42fa0d97a22725",
"user365": "oliver@anadea.com",
"source": "Microsoft.Vsts",
"displayName": "Oliver Neal",
"email": "oliver@anadea.com"
}
]
}

Comment

Was this article helpful?
Thanks For Your Feedback