Platform API

<back to all web services

GetContactRoleGroupDetails

Get details of the specified contact role group

Requires Authentication
The following routes are available for this service:
All Verbs/api/contactrolegroup/{ContactRoleGroupId}
GetContactRoleGroupDetails Parameters:
NameParameterData TypeRequiredDescription
ContactRoleGroupIdqueryGuidYesThe Contact Role Group Guid. Records retrieved will belong to this role group.
GetContactRoleGroupDetailsResponse Parameters:
NameParameterData TypeRequiredDescription
ContactRoleGroupformRoleGroupModelNo
ResponseStatusformResponseStatusNo
RoleGroupModel Parameters:
NameParameterData TypeRequiredDescription
RoleGroupIdformGuidNoRole Group Id
NameformstringNoRole Group Name
OwnerContactIdformGuidNoOwner Contact Id
NumberOfRolesformintNoNumber of Roles
RolesformListNoRoles belonging to the Role Group
RecordStatusformstringNo'A' (Active), 'I' (Inactive)
AllowEditqueryboolNoTrue if Licensee-owned, allowing editing, deleting, archiving
RoleGroupRolesModel Parameters:
NameParameterData TypeRequiredDescription
RoleIdformGuidNoRole Id
RoleNameformstringNoRole Name
RoleGroupIdformGuidNoRole Group Id
RoleGroupNameformstringNoRole Group Name
RoleGroupRoleIdformGuidNoRole Group Role Id
RecordStatusformstringNo'A' (Active), 'I' (Inactive)
OwnerContactIdformGuidNoOwner Contact Id

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/contactrolegroup/{ContactRoleGroupId} HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ContactRoleGroupId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ContactRoleGroup":{"RoleGroupId":"00000000-0000-0000-0000-000000000000","Name":"String","OwnerContactId":"00000000-0000-0000-0000-000000000000","NumberOfRoles":0,"Roles":[{"RoleId":"00000000-0000-0000-0000-000000000000","RoleName":"String","RoleGroupId":"00000000-0000-0000-0000-000000000000","RoleGroupName":"String","RoleGroupRoleId":"00000000-0000-0000-0000-000000000000","RecordStatus":"String","OwnerContactId":"00000000-0000-0000-0000-000000000000"}],"RecordStatus":"String","AllowEdit":false},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}