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": "bc6f36a0-84fc-44d4-af6f-6b07c5a6d9da",
"ContactId": "264a1038-7550-45ac-9aa7-687f0f215366",
"AccountId": "1d9cab6e-7969-49ed-8c22-fbaa539638ca",
"AccountName": "sample string 4",
"WebAdmin": true,
"CanRegisterOthers": true,
"RoleName": "sample string 7"
},
{
"Id": "bc6f36a0-84fc-44d4-af6f-6b07c5a6d9da",
"ContactId": "264a1038-7550-45ac-9aa7-687f0f215366",
"AccountId": "1d9cab6e-7969-49ed-8c22-fbaa539638ca",
"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>1d9cab6e-7969-49ed-8c22-fbaa539638ca</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>264a1038-7550-45ac-9aa7-687f0f215366</ContactId>
<Id>bc6f36a0-84fc-44d4-af6f-6b07c5a6d9da</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
<ContactRole>
<AccountId>1d9cab6e-7969-49ed-8c22-fbaa539638ca</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>264a1038-7550-45ac-9aa7-687f0f215366</ContactId>
<Id>bc6f36a0-84fc-44d4-af6f-6b07c5a6d9da</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
</ArrayOfContactRole>