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": "e096cff9-0616-4932-a411-88510db6a042",
"ContactId": "b80a9efb-6336-4a48-b19f-5c9e81e7b0e0",
"AccountId": "5413adb3-51e8-4abb-85c6-6d096ed9a3c6",
"AccountName": "sample string 4",
"WebAdmin": true,
"CanRegisterOthers": true,
"RoleName": "sample string 7"
},
{
"Id": "e096cff9-0616-4932-a411-88510db6a042",
"ContactId": "b80a9efb-6336-4a48-b19f-5c9e81e7b0e0",
"AccountId": "5413adb3-51e8-4abb-85c6-6d096ed9a3c6",
"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>5413adb3-51e8-4abb-85c6-6d096ed9a3c6</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>b80a9efb-6336-4a48-b19f-5c9e81e7b0e0</ContactId>
<Id>e096cff9-0616-4932-a411-88510db6a042</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
<ContactRole>
<AccountId>5413adb3-51e8-4abb-85c6-6d096ed9a3c6</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>b80a9efb-6336-4a48-b19f-5c9e81e7b0e0</ContactId>
<Id>e096cff9-0616-4932-a411-88510db6a042</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
</ArrayOfContactRole>