GET api/ContactRoles?portalId={portalId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
portalId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ContactRoleName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ContactId | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
None. |
|
AccountName | string |
None. |
|
WebAdmin | boolean |
None. |
|
CanRegisterOthers | boolean |
None. |
|
RoleName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "05cd8877-aba4-4cf7-b1d2-e6600fe0d204", "ContactId": "b1b8cb97-5535-4ae5-af7b-31cc3ab82187", "AccountId": "cb298933-3764-45de-96a2-48f2de965bab", "AccountName": "sample string 4", "WebAdmin": true, "CanRegisterOthers": true, "RoleName": "sample string 7" }, { "Id": "05cd8877-aba4-4cf7-b1d2-e6600fe0d204", "ContactId": "b1b8cb97-5535-4ae5-af7b-31cc3ab82187", "AccountId": "cb298933-3764-45de-96a2-48f2de965bab", "AccountName": "sample string 4", "WebAdmin": true, "CanRegisterOthers": true, "RoleName": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfContactRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AltaiStandard.Core.Entities.CacheEntities"> <ContactRole> <AccountId>cb298933-3764-45de-96a2-48f2de965bab</AccountId> <AccountName>sample string 4</AccountName> <CanRegisterOthers>true</CanRegisterOthers> <ContactId>b1b8cb97-5535-4ae5-af7b-31cc3ab82187</ContactId> <Id>05cd8877-aba4-4cf7-b1d2-e6600fe0d204</Id> <RoleName>sample string 7</RoleName> <WebAdmin>true</WebAdmin> </ContactRole> <ContactRole> <AccountId>cb298933-3764-45de-96a2-48f2de965bab</AccountId> <AccountName>sample string 4</AccountName> <CanRegisterOthers>true</CanRegisterOthers> <ContactId>b1b8cb97-5535-4ae5-af7b-31cc3ab82187</ContactId> <Id>05cd8877-aba4-4cf7-b1d2-e6600fe0d204</Id> <RoleName>sample string 7</RoleName> <WebAdmin>true</WebAdmin> </ContactRole> </ArrayOfContactRole>