GET api/ContactRoles?portalId={portalId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
portalId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ContactRole
NameDescriptionTypeAdditional 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": "b76428f7-9dbc-4e0b-b06c-e748ad8d5c09",
    "ContactId": "33a59cf9-9338-4d4e-88ac-d7f6cd18b37b",
    "AccountId": "0c633533-5a88-4da5-a03e-7f6155304e2c",
    "AccountName": "sample string 4",
    "WebAdmin": true,
    "CanRegisterOthers": true,
    "RoleName": "sample string 7"
  },
  {
    "Id": "b76428f7-9dbc-4e0b-b06c-e748ad8d5c09",
    "ContactId": "33a59cf9-9338-4d4e-88ac-d7f6cd18b37b",
    "AccountId": "0c633533-5a88-4da5-a03e-7f6155304e2c",
    "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>0c633533-5a88-4da5-a03e-7f6155304e2c</AccountId>
    <AccountName>sample string 4</AccountName>
    <CanRegisterOthers>true</CanRegisterOthers>
    <ContactId>33a59cf9-9338-4d4e-88ac-d7f6cd18b37b</ContactId>
    <Id>b76428f7-9dbc-4e0b-b06c-e748ad8d5c09</Id>
    <RoleName>sample string 7</RoleName>
    <WebAdmin>true</WebAdmin>
  </ContactRole>
  <ContactRole>
    <AccountId>0c633533-5a88-4da5-a03e-7f6155304e2c</AccountId>
    <AccountName>sample string 4</AccountName>
    <CanRegisterOthers>true</CanRegisterOthers>
    <ContactId>33a59cf9-9338-4d4e-88ac-d7f6cd18b37b</ContactId>
    <Id>b76428f7-9dbc-4e0b-b06c-e748ad8d5c09</Id>
    <RoleName>sample string 7</RoleName>
    <WebAdmin>true</WebAdmin>
  </ContactRole>
</ArrayOfContactRole>