POST jxc_api/Profit/Search

Request Information

URI Parameters

None.

Body Parameters

MoneyProfitSearchConditions
NameDescriptionTypeAdditional information
AsStartDateFmt

string

None.

StartDateFmt

string

None.

EndDateFmt

string

None.

isShowDetails

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:
{
  "AsStartDateFmt": "sample string 1",
  "StartDateFmt": "sample string 2",
  "EndDateFmt": "sample string 3",
  "isShowDetails": true,
  "CurrUserSn": 5,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 8,
  "DocumentDateArr": [
    "2024-11-25 02:26:11",
    "2024-11-25 02:26:11"
  ],
  "DeliveryDateType": 9,
  "DeliveryDateArr": [
    "2024-11-25 02:26:11",
    "2024-11-25 02:26:11"
  ],
  "OffDateType": 10,
  "OffDateArr": [
    "2024-11-25 02:26:11",
    "2024-11-25 02:26:11"
  ],
  "InventoryDateType": 11,
  "InventoryDateArr": [
    "2024-11-25 02:26:11",
    "2024-11-25 02:26:11"
  ]
}

application/xml, text/xml

Sample:
<MoneyProfitSearchConditions 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:26:11.3750627+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:11.3750627+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">9</_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:26:11.3750627+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:11.3750627+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">8</_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:26:11.3750627+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:11.3750627+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">11</_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:26:11.3750627+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:11.3750627+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">10</_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">5</_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>
  <_x003C_AsStartDateFmt_x003E_k__BackingField>sample string 1</_x003C_AsStartDateFmt_x003E_k__BackingField>
  <_x003C_EndDateFmt_x003E_k__BackingField>sample string 3</_x003C_EndDateFmt_x003E_k__BackingField>
  <_x003C_StartDateFmt_x003E_k__BackingField>sample string 2</_x003C_StartDateFmt_x003E_k__BackingField>
  <_x003C_isShowDetails_x003E_k__BackingField>true</_x003C_isShowDetails_x003E_k__BackingField>
</MoneyProfitSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MoneyProfitModel
NameDescriptionTypeAdditional information
MainBusinessData

MoneyProfitMainBusinessModel

None.

OtherRecAmount

decimal number

None.

OtherPayAmount

decimal number

None.

OtherRecList

Collection of OtherRecePayInfo

None.

OtherPayList

Collection of OtherRecePayInfo

None.

MainBusinessProfit

decimal number

None.

OtherBusinessProfit

decimal number

None.

Profit

decimal number

None.

SumRecieveAmount

decimal number

None.

SumReceivable

decimal number

None.

SumPayable

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "MainBusinessData": {
    "SumDoAmount": 1.0,
    "SumDoDiscAmount": 2.0,
    "SumRecDiscAmount": 3.0,
    "SumPoDiscAmount": 4.0,
    "SumPayDiscAmount": 5.0,
    "SumPdAmount": 6.0,
    "SumSellCostAmount": 7.0,
    "Profit": 4.0
  },
  "OtherRecAmount": 1.0,
  "OtherPayAmount": 2.0,
  "OtherRecList": [
    {
      "Type": 1,
      "TypeName": "sample string 2",
      "Amount": 3.0
    },
    {
      "Type": 1,
      "TypeName": "sample string 2",
      "Amount": 3.0
    }
  ],
  "OtherPayList": [
    {
      "Type": 1,
      "TypeName": "sample string 2",
      "Amount": 3.0
    },
    {
      "Type": 1,
      "TypeName": "sample string 2",
      "Amount": 3.0
    }
  ],
  "MainBusinessProfit": 4.0,
  "OtherBusinessProfit": -1.0,
  "Profit": 3.0,
  "SumRecieveAmount": 3.0,
  "SumReceivable": 4.0,
  "SumPayable": 5.0
}

application/xml, text/xml

Sample:
<MoneyProfitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Money">
  <MainBusinessData>
    <_x003C_SumDoAmount_x003E_k__BackingField>1</_x003C_SumDoAmount_x003E_k__BackingField>
    <_x003C_SumDoDiscAmount_x003E_k__BackingField>2</_x003C_SumDoDiscAmount_x003E_k__BackingField>
    <_x003C_SumPayDiscAmount_x003E_k__BackingField>5</_x003C_SumPayDiscAmount_x003E_k__BackingField>
    <_x003C_SumPdAmount_x003E_k__BackingField>6</_x003C_SumPdAmount_x003E_k__BackingField>
    <_x003C_SumPoDiscAmount_x003E_k__BackingField>4</_x003C_SumPoDiscAmount_x003E_k__BackingField>
    <_x003C_SumRecDiscAmount_x003E_k__BackingField>3</_x003C_SumRecDiscAmount_x003E_k__BackingField>
    <_x003C_SumSellCostAmount_x003E_k__BackingField>7</_x003C_SumSellCostAmount_x003E_k__BackingField>
  </MainBusinessData>
  <OtherPayAmount>2</OtherPayAmount>
  <OtherPayList>
    <OtherRecePayInfo>
      <_x003C_Amount_x003E_k__BackingField>3</_x003C_Amount_x003E_k__BackingField>
      <_x003C_TypeName_x003E_k__BackingField>sample string 2</_x003C_TypeName_x003E_k__BackingField>
      <_x003C_Type_x003E_k__BackingField>1</_x003C_Type_x003E_k__BackingField>
    </OtherRecePayInfo>
    <OtherRecePayInfo>
      <_x003C_Amount_x003E_k__BackingField>3</_x003C_Amount_x003E_k__BackingField>
      <_x003C_TypeName_x003E_k__BackingField>sample string 2</_x003C_TypeName_x003E_k__BackingField>
      <_x003C_Type_x003E_k__BackingField>1</_x003C_Type_x003E_k__BackingField>
    </OtherRecePayInfo>
  </OtherPayList>
  <OtherRecAmount>1</OtherRecAmount>
  <OtherRecList>
    <OtherRecePayInfo>
      <_x003C_Amount_x003E_k__BackingField>3</_x003C_Amount_x003E_k__BackingField>
      <_x003C_TypeName_x003E_k__BackingField>sample string 2</_x003C_TypeName_x003E_k__BackingField>
      <_x003C_Type_x003E_k__BackingField>1</_x003C_Type_x003E_k__BackingField>
    </OtherRecePayInfo>
    <OtherRecePayInfo>
      <_x003C_Amount_x003E_k__BackingField>3</_x003C_Amount_x003E_k__BackingField>
      <_x003C_TypeName_x003E_k__BackingField>sample string 2</_x003C_TypeName_x003E_k__BackingField>
      <_x003C_Type_x003E_k__BackingField>1</_x003C_Type_x003E_k__BackingField>
    </OtherRecePayInfo>
  </OtherRecList>
  <SumPayable>5</SumPayable>
  <SumReceivable>4</SumReceivable>
  <SumRecieveAmount>3</SumRecieveAmount>
</MoneyProfitModel>