Get user Mapping
Retrieve the properties of users and their mapping.
URL Endpoint
odata/_userMappings
Method
GET.
Parameters
See OData Filter syntax.
Request
Header
--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:
{
"_id": "[UserId]",
"user365": "[User365]",
"source": "[SourceCode]",
"localId": "[UserIdLocal]",
"displayName": "[UserDisplayName]",
"sourceId": "[SourceID]",
"email": "[Email]",
"projectHostname": "[Hostname]",
"tenantId": "[TenantID]",
"createdAt": "[CreatedTime]",
"updatedAt": "[UpdatedTime]"
}
Example:##
{
"@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"
}
]
}