POST jxc_api/InBoundBillCostAdj/AdjustAssemblyExpense

Request Information

URI Parameters

None.

Body Parameters

AdjustCostPara
NameDescriptionTypeAdditional information
BillType

BillType

None.

Items

Collection of AdjustCostItem

None.

Request Formats

application/json, text/json

Sample:
{
  "BillType": 1010,
  "Items": [
    {
      "ProdId": 1,
      "WhId": 2,
      "UnitCost": 3.0,
      "Cost": 4.0,
      "BillIds": [
        1,
        2
      ],
      "NewExpense": 5.0
    },
    {
      "ProdId": 1,
      "WhId": 2,
      "UnitCost": 3.0,
      "Cost": 4.0,
      "BillIds": [
        1,
        2
      ],
      "NewExpense": 5.0
    }
  ]
}

application/xml, text/xml

Sample:
<AdjustCostPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Storage.Models">
  <BillType>Purchase</BillType>
  <Items>
    <AdjustCostItem>
      <BillIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </BillIds>
      <Cost>4</Cost>
      <NewExpense>5</NewExpense>
      <ProdId>1</ProdId>
      <UnitCost>3</UnitCost>
      <WhId>2</WhId>
    </AdjustCostItem>
    <AdjustCostItem>
      <BillIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </BillIds>
      <Cost>4</Cost>
      <NewExpense>5</NewExpense>
      <ProdId>1</ProdId>
      <UnitCost>3</UnitCost>
      <WhId>2</WhId>
    </AdjustCostItem>
  </Items>
</AdjustCostPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.