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
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:
[
  {
    "ContactId": "419fdee4-2c18-4b77-9e61-7fe928018e79",
    "AccountId": "786dd85c-f38c-4f16-a69c-3579c5a20dad",
    "AccountName": "sample string 3",
    "WebAdmin": true,
    "CanRegisterOthers": true,
    "RoleName": "sample string 6"
  },
  {
    "ContactId": "419fdee4-2c18-4b77-9e61-7fe928018e79",
    "AccountId": "786dd85c-f38c-4f16-a69c-3579c5a20dad",
    "AccountName": "sample string 3",
    "WebAdmin": true,
    "CanRegisterOthers": true,
    "RoleName": "sample string 6"
  }
]

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>786dd85c-f38c-4f16-a69c-3579c5a20dad</AccountId>
    <AccountName>sample string 3</AccountName>
    <CanRegisterOthers>true</CanRegisterOthers>
    <ContactId>419fdee4-2c18-4b77-9e61-7fe928018e79</ContactId>
    <RoleName>sample string 6</RoleName>
    <WebAdmin>true</WebAdmin>
  </ContactRole>
  <ContactRole>
    <AccountId>786dd85c-f38c-4f16-a69c-3579c5a20dad</AccountId>
    <AccountName>sample string 3</AccountName>
    <CanRegisterOthers>true</CanRegisterOthers>
    <ContactId>419fdee4-2c18-4b77-9e61-7fe928018e79</ContactId>
    <RoleName>sample string 6</RoleName>
    <WebAdmin>true</WebAdmin>
  </ContactRole>
</ArrayOfContactRole>