GET jxc_api/Assembly/GetOutInventoryCost

Request Information

URI Parameters

None.

Body Parameters

BillItemModel
NameDescriptionTypeAdditional information
AsId

integer

None.

BillType

BillType

None.

BillDirection

BillDirection

None.

BillNo

string

None.

OldBillNo

string

None.

BillId

integer

None.

OldBillId

integer

None.

BillTime

date

None.

ProdId

integer

None.

WhId

integer

None.

ApId

integer

None.

QTY

decimal number

None.

Amount

decimal number

None.

Rate

decimal number

None.

UnitId

integer

None.

VcId

integer

None.

MainId

integer

None.

Note

string

None.

IsExist

boolean

None.

RelativeBillId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "BillType": 1010,
  "BillDirection": 1001,
  "BillNo": "sample string 2",
  "OldBillNo": "",
  "BillId": 3,
  "OldBillId": 0,
  "BillTime": "2024-04-25 11:57:55",
  "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:
<BillItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Core.Abstraction">
  <Amount>9</Amount>
  <ApId>7</ApId>
  <AsId>1</AsId>
  <BillDirection>In</BillDirection>
  <BillId>3</BillId>
  <BillNo>sample string 2</BillNo>
  <BillTime>2024-04-25T11:57:55.1343858+08:00</BillTime>
  <BillType>Purchase</BillType>
  <IsExist>true</IsExist>
  <MainId>13</MainId>
  <Note>sample string 14</Note>
  <ProdId>5</ProdId>
  <QTY>8</QTY>
  <Rate>10</Rate>
  <RelativeBillId>16</RelativeBillId>
  <UnitId>11</UnitId>
  <VcId>12</VcId>
  <WhId>6</WhId>
</BillItemModel>

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>