POST api/Search/DepartmentList

Request Information

URI Parameters

None.

Body Parameters

DepartmentRequest
NameDescriptionTypeAdditional information
Department

string

None.

SessionNum

integer

None.

SessionPassword

Collection of byte

None.

ApplicationCode

string

None.

StagesURL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Department": "sample string 1",
  "SessionNum": 2,
  "SessionPassword": "QEA=",
  "ApplicationCode": "sample string 3",
  "StagesURL": "sample string 4"
}

application/xml, text/xml

Sample:
<DepartmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">
  <StagesURL>sample string 4</StagesURL>
  <ApplicationCode>sample string 3</ApplicationCode>
  <SessionNum>2</SessionNum>
  <SessionPassword>QEA=</SessionPassword>
  <Department>sample string 1</Department>
</DepartmentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DepartmentListQueryResult
NameDescriptionTypeAdditional information
ExcludeColumnList

Collection of string

None.

ResultSet

Collection of DepartmentListResult

None.

Success

boolean

None.

UserErrorMessage

string

None.

ErrorTypeNum

integer

None.

SqlConnectionLost

boolean

None.

ClientVersion

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ExcludeColumnList": [
    "sample string 1",
    "sample string 2"
  ],
  "ResultSet": [
    {
      "AutoNotifyOption": "sample string 1",
      "AutoNotifyOptionDescription": "sample string 2",
      "AutoNotifyRecipient": "sample string 3",
      "Department": "sample string 4",
      "DepartmentDescription": "sample string 5",
      "ExcludeExternalFlag": true
    },
    {
      "AutoNotifyOption": "sample string 1",
      "AutoNotifyOptionDescription": "sample string 2",
      "AutoNotifyRecipient": "sample string 3",
      "Department": "sample string 4",
      "DepartmentDescription": "sample string 5",
      "ExcludeExternalFlag": true
    }
  ],
  "Success": true,
  "UserErrorMessage": "sample string 2",
  "ErrorTypeNum": 3,
  "SqlConnectionLost": true,
  "ClientVersion": "sample string 5"
}

application/xml, text/xml

Sample:
<DepartmentListQueryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stages">
  <ClientVersion>sample string 5</ClientVersion>
  <ErrorTypeNum>3</ErrorTypeNum>
  <SqlConnectionLost>true</SqlConnectionLost>
  <Success>true</Success>
  <UserErrorMessage>sample string 2</UserErrorMessage>
  <ExcludeColumnList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ExcludeColumnList>
  <ResultSet>
    <DepartmentListResult>
      <AutoNotifyOption>sample string 1</AutoNotifyOption>
      <AutoNotifyOptionDescription>sample string 2</AutoNotifyOptionDescription>
      <AutoNotifyRecipient>sample string 3</AutoNotifyRecipient>
      <Department>sample string 4</Department>
      <DepartmentDescription>sample string 5</DepartmentDescription>
      <ExcludeExternalFlag>true</ExcludeExternalFlag>
    </DepartmentListResult>
    <DepartmentListResult>
      <AutoNotifyOption>sample string 1</AutoNotifyOption>
      <AutoNotifyOptionDescription>sample string 2</AutoNotifyOptionDescription>
      <AutoNotifyRecipient>sample string 3</AutoNotifyRecipient>
      <Department>sample string 4</Department>
      <DepartmentDescription>sample string 5</DepartmentDescription>
      <ExcludeExternalFlag>true</ExcludeExternalFlag>
    </DepartmentListResult>
  </ResultSet>
</DepartmentListQueryResult>