GET api/{database}/PersonRole/{personRoleGuid}

Gets the specified PersonRole.



Request Information

Parameters

NameDescriptionAdditional information
personRoleGuid The personRoleGuid.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "defaultPersonForRole": true,
  "departmentId": "sample string 4",
  "functionId": "sample string 5",
  "limit": 6.0,
  "limitPercentage": 7.0,
  "organizationId": 8,
  "personId": "sample string 9",
  "personRoleGuid": "sample string 10",
  "personRoleType": "sample string 11",
  "roleId": "sample string 12"
}

application/xml, text/xml

Sample:
<PersonRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <DefaultPersonForRole>true</DefaultPersonForRole>
  <DepartmentId>sample string 4</DepartmentId>
  <FunctionId>sample string 5</FunctionId>
  <Limit>6</Limit>
  <LimitPercentage>7</LimitPercentage>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OrganizationId>8</OrganizationId>
  <PersonId>sample string 9</PersonId>
  <PersonRoleGuid>sample string 10</PersonRoleGuid>
  <PersonRoleType>sample string 11</PersonRoleType>
  <RoleId>sample string 12</RoleId>
</PersonRole>