POST jxc_api/Warehousing/Check

Request Information

URI Parameters

None.

Body Parameters

WarehousingEditModel
NameDescriptionTypeAdditional information
Id

integer

None.

No

string

None.

PoNo

string

None.

PoId

integer

None.

WhsNo

string

None.

WhsId

integer

None.

BType

BillType

None.

Date

date

None.

VendId

integer

None.

Purchaser

integer

None.

DiscRate

decimal number

None.

DiscAmount

decimal number

None.

Amount

decimal number

None.

QTY

decimal number

None.

AmountFirst

decimal number

None.

Expense

decimal number

None.

AcId

integer

None.

Note

string

None.

ShareExpense

integer

None.

IsNotRelated

boolean

None.

AccountingItemId

integer

None.

DepartmentId

integer

None.

SettlePeriodId

integer

None.

SettlePeriodName

string

None.

SettlePeriodDate

date

None.

RelatedBills

Collection of IdNoPair

None.

InvoiceType

integer

None.

InvoiceTypeName

string

None.

AutoGenerate

boolean

None.

Items

Collection of WarehousingEntryEditModel

None.

ExpenseItems

Collection of ExpenseEditModel

None.

PayInfoItems

Collection of PayEditModel

None.

NeedJudgePrice

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "No": "sample string 2",
  "PoNo": "sample string 3",
  "PoId": 4,
  "WhsNo": "sample string 5",
  "WhsId": 6,
  "BType": 1010,
  "Date": "2024-11-25 01:21:39",
  "VendId": 8,
  "Purchaser": 9,
  "DiscRate": 10.0,
  "DiscAmount": 11.0,
  "Amount": 12.0,
  "QTY": 13.0,
  "AmountFirst": 14.0,
  "Expense": 15.0,
  "AcId": 16,
  "Note": "sample string 17",
  "ShareExpense": 18,
  "IsNotRelated": true,
  "AccountingItemId": 20,
  "DepartmentId": 21,
  "SettlePeriodId": 22,
  "SettlePeriodName": "sample string 23",
  "SettlePeriodDate": "2024-11-25 01:21:39",
  "RelatedBills": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "InvoiceType": 25,
  "InvoiceTypeName": "sample string 26",
  "AutoGenerate": true,
  "Items": [
    {
      "Id": 1,
      "RId": 2,
      "WhsRId": 3,
      "WhsRNo": "sample string 4",
      "ProdId": 5,
      "ApId": 6,
      "WhId": 7,
      "UnitId": 8,
      "QTY": 9.0,
      "Price": 10.0,
      "PriceTax": 11.0,
      "DiscRate": 12.0,
      "DiscAmount": 13.0,
      "DiscAllocation": 14.0,
      "Amount": 15.0,
      "TaxRate": 16.0,
      "Tax": 17.0,
      "AmountTax": 18.0,
      "Expense": 19.0,
      "Note": "sample string 20",
      "IsNotRelated": true,
      "PoId": 22,
      "PoNo": "sample string 23",
      "PoeId": 24,
      "QTYR": 25.0,
      "StrValue1": "sample string 26",
      "StrValue2": "sample string 27",
      "StrValue3": "sample string 28",
      "StrValue4": "sample string 29",
      "StrValue5": "sample string 30",
      "StrValue6": "sample string 31",
      "StrValue7": "sample string 32",
      "StrValue8": "sample string 33",
      "SoId": 34,
      "SoNo": "sample string 35",
      "SoeId": 36,
      "SerialEnabled": true,
      "BatchEnabled": true,
      "LifeTimeEnabled": true,
      "BatchNo": "sample string 40",
      "SerialNoItems": [
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        },
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        }
      ],
      "ProductionDate": "2024-11-25 01:21:39",
      "ExpirationDate": "2024-11-25 01:21:39"
    },
    {
      "Id": 1,
      "RId": 2,
      "WhsRId": 3,
      "WhsRNo": "sample string 4",
      "ProdId": 5,
      "ApId": 6,
      "WhId": 7,
      "UnitId": 8,
      "QTY": 9.0,
      "Price": 10.0,
      "PriceTax": 11.0,
      "DiscRate": 12.0,
      "DiscAmount": 13.0,
      "DiscAllocation": 14.0,
      "Amount": 15.0,
      "TaxRate": 16.0,
      "Tax": 17.0,
      "AmountTax": 18.0,
      "Expense": 19.0,
      "Note": "sample string 20",
      "IsNotRelated": true,
      "PoId": 22,
      "PoNo": "sample string 23",
      "PoeId": 24,
      "QTYR": 25.0,
      "StrValue1": "sample string 26",
      "StrValue2": "sample string 27",
      "StrValue3": "sample string 28",
      "StrValue4": "sample string 29",
      "StrValue5": "sample string 30",
      "StrValue6": "sample string 31",
      "StrValue7": "sample string 32",
      "StrValue8": "sample string 33",
      "SoId": 34,
      "SoNo": "sample string 35",
      "SoeId": 36,
      "SerialEnabled": true,
      "BatchEnabled": true,
      "LifeTimeEnabled": true,
      "BatchNo": "sample string 40",
      "SerialNoItems": [
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        },
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        }
      ],
      "ProductionDate": "2024-11-25 01:21:39",
      "ExpirationDate": "2024-11-25 01:21:39"
    }
  ],
  "ExpenseItems": [
    {
      "VendId": 1,
      "ExpType": 2,
      "Amount": 3.0,
      "Note": "sample string 4",
      "Id": 5,
      "ShareRule": 1001,
      "PayeeType": 1010,
      "TaxRate": 6.0,
      "Tax": 7.0,
      "AmountTax": 8.0,
      "CustPayment": 9.0,
      "SumCustAmount": 10.0,
      "PayeeId": 11,
      "SumAmount": 12.0,
      "ExpPid": 13,
      "IsCustPayment": true
    },
    {
      "VendId": 1,
      "ExpType": 2,
      "Amount": 3.0,
      "Note": "sample string 4",
      "Id": 5,
      "ShareRule": 1001,
      "PayeeType": 1010,
      "TaxRate": 6.0,
      "Tax": 7.0,
      "AmountTax": 8.0,
      "CustPayment": 9.0,
      "SumCustAmount": 10.0,
      "PayeeId": 11,
      "SumAmount": 12.0,
      "ExpPid": 13,
      "IsCustPayment": true
    }
  ],
  "PayInfoItems": [
    {
      "AcId": 1,
      "Amount": 2.0,
      "PayMethod": 3,
      "RefNo": "sample string 4"
    },
    {
      "AcId": 1,
      "Amount": 2.0,
      "PayMethod": 3,
      "RefNo": "sample string 4"
    }
  ],
  "NeedJudgePrice": true
}

application/xml, text/xml

Sample:
<WarehousingEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
  <AcId>16</AcId>
  <AccountingItemId>20</AccountingItemId>
  <Amount>12</Amount>
  <AmountFirst>14</AmountFirst>
  <AutoGenerate>true</AutoGenerate>
  <BType>Purchase</BType>
  <Date>2024-11-25T01:21:39.0841286+08:00</Date>
  <DepartmentId>21</DepartmentId>
  <DiscAmount>11</DiscAmount>
  <DiscRate>10</DiscRate>
  <Expense>15</Expense>
  <ExpenseItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
    <d2p1:ExpenseEditModel>
      <d2p1:Amount>3</d2p1:Amount>
      <d2p1:AmountTax>8</d2p1:AmountTax>
      <d2p1:CustPayment>9</d2p1:CustPayment>
      <d2p1:ExpPid>13</d2p1:ExpPid>
      <d2p1:ExpType>2</d2p1:ExpType>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:IsCustPayment>true</d2p1:IsCustPayment>
      <d2p1:Note>sample string 4</d2p1:Note>
      <d2p1:PayeeId>11</d2p1:PayeeId>
      <d2p1:PayeeType>Customer</d2p1:PayeeType>
      <d2p1:ShareRule>Amount</d2p1:ShareRule>
      <d2p1:SumAmount>12</d2p1:SumAmount>
      <d2p1:SumCustAmount>10</d2p1:SumCustAmount>
      <d2p1:Tax>7</d2p1:Tax>
      <d2p1:TaxRate>6</d2p1:TaxRate>
      <d2p1:VendId>1</d2p1:VendId>
    </d2p1:ExpenseEditModel>
    <d2p1:ExpenseEditModel>
      <d2p1:Amount>3</d2p1:Amount>
      <d2p1:AmountTax>8</d2p1:AmountTax>
      <d2p1:CustPayment>9</d2p1:CustPayment>
      <d2p1:ExpPid>13</d2p1:ExpPid>
      <d2p1:ExpType>2</d2p1:ExpType>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:IsCustPayment>true</d2p1:IsCustPayment>
      <d2p1:Note>sample string 4</d2p1:Note>
      <d2p1:PayeeId>11</d2p1:PayeeId>
      <d2p1:PayeeType>Customer</d2p1:PayeeType>
      <d2p1:ShareRule>Amount</d2p1:ShareRule>
      <d2p1:SumAmount>12</d2p1:SumAmount>
      <d2p1:SumCustAmount>10</d2p1:SumCustAmount>
      <d2p1:Tax>7</d2p1:Tax>
      <d2p1:TaxRate>6</d2p1:TaxRate>
      <d2p1:VendId>1</d2p1:VendId>
    </d2p1:ExpenseEditModel>
  </ExpenseItems>
  <Id>1</Id>
  <InvoiceType>25</InvoiceType>
  <InvoiceTypeName>sample string 26</InvoiceTypeName>
  <IsNotRelated>true</IsNotRelated>
  <Items>
    <WarehousingEntryEditModel>
      <Amount>15</Amount>
      <AmountTax>18</AmountTax>
      <ApId>6</ApId>
      <BatchEnabled>true</BatchEnabled>
      <BatchNo>sample string 40</BatchNo>
      <DiscAllocation>14</DiscAllocation>
      <DiscAmount>13</DiscAmount>
      <DiscRate>12</DiscRate>
      <Expense>19</Expense>
      <ExpirationDate>2024-11-25T01:21:39.0841286+08:00</ExpirationDate>
      <Id>1</Id>
      <IsNotRelated>true</IsNotRelated>
      <LifeTimeEnabled>true</LifeTimeEnabled>
      <Note>sample string 20</Note>
      <PoId>22</PoId>
      <PoNo>sample string 23</PoNo>
      <PoeId>24</PoeId>
      <Price>10</Price>
      <PriceTax>11</PriceTax>
      <ProdId>5</ProdId>
      <ProductionDate>2024-11-25T01:21:39.0841286+08:00</ProductionDate>
      <QTY>9</QTY>
      <QTYR>25</QTYR>
      <RId>2</RId>
      <SerialEnabled>true</SerialEnabled>
      <SerialNoItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
      </SerialNoItems>
      <SoId>34</SoId>
      <SoNo>sample string 35</SoNo>
      <SoeId>36</SoeId>
      <StrValue1>sample string 26</StrValue1>
      <StrValue2>sample string 27</StrValue2>
      <StrValue3>sample string 28</StrValue3>
      <StrValue4>sample string 29</StrValue4>
      <StrValue5>sample string 30</StrValue5>
      <StrValue6>sample string 31</StrValue6>
      <StrValue7>sample string 32</StrValue7>
      <StrValue8>sample string 33</StrValue8>
      <Tax>17</Tax>
      <TaxRate>16</TaxRate>
      <UnitId>8</UnitId>
      <WhId>7</WhId>
      <WhsRId>3</WhsRId>
      <WhsRNo>sample string 4</WhsRNo>
    </WarehousingEntryEditModel>
    <WarehousingEntryEditModel>
      <Amount>15</Amount>
      <AmountTax>18</AmountTax>
      <ApId>6</ApId>
      <BatchEnabled>true</BatchEnabled>
      <BatchNo>sample string 40</BatchNo>
      <DiscAllocation>14</DiscAllocation>
      <DiscAmount>13</DiscAmount>
      <DiscRate>12</DiscRate>
      <Expense>19</Expense>
      <ExpirationDate>2024-11-25T01:21:39.0841286+08:00</ExpirationDate>
      <Id>1</Id>
      <IsNotRelated>true</IsNotRelated>
      <LifeTimeEnabled>true</LifeTimeEnabled>
      <Note>sample string 20</Note>
      <PoId>22</PoId>
      <PoNo>sample string 23</PoNo>
      <PoeId>24</PoeId>
      <Price>10</Price>
      <PriceTax>11</PriceTax>
      <ProdId>5</ProdId>
      <ProductionDate>2024-11-25T01:21:39.0841286+08:00</ProductionDate>
      <QTY>9</QTY>
      <QTYR>25</QTYR>
      <RId>2</RId>
      <SerialEnabled>true</SerialEnabled>
      <SerialNoItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
      </SerialNoItems>
      <SoId>34</SoId>
      <SoNo>sample string 35</SoNo>
      <SoeId>36</SoeId>
      <StrValue1>sample string 26</StrValue1>
      <StrValue2>sample string 27</StrValue2>
      <StrValue3>sample string 28</StrValue3>
      <StrValue4>sample string 29</StrValue4>
      <StrValue5>sample string 30</StrValue5>
      <StrValue6>sample string 31</StrValue6>
      <StrValue7>sample string 32</StrValue7>
      <StrValue8>sample string 33</StrValue8>
      <Tax>17</Tax>
      <TaxRate>16</TaxRate>
      <UnitId>8</UnitId>
      <WhId>7</WhId>
      <WhsRId>3</WhsRId>
      <WhsRNo>sample string 4</WhsRNo>
    </WarehousingEntryEditModel>
  </Items>
  <NeedJudgePrice>true</NeedJudgePrice>
  <No>sample string 2</No>
  <Note>sample string 17</Note>
  <PayInfoItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
    <d2p1:PayEditModel>
      <d2p1:AcId>1</d2p1:AcId>
      <d2p1:Amount>2</d2p1:Amount>
      <d2p1:PayMethod>3</d2p1:PayMethod>
      <d2p1:RefNo>sample string 4</d2p1:RefNo>
    </d2p1:PayEditModel>
    <d2p1:PayEditModel>
      <d2p1:AcId>1</d2p1:AcId>
      <d2p1:Amount>2</d2p1:Amount>
      <d2p1:PayMethod>3</d2p1:PayMethod>
      <d2p1:RefNo>sample string 4</d2p1:RefNo>
    </d2p1:PayEditModel>
  </PayInfoItems>
  <PoId>4</PoId>
  <PoNo>sample string 3</PoNo>
  <Purchaser>9</Purchaser>
  <QTY>13</QTY>
  <RelatedBills xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
    <d2p1:IdNoPair>
      <d2p1:_x003C_BType_x003E_k__BackingField>Purchase</d2p1:_x003C_BType_x003E_k__BackingField>
      <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
      <d2p1:_x003C_No_x003E_k__BackingField>sample string 2</d2p1:_x003C_No_x003E_k__BackingField>
    </d2p1:IdNoPair>
    <d2p1:IdNoPair>
      <d2p1:_x003C_BType_x003E_k__BackingField>Purchase</d2p1:_x003C_BType_x003E_k__BackingField>
      <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
      <d2p1:_x003C_No_x003E_k__BackingField>sample string 2</d2p1:_x003C_No_x003E_k__BackingField>
    </d2p1:IdNoPair>
  </RelatedBills>
  <SettlePeriodDate>2024-11-25T01:21:39.0841286+08:00</SettlePeriodDate>
  <SettlePeriodId>22</SettlePeriodId>
  <SettlePeriodName>sample string 23</SettlePeriodName>
  <ShareExpense>18</ShareExpense>
  <VendId>8</VendId>
  <WhsId>6</WhsId>
  <WhsNo>sample string 5</WhsNo>
</WarehousingEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WebApi.IdNoPair
NameDescriptionTypeAdditional information
Id

integer

None.

No

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "No": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<IdNoPair xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models">
  <Id>1</Id>
  <Message>sample string 3</Message>
  <No>sample string 2</No>
</IdNoPair>