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"
}