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-05-03 16:02:40",
    "2024-05-03 16:02:40"
  ],
  "DeliveryDateType": 9,
  "DeliveryDateArr": [
    "2024-05-03 16:02:40",
    "2024-05-03 16:02:40"
  ],
  "OffDateType": 10,
  "OffDateArr": [
    "2024-05-03 16:02:40",
    "2024-05-03 16:02:40"
  ],
  "InventoryDateType": 11,
  "InventoryDateArr": [
    "2024-05-03 16:02:40",
    "2024-05-03 16:02:40"
  ]
}

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>