POST jxc_api/PurSellExpense/Search

Request Information

URI Parameters

None.

Body Parameters

PurSellExpenseSearchConditions
NameDescriptionTypeAdditional information
StartDateFmt

string

None.

EndDateFmt

string

None.

ExpenseType

integer

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:
{
  "StartDateFmt": "sample string 1",
  "EndDateFmt": "sample string 2",
  "ExpenseType": 3,
  "CurrUserSn": 4,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 7,
  "DocumentDateArr": [
    "2024-05-03 17:19:48",
    "2024-05-03 17:19:48"
  ],
  "DeliveryDateType": 8,
  "DeliveryDateArr": [
    "2024-05-03 17:19:48",
    "2024-05-03 17:19:48"
  ],
  "OffDateType": 9,
  "OffDateArr": [
    "2024-05-03 17:19:48",
    "2024-05-03 17:19:48"
  ],
  "InventoryDateType": 10,
  "InventoryDateArr": [
    "2024-05-03 17:19:48",
    "2024-05-03 17:19:48"
  ]
}

application/xml, text/xml

Sample:
<PurSellExpenseSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Money">
  <DeliveryDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
  </DeliveryDateArr>
  <DeliveryDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">8</DeliveryDateType>
  <DocumentDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
  </DocumentDateArr>
  <DocumentDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">7</DocumentDateType>
  <InventoryDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
  </InventoryDateArr>
  <InventoryDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</InventoryDateType>
  <OffDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:48.6468939+08:00</d2p1:dateTime>
  </OffDateArr>
  <OffDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">9</OffDateType>
  <CanOpeAllWh xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</CanOpeAllWh>
  <CanViewAllBill xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</CanViewAllBill>
  <CurrUserSn xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">4</CurrUserSn>
  <OpeWhList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </OpeWhList>
  <EndDateFmt>sample string 2</EndDateFmt>
  <ExpenseType>3</ExpenseType>
  <StartDateFmt>sample string 1</StartDateFmt>
</PurSellExpenseSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportResultOfPurSellExpenseModel
NameDescriptionTypeAdditional information
DataList

Collection of PurSellExpenseModel

None.

TotalRow

PurSellExpenseModel

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    {
      "ExpenseType": 1,
      "ExpenseTypeName": "sample string 2",
      "ExpenseDetailId": 3,
      "ExpenseDetailName": "sample string 4",
      "Amount": 5.0,
      "Tax": 6.0,
      "AmountTax": 7.0,
      "UnShareAmount": 8.0,
      "ShareAmount": 9.0,
      "UnInvoiceAmount": 10.0,
      "InvoiceAmount": 11.0,
      "UnPaidAmount": 12.0,
      "PaidAmount": 13.0
    },
    {
      "ExpenseType": 1,
      "ExpenseTypeName": "sample string 2",
      "ExpenseDetailId": 3,
      "ExpenseDetailName": "sample string 4",
      "Amount": 5.0,
      "Tax": 6.0,
      "AmountTax": 7.0,
      "UnShareAmount": 8.0,
      "ShareAmount": 9.0,
      "UnInvoiceAmount": 10.0,
      "InvoiceAmount": 11.0,
      "UnPaidAmount": 12.0,
      "PaidAmount": 13.0
    }
  ],
  "TotalRow": {
    "ExpenseType": 1,
    "ExpenseTypeName": "sample string 2",
    "ExpenseDetailId": 3,
    "ExpenseDetailName": "sample string 4",
    "Amount": 5.0,
    "Tax": 6.0,
    "AmountTax": 7.0,
    "UnShareAmount": 8.0,
    "ShareAmount": 9.0,
    "UnInvoiceAmount": 10.0,
    "InvoiceAmount": 11.0,
    "UnPaidAmount": 12.0,
    "PaidAmount": 13.0
  },
  "RDocumentStartDate": "sample string 1",
  "RDocumentEndDate": "sample string 2",
  "RDeliveryStartDate": "sample string 3",
  "RDeliveryEndDate": "sample string 4"
}

application/xml, text/xml

Sample:
<ReportResultOfPurSellExpenseModelHWv6_SlI6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi">
  <RDeliveryEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 4</RDeliveryEndDate>
  <RDeliveryStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 3</RDeliveryStartDate>
  <RDocumentEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 2</RDocumentEndDate>
  <RDocumentStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 1</RDocumentStartDate>
  <DataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Money">
    <d2p1:PurSellExpenseModel>
      <d2p1:Amount>5</d2p1:Amount>
      <d2p1:AmountTax>7</d2p1:AmountTax>
      <d2p1:ExpenseDetailId>3</d2p1:ExpenseDetailId>
      <d2p1:ExpenseDetailName>sample string 4</d2p1:ExpenseDetailName>
      <d2p1:ExpenseType>1</d2p1:ExpenseType>
      <d2p1:ExpenseTypeName>sample string 2</d2p1:ExpenseTypeName>
      <d2p1:InvoiceAmount>11</d2p1:InvoiceAmount>
      <d2p1:PaidAmount>13</d2p1:PaidAmount>
      <d2p1:ShareAmount>9</d2p1:ShareAmount>
      <d2p1:Tax>6</d2p1:Tax>
      <d2p1:UnInvoiceAmount>10</d2p1:UnInvoiceAmount>
      <d2p1:UnPaidAmount>12</d2p1:UnPaidAmount>
      <d2p1:UnShareAmount>8</d2p1:UnShareAmount>
    </d2p1:PurSellExpenseModel>
    <d2p1:PurSellExpenseModel>
      <d2p1:Amount>5</d2p1:Amount>
      <d2p1:AmountTax>7</d2p1:AmountTax>
      <d2p1:ExpenseDetailId>3</d2p1:ExpenseDetailId>
      <d2p1:ExpenseDetailName>sample string 4</d2p1:ExpenseDetailName>
      <d2p1:ExpenseType>1</d2p1:ExpenseType>
      <d2p1:ExpenseTypeName>sample string 2</d2p1:ExpenseTypeName>
      <d2p1:InvoiceAmount>11</d2p1:InvoiceAmount>
      <d2p1:PaidAmount>13</d2p1:PaidAmount>
      <d2p1:ShareAmount>9</d2p1:ShareAmount>
      <d2p1:Tax>6</d2p1:Tax>
      <d2p1:UnInvoiceAmount>10</d2p1:UnInvoiceAmount>
      <d2p1:UnPaidAmount>12</d2p1:UnPaidAmount>
      <d2p1:UnShareAmount>8</d2p1:UnShareAmount>
    </d2p1:PurSellExpenseModel>
  </DataList>
  <TotalRow xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Money">
    <d2p1:Amount>5</d2p1:Amount>
    <d2p1:AmountTax>7</d2p1:AmountTax>
    <d2p1:ExpenseDetailId>3</d2p1:ExpenseDetailId>
    <d2p1:ExpenseDetailName>sample string 4</d2p1:ExpenseDetailName>
    <d2p1:ExpenseType>1</d2p1:ExpenseType>
    <d2p1:ExpenseTypeName>sample string 2</d2p1:ExpenseTypeName>
    <d2p1:InvoiceAmount>11</d2p1:InvoiceAmount>
    <d2p1:PaidAmount>13</d2p1:PaidAmount>
    <d2p1:ShareAmount>9</d2p1:ShareAmount>
    <d2p1:Tax>6</d2p1:Tax>
    <d2p1:UnInvoiceAmount>10</d2p1:UnInvoiceAmount>
    <d2p1:UnPaidAmount>12</d2p1:UnPaidAmount>
    <d2p1:UnShareAmount>8</d2p1:UnShareAmount>
  </TotalRow>
</ReportResultOfPurSellExpenseModelHWv6_SlI6>