POST jxc_api/Department/SearchDropDownList

Request Information

URI Parameters

None.

Body Parameters

DepartmentSearchConditions
NameDescriptionTypeAdditional information
AsId

integer

None.

Keyword

string

None.

ShowDisabled

boolean

None.

SelectIds

Collection of integer

None.

ParentDpeId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Keyword": "sample string 2",
  "ShowDisabled": true,
  "SelectIds": [
    1,
    2
  ],
  "ParentDpeId": 4,
  "PageIndex": 5,
  "PageSize": 6
}

application/xml, text/xml

Sample:
<DepartmentSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.ToAcc.ErpAccModel">
  <AsId>1</AsId>
  <Keyword>sample string 2</Keyword>
  <PageIndex>5</PageIndex>
  <PageSize>6</PageSize>
  <ParentDpeId>4</ParentDpeId>
  <SelectIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectIds>
  <ShowDisabled>true</ShowDisabled>
</DepartmentSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfDepartmentListModel
NameDescriptionTypeAdditional information
Items

Collection of DepartmentListModel

None.

SumModel

DepartmentListModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Id": 1,
      "No": "sample string 2",
      "Name": "sample string 3",
      "ParentId": 4,
      "Level": 5,
      "ParentName": "sample string 6",
      "ParmentNo": "sample string 7",
      "Note": "sample string 8",
      "Enabled": true
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "Name": "sample string 3",
      "ParentId": 4,
      "Level": 5,
      "ParentName": "sample string 6",
      "ParmentNo": "sample string 7",
      "Note": "sample string 8",
      "Enabled": true
    }
  ],
  "SumModel": {
    "Id": 1,
    "No": "sample string 2",
    "Name": "sample string 3",
    "ParentId": 4,
    "Level": 5,
    "ParentName": "sample string 6",
    "ParmentNo": "sample string 7",
    "Note": "sample string 8",
    "Enabled": true
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}

application/xml, text/xml

Sample:
<NewApiPagedListOfDepartmentListModelGLB7nvU7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_RDeliveryEndDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 8</_x003C_RDeliveryEndDate_x003E_k__BackingField>
  <_x003C_RDeliveryStartDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 7</_x003C_RDeliveryStartDate_x003E_k__BackingField>
  <_x003C_RDocumentEndDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 6</_x003C_RDocumentEndDate_x003E_k__BackingField>
  <_x003C_RDocumentStartDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 5</_x003C_RDocumentStartDate_x003E_k__BackingField>
  <_x003C_CategoriesFounded_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CategoriesFounded_x003E_k__BackingField>
  <_x003C_Items_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Department">
    <d2p1:DepartmentListModel>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Level>5</d2p1:Level>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:No>sample string 2</d2p1:No>
      <d2p1:Note>sample string 8</d2p1:Note>
      <d2p1:ParentId>4</d2p1:ParentId>
      <d2p1:ParentName>sample string 6</d2p1:ParentName>
      <d2p1:ParmentNo>sample string 7</d2p1:ParmentNo>
    </d2p1:DepartmentListModel>
    <d2p1:DepartmentListModel>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Level>5</d2p1:Level>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:No>sample string 2</d2p1:No>
      <d2p1:Note>sample string 8</d2p1:Note>
      <d2p1:ParentId>4</d2p1:ParentId>
      <d2p1:ParentName>sample string 6</d2p1:ParentName>
      <d2p1:ParmentNo>sample string 7</d2p1:ParmentNo>
    </d2p1:DepartmentListModel>
  </_x003C_Items_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>2</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_SumModel_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Department">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Level>5</d2p1:Level>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:No>sample string 2</d2p1:No>
    <d2p1:Note>sample string 8</d2p1:Note>
    <d2p1:ParentId>4</d2p1:ParentId>
    <d2p1:ParentName>sample string 6</d2p1:ParentName>
    <d2p1:ParmentNo>sample string 7</d2p1:ParmentNo>
  </_x003C_SumModel_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>3</_x003C_Total_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</NewApiPagedListOfDepartmentListModelGLB7nvU7>