POST api/WebApp/CheckIfRoleCodeIsDuplicate

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfCheckDuplicateRoleCodeResponse
NameDescriptionTypeAdditional information
ReturnValue

CheckDuplicateRoleCodeResponse

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": {
    "IsDuplicate": true,
    "IsInWFK": true,
    "RoleCode": "sample string 3",
    "RoleName": "sample string 4",
    "DepartmentID": 5,
    "OrganizationID": 6,
    "Active": "sample string 7",
    "CreatedBy": "sample string 8",
    "CreatedDate": "2024-11-27T20:10:54.8768514+03:00",
    "ModifiedBy": "sample string 10",
    "ModifiedDate": "2024-11-27T20:10:54.8768514+03:00",
    "RecOwnerOrgID": 12,
    "index": 13
  },
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-27T20:10:54.8768514+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfCheckDuplicateRoleCodeResponseYoRYJ0fS 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.Responses.VAS">
    <Active xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 7</Active>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 8</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">2024-11-27T20:10:54.8768514+03:00</CreatedDate>
    <DepartmentID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">5</DepartmentID>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 10</ModifiedBy>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">2024-11-27T20:10:54.8768514+03:00</ModifiedDate>
    <OrganizationID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">6</OrganizationID>
    <RecOwnerOrgID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">12</RecOwnerOrgID>
    <RoleCode xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 3</RoleCode>
    <RoleName xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">sample string 4</RoleName>
    <index xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.UMX">13</index>
    <d2p1:IsDuplicate>true</d2p1:IsDuplicate>
    <d2p1:IsInWFK>true</d2p1:IsInWFK>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfCheckDuplicateRoleCodeResponseYoRYJ0fS>