POST api/WebApp/GetNewRoleDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfRolesPayload
NameDescriptionTypeAdditional information
ReturnValue

RolesPayload

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": {
    "Status": "sample string 1",
    "Remarks": "sample string 2",
    "ToUser": "sample string 3",
    "ToRole": "sample string 4",
    "Action": "sample string 5",
    "WorkflowID": "sample string 6",
    "RemarksHistory": "sample string 7",
    "StartDate": "2024-11-28T02:57:38.8554712+03:00",
    "RoleCode": "sample string 9",
    "RoleName": "sample string 10",
    "DepartmentID": 11,
    "OrganizationID": 12,
    "Active": "sample string 13",
    "CreatedBy": "sample string 14",
    "CreatedDate": "2024-11-28T02:57:38.8554712+03:00",
    "ModifiedBy": "sample string 16",
    "ModifiedDate": "2024-11-28T02:57:38.8554712+03:00",
    "RecOwnerOrgID": 18,
    "index": 19
  },
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T02:57:38.8554712+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfRolesPayloadfZ5PIblm 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.Payloads">
    <Active xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 13</Active>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 14</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">2024-11-28T02:57:38.8554712+03:00</CreatedDate>
    <DepartmentID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">11</DepartmentID>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 16</ModifiedBy>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">2024-11-28T02:57:38.8554712+03:00</ModifiedDate>
    <OrganizationID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">12</OrganizationID>
    <RecOwnerOrgID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">18</RecOwnerOrgID>
    <RoleCode xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 9</RoleCode>
    <RoleName xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 10</RoleName>
    <index xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">19</index>
    <d2p1:Action>sample string 5</d2p1:Action>
    <d2p1:Remarks>sample string 2</d2p1:Remarks>
    <d2p1:RemarksHistory>sample string 7</d2p1:RemarksHistory>
    <d2p1:StartDate>2024-11-28T02:57:38.8554712+03:00</d2p1:StartDate>
    <d2p1:Status>sample string 1</d2p1:Status>
    <d2p1:ToRole>sample string 4</d2p1:ToRole>
    <d2p1:ToUser>sample string 3</d2p1:ToUser>
    <d2p1:WorkflowID>sample string 6</d2p1:WorkflowID>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfRolesPayloadfZ5PIblm>