POST jxc_api/AssistData/SearchBusinessTypeList

Request Information

URI Parameters

None.

Body Parameters

BusinessTypeCondition
NameDescriptionTypeAdditional information
Direction

BusinessTypeDirectionEnums

None.

CustomSearchAndOrderCondition

CustomSearchAndOrderCondition

None.

Request Formats

application/json, text/json

Sample:
{
  "Direction": 1001,
  "CustomSearchAndOrderCondition": {
    "OrderColumnName": "sample string 1",
    "OrderType": 0,
    "CustomSearchParams": [
      {
        "ColumnName": "sample string 1",
        "Params": [
          {},
          {}
        ]
      },
      {
        "ColumnName": "sample string 1",
        "Params": [
          {},
          {}
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<BusinessTypeCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.BaseData">
  <CustomSearchAndOrderCondition xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData">
    <d2p1:CustomSearchParams>
      <d2p1:CustomSearchParam>
        <d2p1:ColumnName>sample string 1</d2p1:ColumnName>
        <d2p1:Params xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:Params>
      </d2p1:CustomSearchParam>
      <d2p1:CustomSearchParam>
        <d2p1:ColumnName>sample string 1</d2p1:ColumnName>
        <d2p1:Params xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:Params>
      </d2p1:CustomSearchParam>
    </d2p1:CustomSearchParams>
    <d2p1:OrderColumnName>sample string 1</d2p1:OrderColumnName>
    <d2p1:OrderType>None</d2p1:OrderType>
  </CustomSearchAndOrderCondition>
  <Direction>入库类型</Direction>
</BusinessTypeCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of BusinessTypeListModel
NameDescriptionTypeAdditional information
TypeId

integer

None.

TypeNo

string

None.

TypeName

string

None.

Direction

string

None.

CanEdit

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TypeId": 1,
    "TypeNo": "sample string 2",
    "TypeName": "sample string 3",
    "Direction": "sample string 4",
    "CanEdit": true
  },
  {
    "TypeId": 1,
    "TypeNo": "sample string 2",
    "TypeName": "sample string 3",
    "Direction": "sample string 4",
    "CanEdit": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfBusinessTypeListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <BusinessTypeListModel>
    <CanEdit>true</CanEdit>
    <Direction>sample string 4</Direction>
    <TypeId>1</TypeId>
    <TypeName>sample string 3</TypeName>
    <TypeNo>sample string 2</TypeNo>
  </BusinessTypeListModel>
  <BusinessTypeListModel>
    <CanEdit>true</CanEdit>
    <Direction>sample string 4</Direction>
    <TypeId>1</TypeId>
    <TypeName>sample string 3</TypeName>
    <TypeNo>sample string 2</TypeNo>
  </BusinessTypeListModel>
</ArrayOfBusinessTypeListModel>