POST jxc_api/OperatingProfit/SearchForAll

Request Information

URI Parameters

None.

Body Parameters

OperatingProfitSearchConditions
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

ShowTotal

boolean

None.

ShowQoQ

boolean

None.

ShowYoY

boolean

None.

ShowQuarterly

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:
{
  "StartDate": "2024-11-25 02:37:43",
  "EndDate": "2024-11-25 02:37:43",
  "ShowTotal": true,
  "ShowQoQ": true,
  "ShowYoY": true,
  "ShowQuarterly": true,
  "CurrUserSn": 7,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 10,
  "DocumentDateArr": [
    "2024-11-25 02:37:43",
    "2024-11-25 02:37:43"
  ],
  "DeliveryDateType": 11,
  "DeliveryDateArr": [
    "2024-11-25 02:37:43",
    "2024-11-25 02:37:43"
  ],
  "OffDateType": 12,
  "OffDateArr": [
    "2024-11-25 02:37:43",
    "2024-11-25 02:37:43"
  ],
  "InventoryDateType": 13,
  "InventoryDateArr": [
    "2024-11-25 02:37:43",
    "2024-11-25 02:37:43"
  ]
}

application/xml, text/xml

Sample:
<OperatingProfitSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Money">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">13</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:43.7633384+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">7</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField 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>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <EndDate>2024-11-25T02:37:43.7633384+08:00</EndDate>
  <ShowQoQ>true</ShowQoQ>
  <ShowQuarterly>true</ShowQuarterly>
  <ShowTotal>true</ShowTotal>
  <ShowYoY>true</ShowYoY>
  <StartDate>2024-11-25T02:37:43.7633384+08:00</StartDate>
</OperatingProfitSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OperatingProfitModel
NameDescriptionTypeAdditional information
Datas

Collection of OperatingProfitBusinessModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Datas": [
    {
      "OtherPayments": {
        "1": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        },
        "2": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        }
      },
      "OtherReceipts": {
        "1": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        },
        "2": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        }
      },
      "ColumnName": "sample string 1",
      "Date": "2024-11-25 02:37:43",
      "SumDoAmount": 1.0,
      "SumDoRetAmount": 1.0,
      "SumSellCostAmount": 1.0,
      "MainBusinessProfit": 1.0,
      "SumOtherReceiptAmount": 1.0,
      "SumOtherPaymentAmount": 1.0,
      "SumPankui": 1.0,
      "Profit": 1.0,
      "SumRecieveAmount": 1.0,
      "SumReceivable": 1.0,
      "SumPayable": 1.0
    },
    {
      "OtherPayments": {
        "1": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        },
        "2": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        }
      },
      "OtherReceipts": {
        "1": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        },
        "2": {
          "OrpType": 1010,
          "OrpeTypeName": "sample string 1",
          "OrpeTypeId": 2,
          "Date": "2024-11-25 02:37:43",
          "Amount": 1.0
        }
      },
      "ColumnName": "sample string 1",
      "Date": "2024-11-25 02:37:43",
      "SumDoAmount": 1.0,
      "SumDoRetAmount": 1.0,
      "SumSellCostAmount": 1.0,
      "MainBusinessProfit": 1.0,
      "SumOtherReceiptAmount": 1.0,
      "SumOtherPaymentAmount": 1.0,
      "SumPankui": 1.0,
      "Profit": 1.0,
      "SumRecieveAmount": 1.0,
      "SumReceivable": 1.0,
      "SumPayable": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<OperatingProfitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Money">
  <Datas>
    <OperatingProfitBusinessModel>
      <ColumnName>sample string 1</ColumnName>
      <Date>2024-11-25T02:37:43.7633384+08:00</Date>
      <MainBusinessProfit>1</MainBusinessProfit>
      <OtherPayments xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>2</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
      </OtherPayments>
      <OtherReceipts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>2</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
      </OtherReceipts>
      <Profit>1</Profit>
      <SumDoAmount>1</SumDoAmount>
      <SumDoRetAmount>1</SumDoRetAmount>
      <SumOtherPaymentAmount>1</SumOtherPaymentAmount>
      <SumOtherReceiptAmount>1</SumOtherReceiptAmount>
      <SumPankui>1</SumPankui>
      <SumPayable>1</SumPayable>
      <SumReceivable>1</SumReceivable>
      <SumRecieveAmount>1</SumRecieveAmount>
      <SumSellCostAmount>1</SumSellCostAmount>
    </OperatingProfitBusinessModel>
    <OperatingProfitBusinessModel>
      <ColumnName>sample string 1</ColumnName>
      <Date>2024-11-25T02:37:43.7633384+08:00</Date>
      <MainBusinessProfit>1</MainBusinessProfit>
      <OtherPayments xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>2</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
      </OtherPayments>
      <OtherReceipts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
        <d4p1:KeyValueOfintOrpModelQ1y7bBCT>
          <d4p1:Key>2</d4p1:Key>
          <d4p1:Value>
            <Amount>1</Amount>
            <Date>2024-11-25T02:37:43.7633384+08:00</Date>
            <OrpType>Purchase</OrpType>
            <OrpeTypeId>2</OrpeTypeId>
            <OrpeTypeName>sample string 1</OrpeTypeName>
          </d4p1:Value>
        </d4p1:KeyValueOfintOrpModelQ1y7bBCT>
      </OtherReceipts>
      <Profit>1</Profit>
      <SumDoAmount>1</SumDoAmount>
      <SumDoRetAmount>1</SumDoRetAmount>
      <SumOtherPaymentAmount>1</SumOtherPaymentAmount>
      <SumOtherReceiptAmount>1</SumOtherReceiptAmount>
      <SumPankui>1</SumPankui>
      <SumPayable>1</SumPayable>
      <SumReceivable>1</SumReceivable>
      <SumRecieveAmount>1</SumRecieveAmount>
      <SumSellCostAmount>1</SumSellCostAmount>
    </OperatingProfitBusinessModel>
  </Datas>
</OperatingProfitModel>