GET jxc_api/BaseDataSearch/GetCustomerStatis?custId={custId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerStatisModel
NameDescriptionTypeAdditional information
CustId

integer

None.

CustNo

string

None.

CustName

string

None.

CustGradeName

string

None.

Phone

string

None.

Amount

decimal number

None.

Receivable

decimal number

None.

SellList

Collection of TupleOfDecimalAndDecimal

None.

Response Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "CustNo": "sample string 2",
  "CustName": "sample string 3",
  "CustGradeName": "sample string 4",
  "Phone": "sample string 5",
  "Amount": 6.0,
  "Receivable": 7.0,
  "SellList": [
    {
      "Item1": 1.0,
      "Item2": 2.0
    },
    {
      "Item1": 1.0,
      "Item2": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerStatisModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <Amount>6</Amount>
  <CustGradeName>sample string 4</CustGradeName>
  <CustId>1</CustId>
  <CustName>sample string 3</CustName>
  <CustNo>sample string 2</CustNo>
  <Phone>sample string 5</Phone>
  <Receivable>7</Receivable>
  <SellList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:TupleOfdecimaldecimal>
      <d2p1:m_Item1>1</d2p1:m_Item1>
      <d2p1:m_Item2>2</d2p1:m_Item2>
    </d2p1:TupleOfdecimaldecimal>
    <d2p1:TupleOfdecimaldecimal>
      <d2p1:m_Item1>1</d2p1:m_Item1>
      <d2p1:m_Item2>2</d2p1:m_Item2>
    </d2p1:TupleOfdecimaldecimal>
  </SellList>
</CustomerStatisModel>