POST jxc_api/Disassembly/GetOutInventoryCost

Request Information

URI Parameters

None.

Body Parameters

GetOutInventoryCostPara
NameDescriptionTypeAdditional information
Deliveries

Collection of BillItemModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Deliveries": [
    {
      "AsId": 1,
      "BillType": 1010,
      "BillDirection": 1001,
      "BillNo": "sample string 2",
      "OldBillNo": "",
      "BillId": 3,
      "OldBillId": 0,
      "BillTime": "2024-11-25 01:04:38",
      "ProdId": 5,
      "WhId": 6,
      "ApId": 7,
      "QTY": 8.0,
      "Amount": 9.0,
      "Rate": 10.0,
      "UnitId": 11,
      "VcId": 12,
      "MainId": 13,
      "Note": "sample string 14",
      "IsExist": true,
      "RelativeBillId": 16
    },
    {
      "AsId": 1,
      "BillType": 1010,
      "BillDirection": 1001,
      "BillNo": "sample string 2",
      "OldBillNo": "",
      "BillId": 3,
      "OldBillId": 0,
      "BillTime": "2024-11-25 01:04:38",
      "ProdId": 5,
      "WhId": 6,
      "ApId": 7,
      "QTY": 8.0,
      "Amount": 9.0,
      "Rate": 10.0,
      "UnitId": 11,
      "VcId": 12,
      "MainId": 13,
      "Note": "sample string 14",
      "IsExist": true,
      "RelativeBillId": 16
    }
  ]
}

application/xml, text/xml

Sample:
<GetOutInventoryCostPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Storage.Models">
  <Deliveries xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Core.Abstraction">
    <d2p1:BillItemModel>
      <d2p1:Amount>9</d2p1:Amount>
      <d2p1:ApId>7</d2p1:ApId>
      <d2p1:AsId>1</d2p1:AsId>
      <d2p1:BillDirection>In</d2p1:BillDirection>
      <d2p1:BillId>3</d2p1:BillId>
      <d2p1:BillNo>sample string 2</d2p1:BillNo>
      <d2p1:BillTime>2024-11-25T01:04:38.4068179+08:00</d2p1:BillTime>
      <d2p1:BillType>Purchase</d2p1:BillType>
      <d2p1:IsExist>true</d2p1:IsExist>
      <d2p1:MainId>13</d2p1:MainId>
      <d2p1:Note>sample string 14</d2p1:Note>
      <d2p1:ProdId>5</d2p1:ProdId>
      <d2p1:QTY>8</d2p1:QTY>
      <d2p1:Rate>10</d2p1:Rate>
      <d2p1:RelativeBillId>16</d2p1:RelativeBillId>
      <d2p1:UnitId>11</d2p1:UnitId>
      <d2p1:VcId>12</d2p1:VcId>
      <d2p1:WhId>6</d2p1:WhId>
    </d2p1:BillItemModel>
    <d2p1:BillItemModel>
      <d2p1:Amount>9</d2p1:Amount>
      <d2p1:ApId>7</d2p1:ApId>
      <d2p1:AsId>1</d2p1:AsId>
      <d2p1:BillDirection>In</d2p1:BillDirection>
      <d2p1:BillId>3</d2p1:BillId>
      <d2p1:BillNo>sample string 2</d2p1:BillNo>
      <d2p1:BillTime>2024-11-25T01:04:38.4068179+08:00</d2p1:BillTime>
      <d2p1:BillType>Purchase</d2p1:BillType>
      <d2p1:IsExist>true</d2p1:IsExist>
      <d2p1:MainId>13</d2p1:MainId>
      <d2p1:Note>sample string 14</d2p1:Note>
      <d2p1:ProdId>5</d2p1:ProdId>
      <d2p1:QTY>8</d2p1:QTY>
      <d2p1:Rate>10</d2p1:Rate>
      <d2p1:RelativeBillId>16</d2p1:RelativeBillId>
      <d2p1:UnitId>11</d2p1:UnitId>
      <d2p1:VcId>12</d2p1:VcId>
      <d2p1:WhId>6</d2p1:WhId>
    </d2p1:BillItemModel>
  </Deliveries>
</GetOutInventoryCostPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField>
  <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
</MessageModel>