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": "07d109ac-9254-4335-b1e3-d11f46bd6315",
"ContactId": "20ae7483-9418-4d0e-8cf6-5620502e6eef",
"AccountId": "5e7169f5-c9b3-4f7e-ba78-d1c4c6bef4b2",
"AccountName": "sample string 4",
"WebAdmin": true,
"CanRegisterOthers": true,
"RoleName": "sample string 7"
},
{
"Id": "07d109ac-9254-4335-b1e3-d11f46bd6315",
"ContactId": "20ae7483-9418-4d0e-8cf6-5620502e6eef",
"AccountId": "5e7169f5-c9b3-4f7e-ba78-d1c4c6bef4b2",
"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.Web.ClientIntegrationService.Models">
<ContactRole>
<AccountId>5e7169f5-c9b3-4f7e-ba78-d1c4c6bef4b2</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>20ae7483-9418-4d0e-8cf6-5620502e6eef</ContactId>
<Id>07d109ac-9254-4335-b1e3-d11f46bd6315</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
<ContactRole>
<AccountId>5e7169f5-c9b3-4f7e-ba78-d1c4c6bef4b2</AccountId>
<AccountName>sample string 4</AccountName>
<CanRegisterOthers>true</CanRegisterOthers>
<ContactId>20ae7483-9418-4d0e-8cf6-5620502e6eef</ContactId>
<Id>07d109ac-9254-4335-b1e3-d11f46bd6315</Id>
<RoleName>sample string 7</RoleName>
<WebAdmin>true</WebAdmin>
</ContactRole>
</ArrayOfContactRole>