POST api/WebApp/GetDepartmentFromWorkflowForMyQue

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfListOfDepartmentsPayload
NameDescriptionTypeAdditional information
ReturnValue

Collection of DepartmentsPayload

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",
      "WFKDepartmentID": "sample string 6",
      "DepartmentID": 7,
      "DepartmentName": "sample string 8",
      "OrganizationId": 9,
      "ParentDeptID": 1,
      "Active": "sample string 10",
      "CreatedBy": "sample string 11",
      "CreatedDate": "2024-11-28T14:40:37.4664404+03:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2024-11-28T14:40:37.4664404+03:00",
      "RecOwnerOrgID": 15
    },
    {
      "Status": "sample string 1",
      "Remarks": "sample string 2",
      "ToUser": "sample string 3",
      "ToRole": "sample string 4",
      "Action": "sample string 5",
      "WFKDepartmentID": "sample string 6",
      "DepartmentID": 7,
      "DepartmentName": "sample string 8",
      "OrganizationId": 9,
      "ParentDeptID": 1,
      "Active": "sample string 10",
      "CreatedBy": "sample string 11",
      "CreatedDate": "2024-11-28T14:40:37.4664404+03:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2024-11-28T14:40:37.4664404+03:00",
      "RecOwnerOrgID": 15
    }
  ],
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T14:40:37.4664404+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfArrayOfDepartmentsPayloadfZ5PIblm 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">
    <d2p1:DepartmentsPayload>
      <Active xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 10</Active>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 11</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">2024-11-28T14:40:37.4664404+03:00</CreatedDate>
      <DepartmentID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">7</DepartmentID>
      <DepartmentName xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 8</DepartmentName>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 13</ModifiedBy>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">2024-11-28T14:40:37.4664404+03:00</ModifiedDate>
      <OrganizationId xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">9</OrganizationId>
      <ParentDeptID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">1</ParentDeptID>
      <RecOwnerOrgID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">15</RecOwnerOrgID>
      <d2p1:Action>sample string 5</d2p1:Action>
      <d2p1:Remarks>sample string 2</d2p1:Remarks>
      <d2p1:Status>sample string 1</d2p1:Status>
      <d2p1:ToRole>sample string 4</d2p1:ToRole>
      <d2p1:ToUser>sample string 3</d2p1:ToUser>
      <d2p1:WFKDepartmentID>sample string 6</d2p1:WFKDepartmentID>
    </d2p1:DepartmentsPayload>
    <d2p1:DepartmentsPayload>
      <Active xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 10</Active>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 11</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">2024-11-28T14:40:37.4664404+03:00</CreatedDate>
      <DepartmentID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">7</DepartmentID>
      <DepartmentName xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 8</DepartmentName>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">sample string 13</ModifiedBy>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">2024-11-28T14:40:37.4664404+03:00</ModifiedDate>
      <OrganizationId xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">9</OrganizationId>
      <ParentDeptID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">1</ParentDeptID>
      <RecOwnerOrgID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM">15</RecOwnerOrgID>
      <d2p1:Action>sample string 5</d2p1:Action>
      <d2p1:Remarks>sample string 2</d2p1:Remarks>
      <d2p1:Status>sample string 1</d2p1:Status>
      <d2p1:ToRole>sample string 4</d2p1:ToRole>
      <d2p1:ToUser>sample string 3</d2p1:ToUser>
      <d2p1:WFKDepartmentID>sample string 6</d2p1:WFKDepartmentID>
    </d2p1:DepartmentsPayload>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfArrayOfDepartmentsPayloadfZ5PIblm>