POST jxc_api/WarehousingList/Enroll

Request Information

URI Parameters

None.

Body Parameters

EnrollPara
NameDescriptionTypeAdditional information
BillType

BillType

None.

Ids

Collection of integer

None.

EntryIds

Collection of integer

None.

Invoices

Collection of InvoiceEnrollListModel

None.

IsBillId

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BillType": 1010,
  "Ids": [
    1,
    2
  ],
  "EntryIds": [
    1,
    2
  ],
  "Invoices": [
    {
      "Id": 1,
      "VcId": 2,
      "Date": "2024-11-25 02:28:17",
      "DateFmt": "2024-11-25",
      "No": "sample string 4",
      "Type": 1010,
      "TypeName": "sample string 5",
      "Amount": 6.0,
      "Tax": 7.0,
      "AmountTax": 8.0,
      "OfdAmount": 9.0,
      "OfuAmount": -1.0,
      "OfAmount": 10.0,
      "PayeeType": 1010,
      "PayeeId": 11
    },
    {
      "Id": 1,
      "VcId": 2,
      "Date": "2024-11-25 02:28:17",
      "DateFmt": "2024-11-25",
      "No": "sample string 4",
      "Type": 1010,
      "TypeName": "sample string 5",
      "Amount": 6.0,
      "Tax": 7.0,
      "AmountTax": 8.0,
      "OfdAmount": 9.0,
      "OfuAmount": -1.0,
      "OfAmount": 10.0,
      "PayeeType": 1010,
      "PayeeId": 11
    }
  ],
  "IsBillId": false
}

application/xml, text/xml

Sample:
<EnrollPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
  <BillType>Purchase</BillType>
  <EntryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EntryIds>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Ids>
  <Invoices>
    <InvoiceEnrollListModel>
      <Amount>6</Amount>
      <AmountTax>8</AmountTax>
      <Date>2024-11-25T02:28:17.0593503+08:00</Date>
      <Id>1</Id>
      <No>sample string 4</No>
      <OfAmount>10</OfAmount>
      <OfdAmount>9</OfdAmount>
      <PayeeId>11</PayeeId>
      <PayeeType>Customer</PayeeType>
      <Tax>7</Tax>
      <Type>NoInvoice</Type>
      <TypeName>sample string 5</TypeName>
      <VcId>2</VcId>
    </InvoiceEnrollListModel>
    <InvoiceEnrollListModel>
      <Amount>6</Amount>
      <AmountTax>8</AmountTax>
      <Date>2024-11-25T02:28:17.0593503+08:00</Date>
      <Id>1</Id>
      <No>sample string 4</No>
      <OfAmount>10</OfAmount>
      <OfdAmount>9</OfdAmount>
      <PayeeId>11</PayeeId>
      <PayeeType>Customer</PayeeType>
      <Tax>7</Tax>
      <Type>NoInvoice</Type>
      <TypeName>sample string 5</TypeName>
      <VcId>2</VcId>
    </InvoiceEnrollListModel>
  </Invoices>
</EnrollPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.