POST api/WebApp/GetRolesListforMultipleOrg

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfListOfUMX_Roles
NameDescriptionTypeAdditional information
ReturnValue

Collection of UMX_Roles

None.

ReturnType

string

None.

IsSuccess

boolean

None.

Message

string

None.

Schema

string

None.

UTCDate

date

None.

Token

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnValue": [
    {
      "RoleCode": "sample string 1",
      "RoleName": "sample string 2",
      "DepartmentID": 3,
      "OrganizationID": 4,
      "Active": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreatedDate": "2024-11-28T14:45:32.1401408+03:00",
      "ModifiedBy": "sample string 8",
      "ModifiedDate": "2024-11-28T14:45:32.1401408+03:00",
      "RecOwnerOrgID": 10,
      "index": 11
    },
    {
      "RoleCode": "sample string 1",
      "RoleName": "sample string 2",
      "DepartmentID": 3,
      "OrganizationID": 4,
      "Active": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreatedDate": "2024-11-28T14:45:32.1401408+03:00",
      "ModifiedBy": "sample string 8",
      "ModifiedDate": "2024-11-28T14:45:32.1401408+03:00",
      "RecOwnerOrgID": 10,
      "index": 11
    }
  ],
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T14:45:32.1401408+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfArrayOfUMX_Roles1AvbnNm9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <ResponseCode>sample string 7</ResponseCode>
  <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">
    <d2p1:UMX_Roles>
      <d2p1:Active>sample string 5</d2p1:Active>
      <d2p1:CreatedBy>sample string 6</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-28T14:45:32.1401408+03:00</d2p1:CreatedDate>
      <d2p1:DepartmentID>3</d2p1:DepartmentID>
      <d2p1:ModifiedBy>sample string 8</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2024-11-28T14:45:32.1401408+03:00</d2p1:ModifiedDate>
      <d2p1:OrganizationID>4</d2p1:OrganizationID>
      <d2p1:RecOwnerOrgID>10</d2p1:RecOwnerOrgID>
      <d2p1:RoleCode>sample string 1</d2p1:RoleCode>
      <d2p1:RoleName>sample string 2</d2p1:RoleName>
      <d2p1:index>11</d2p1:index>
    </d2p1:UMX_Roles>
    <d2p1:UMX_Roles>
      <d2p1:Active>sample string 5</d2p1:Active>
      <d2p1:CreatedBy>sample string 6</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-28T14:45:32.1401408+03:00</d2p1:CreatedDate>
      <d2p1:DepartmentID>3</d2p1:DepartmentID>
      <d2p1:ModifiedBy>sample string 8</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2024-11-28T14:45:32.1401408+03:00</d2p1:ModifiedDate>
      <d2p1:OrganizationID>4</d2p1:OrganizationID>
      <d2p1:RecOwnerOrgID>10</d2p1:RecOwnerOrgID>
      <d2p1:RoleCode>sample string 1</d2p1:RoleCode>
      <d2p1:RoleName>sample string 2</d2p1:RoleName>
      <d2p1:index>11</d2p1:index>
    </d2p1:UMX_Roles>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfArrayOfUMX_Roles1AvbnNm9>