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 ContactRole| Name | 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": "196db45a-c7e3-4d59-a93a-5d7d37b52335",
"ContactId": "d0451ed4-e8fd-4eea-94cb-054d354f1941",
"AccountId": "c4a3893b-7bbe-4b3e-a19c-c01f215ce5f3",
"AccountName": "sample string 4",
"WebAdmin": true,
"CanRegisterOthers": true,
"RoleName": "sample string 7"
},
{
"Id": "196db45a-c7e3-4d59-a93a-5d7d37b52335",
"ContactId": "d0451ed4-e8fd-4eea-94cb-054d354f1941",
"AccountId": "c4a3893b-7bbe-4b3e-a19c-c01f215ce5f3",
"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>c4a3893b-7bbe-4b3e-a19c-c01f215ce5f3</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>d0451ed4-e8fd-4eea-94cb-054d354f1941</ContactId>
<Id>196db45a-c7e3-4d59-a93a-5d7d37b52335</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
<ContactRole>
<AccountId>c4a3893b-7bbe-4b3e-a19c-c01f215ce5f3</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>d0451ed4-e8fd-4eea-94cb-054d354f1941</ContactId>
<Id>196db45a-c7e3-4d59-a93a-5d7d37b52335</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
</ArrayOfContactRole>