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": "5da9ff4c-6333-4f64-8dbd-9f77f5cf0b15", "ContactId": "28e1e4c3-1d45-492c-92ce-054620a6bd51", "AccountId": "4c5a5333-41da-498e-a769-76597ebb488a", "AccountName": "sample string 4", "WebAdmin": true, "CanRegisterOthers": true, "RoleName": "sample string 7" }, { "Id": "5da9ff4c-6333-4f64-8dbd-9f77f5cf0b15", "ContactId": "28e1e4c3-1d45-492c-92ce-054620a6bd51", "AccountId": "4c5a5333-41da-498e-a769-76597ebb488a", "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>4c5a5333-41da-498e-a769-76597ebb488a</AccountId> <AccountName>sample string 4</AccountName> <CanRegisterOthers>true</CanRegisterOthers> <ContactId>28e1e4c3-1d45-492c-92ce-054620a6bd51</ContactId> <Id>5da9ff4c-6333-4f64-8dbd-9f77f5cf0b15</Id> <RoleName>sample string 7</RoleName> <WebAdmin>true</WebAdmin> </ContactRole> <ContactRole> <AccountId>4c5a5333-41da-498e-a769-76597ebb488a</AccountId> <AccountName>sample string 4</AccountName> <CanRegisterOthers>true</CanRegisterOthers> <ContactId>28e1e4c3-1d45-492c-92ce-054620a6bd51</ContactId> <Id>5da9ff4c-6333-4f64-8dbd-9f77f5cf0b15</Id> <RoleName>sample string 7</RoleName> <WebAdmin>true</WebAdmin> </ContactRole> </ArrayOfContactRole>