POST jxc_api/SimpleResource/GetSimpleAccountingItems

Request Information

URI Parameters

None.

Body Parameters

AccountingItemCondition
NameDescriptionTypeAdditional information
Keywords

string

None.

ShowDisabled

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "Keywords": "sample string 1",
  "ShowDisabled": true,
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-05-03 20:47:08",
    "2024-05-03 20:47:08"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-05-03 20:47:08",
    "2024-05-03 20:47:08"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-05-03 20:47:08",
    "2024-05-03 20:47:08"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-05-03 20:47:08",
    "2024-05-03 20:47:08"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SimpleAccountingItem
NameDescriptionTypeAdditional information
Id

integer

None.

No

string

None.

Name

string

None.

DepartmentName

string

None.

PersonInCharge

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "No": "sample string 2",
    "Name": "sample string 3",
    "DepartmentName": "sample string 4",
    "PersonInCharge": "sample string 5"
  },
  {
    "Id": 1,
    "No": "sample string 2",
    "Name": "sample string 3",
    "DepartmentName": "sample string 4",
    "PersonInCharge": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleAccountingItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Models">
  <SimpleAccountingItem>
    <DepartmentName>sample string 4</DepartmentName>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <No>sample string 2</No>
    <PersonInCharge>sample string 5</PersonInCharge>
  </SimpleAccountingItem>
  <SimpleAccountingItem>
    <DepartmentName>sample string 4</DepartmentName>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <No>sample string 2</No>
    <PersonInCharge>sample string 5</PersonInCharge>
  </SimpleAccountingItem>
</ArrayOfSimpleAccountingItem>