POST jxc_api/VendorInitialBalance/Add

Request Information

URI Parameters

None.

Body Parameters

Collection of VendorInitialBalanceEditModel
NameDescriptionTypeAdditional information
VendId

integer

None.

Payable

decimal number

None.

Payed

decimal number

None.

Purchaser

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "VendId": 1,
    "Payable": 2.0,
    "Payed": 3.0,
    "Purchaser": 1
  },
  {
    "VendId": 1,
    "Payable": 2.0,
    "Payed": 3.0,
    "Purchaser": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendorInitialBalanceEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Vendor">
  <VendorInitialBalanceEditModel>
    <Payable>2</Payable>
    <Payed>3</Payed>
    <Purchaser>1</Purchaser>
    <VendId>1</VendId>
  </VendorInitialBalanceEditModel>
  <VendorInitialBalanceEditModel>
    <Payable>2</Payable>
    <Payed>3</Payed>
    <Purchaser>1</Purchaser>
    <VendId>1</VendId>
  </VendorInitialBalanceEditModel>
</ArrayOfVendorInitialBalanceEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.