GET jxc_api/BaseDataSearch/GetVendorStatis?vendId={vendId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vendId

integer

Required

Body Parameters

None.

Response Information

Resource Description

VendorStatisModel
NameDescriptionTypeAdditional information
VendId

integer

None.

VendNo

string

None.

VendName

string

None.

Phone

string

None.

Amount

decimal number

None.

Payable

decimal number

None.

PurchaseList

Collection of TupleOfDecimalAndDecimal

None.

Response Formats

application/json, text/json

Sample:
{
  "VendId": 1,
  "VendNo": "sample string 2",
  "VendName": "sample string 3",
  "Phone": "sample string 4",
  "Amount": 5.0,
  "Payable": 6.0,
  "PurchaseList": [
    {
      "Item1": 1.0,
      "Item2": 2.0
    },
    {
      "Item1": 1.0,
      "Item2": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<VendorStatisModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <Amount>5</Amount>
  <Payable>6</Payable>
  <Phone>sample string 4</Phone>
  <VendId>1</VendId>
  <VendName>sample string 3</VendName>
  <VendNo>sample string 2</VendNo>
</VendorStatisModel>