GET jxc_api/UnitDebt/GetByUnitId?unitId={unitId}&unitType={unitType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitId

integer

Required

unitType

integer

Required

Body Parameters

None.

Response Information

Resource Description

UnitDebtModel
NameDescriptionTypeAdditional information
VcNo

string

None.

VcName

string

None.

SalesName

string

None.

Sales

integer

None.

VcType

string

None.

ARBlance

decimal number

None.

APBlance

decimal number

None.

CustCredit

decimal number

None.

CustRemainCredit

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "VcNo": "sample string 1",
  "VcName": "sample string 2",
  "SalesName": "sample string 3",
  "Sales": 4,
  "VcType": "sample string 5",
  "ARBlance": 6.0,
  "APBlance": 7.0,
  "CustCredit": 8.0,
  "CustRemainCredit": 2.0
}

application/xml, text/xml

Sample:
<UnitDebtModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <APBlance>7</APBlance>
  <ARBlance>6</ARBlance>
  <CustCredit>8</CustCredit>
  <Sales>4</Sales>
  <SalesName>sample string 3</SalesName>
  <VcName>sample string 2</VcName>
  <VcNo>sample string 1</VcNo>
  <VcType>sample string 5</VcType>
</UnitDebtModel>