GET Setup/Role/Initialize

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BusinessUnits

Collection of integer

None.

CategoryID

integer

None.

Body Parameters

None.

Response Information

Resource Description

RoleDTO
NameDescriptionTypeAdditional information
RoleID

integer

None.

BusinessUnits

Collection of RoleBusinessUnitDTO

None.

CategoryID

integer

None.

CategoryName

string

None.

RoleName

string

None.

Props

Collection of Object

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "roleID": 1,
  "businessUnits": [
    {
      "buid": 1,
      "roleID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:12:05.7630543+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:12:05 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:12:05.7630543+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:12:05 AM"
      }
    },
    {
      "buid": 1,
      "roleID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:12:05.7630543+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:12:05 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:12:05.7630543+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:12:05 AM"
      }
    }
  ],
  "categoryID": 2,
  "categoryName": "sample string 3",
  "roleName": "sample string 4",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:12:05.7630543+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:12:05 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:12:05.7630543+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:12:05 AM"
  }
}

application/xml, text/xml

Sample:
<RoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BusinessUnits>
    <RoleBusinessUnitDTO>
      <BUID>1</BUID>
      <Created>
        <DateUtc>2024-12-04T08:12:05.7630543+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:12:05.7630543+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <RoleID>2</RoleID>
    </RoleBusinessUnitDTO>
    <RoleBusinessUnitDTO>
      <BUID>1</BUID>
      <Created>
        <DateUtc>2024-12-04T08:12:05.7630543+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:12:05.7630543+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <RoleID>2</RoleID>
    </RoleBusinessUnitDTO>
  </BusinessUnits>
  <CategoryID>2</CategoryID>
  <CategoryName>sample string 3</CategoryName>
  <Created>
    <DateUtc>2024-12-04T08:12:05.7630543+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <LastUpdated>
    <DateUtc>2024-12-04T08:12:05.7630543+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <RoleID>1</RoleID>
  <RoleName>sample string 4</RoleName>
</RoleDTO>

application/x-compressed-json

Sample:
��;�0��y������!�0��Ch��R(NTq2��0�	$���,����S�.�l
:`�P^Y���=�^����zNI�6�]����J���c-�b���RuC�E�±��Ao4�p���F��naJ�d�]ay�W���)K���Lԕe_��'�c����@a�ǻ�7�9_�۰� �����Y�=�]�[��/�c��K��