POST jxc_api/OrderBySale/CreateWHSForOBS

Request Information

URI Parameters

None.

Body Parameters

Collection of WHSForOBSCreateModel
NameDescriptionTypeAdditional information
Id

integer

None.

No

string

None.

VendId

integer

None.

Date

date

None.

DeliveryDate

date

None.

BType

BillType

None.

PrintCount

integer

None.

AmountFirst

decimal number

None.

SoId

integer

None.

SoNo

string

None.

SoeId

integer

None.

Items

Collection of WarehousingEntryEditModel

None.

PoeId

integer

None.

ProdId

integer

None.

ApId

integer

None.

WhId

integer

None.

UnitId

integer

None.

QTY

decimal number

None.

Price

decimal number

None.

PriceTax

decimal number

None.

Amount

decimal number

None.

TaxRate

decimal number

None.

Tax

decimal number

None.

AmountTax

decimal number

None.

Note

string

None.

StrValue1

string

None.

StrValue2

string

None.

StrValue3

string

None.

StrValue4

string

None.

StrValue5

string

None.

StrValue6

string

None.

StrValue7

string

None.

StrValue8

string

None.

NPurcQTY

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "No": "sample string 2",
    "VendId": 3,
    "Date": "2024-05-03 17:26:06",
    "DeliveryDate": "2024-05-03 17:26:06",
    "BType": 1010,
    "PrintCount": 6,
    "AmountFirst": 7.0,
    "SoId": 8,
    "SoNo": "sample string 9",
    "SoeId": 10,
    "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-05-03 17:26:06"
      },
      {
        "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-05-03 17:26:06"
      }
    ],
    "PoeId": 11,
    "ProdId": 12,
    "ApId": 13,
    "WhId": 14,
    "UnitId": 15,
    "QTY": 16.0,
    "Price": 17.0,
    "PriceTax": 18.0,
    "Amount": 19.0,
    "TaxRate": 20.0,
    "Tax": 21.0,
    "AmountTax": 22.0,
    "Note": "sample string 23",
    "StrValue1": "sample string 24",
    "StrValue2": "sample string 25",
    "StrValue3": "sample string 26",
    "StrValue4": "sample string 27",
    "StrValue5": "sample string 28",
    "StrValue6": "sample string 29",
    "StrValue7": "sample string 30",
    "StrValue8": "sample string 31",
    "NPurcQTY": 32.0
  },
  {
    "Id": 1,
    "No": "sample string 2",
    "VendId": 3,
    "Date": "2024-05-03 17:26:06",
    "DeliveryDate": "2024-05-03 17:26:06",
    "BType": 1010,
    "PrintCount": 6,
    "AmountFirst": 7.0,
    "SoId": 8,
    "SoNo": "sample string 9",
    "SoeId": 10,
    "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-05-03 17:26:06"
      },
      {
        "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-05-03 17:26:06"
      }
    ],
    "PoeId": 11,
    "ProdId": 12,
    "ApId": 13,
    "WhId": 14,
    "UnitId": 15,
    "QTY": 16.0,
    "Price": 17.0,
    "PriceTax": 18.0,
    "Amount": 19.0,
    "TaxRate": 20.0,
    "Tax": 21.0,
    "AmountTax": 22.0,
    "Note": "sample string 23",
    "StrValue1": "sample string 24",
    "StrValue2": "sample string 25",
    "StrValue3": "sample string 26",
    "StrValue4": "sample string 27",
    "StrValue5": "sample string 28",
    "StrValue6": "sample string 29",
    "StrValue7": "sample string 30",
    "StrValue8": "sample string 31",
    "NPurcQTY": 32.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfWHSForOBSCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
  <WHSForOBSCreateModel>
    <Amount>19</Amount>
    <AmountFirst>7</AmountFirst>
    <AmountTax>22</AmountTax>
    <ApId>13</ApId>
    <BType>Purchase</BType>
    <Date>2024-05-03T17:26:06.996186+08:00</Date>
    <DeliveryDate>2024-05-03T17:26:06.996186+08:00</DeliveryDate>
    <Id>1</Id>
    <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>
        <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-05-03T17:26:06.996186+08:00</ProductionDate>
        <QTY>9</QTY>
        <QTYR>25</QTYR>
        <RId>2</RId>
        <SerialEnabled>true</SerialEnabled>
        <SerialNoItems xmlns:d5p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1:ProductSerialNoEditModel>
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1: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>
        <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-05-03T17:26:06.996186+08:00</ProductionDate>
        <QTY>9</QTY>
        <QTYR>25</QTYR>
        <RId>2</RId>
        <SerialEnabled>true</SerialEnabled>
        <SerialNoItems xmlns:d5p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1:ProductSerialNoEditModel>
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1: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>
    <NPurcQTY>32</NPurcQTY>
    <No>sample string 2</No>
    <Note>sample string 23</Note>
    <PoeId>11</PoeId>
    <Price>17</Price>
    <PriceTax>18</PriceTax>
    <PrintCount>6</PrintCount>
    <ProdId>12</ProdId>
    <QTY>16</QTY>
    <SoId>8</SoId>
    <SoNo>sample string 9</SoNo>
    <SoeId>10</SoeId>
    <StrValue1>sample string 24</StrValue1>
    <StrValue2>sample string 25</StrValue2>
    <StrValue3>sample string 26</StrValue3>
    <StrValue4>sample string 27</StrValue4>
    <StrValue5>sample string 28</StrValue5>
    <StrValue6>sample string 29</StrValue6>
    <StrValue7>sample string 30</StrValue7>
    <StrValue8>sample string 31</StrValue8>
    <Tax>21</Tax>
    <TaxRate>20</TaxRate>
    <UnitId>15</UnitId>
    <VendId>3</VendId>
    <WhId>14</WhId>
  </WHSForOBSCreateModel>
  <WHSForOBSCreateModel>
    <Amount>19</Amount>
    <AmountFirst>7</AmountFirst>
    <AmountTax>22</AmountTax>
    <ApId>13</ApId>
    <BType>Purchase</BType>
    <Date>2024-05-03T17:26:06.996186+08:00</Date>
    <DeliveryDate>2024-05-03T17:26:06.996186+08:00</DeliveryDate>
    <Id>1</Id>
    <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>
        <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-05-03T17:26:06.996186+08:00</ProductionDate>
        <QTY>9</QTY>
        <QTYR>25</QTYR>
        <RId>2</RId>
        <SerialEnabled>true</SerialEnabled>
        <SerialNoItems xmlns:d5p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1:ProductSerialNoEditModel>
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1: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>
        <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-05-03T17:26:06.996186+08:00</ProductionDate>
        <QTY>9</QTY>
        <QTYR>25</QTYR>
        <RId>2</RId>
        <SerialEnabled>true</SerialEnabled>
        <SerialNoItems xmlns:d5p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1:ProductSerialNoEditModel>
          <d5p1:ProductSerialNoEditModel>
            <d5p1:FlowId>sample string 1</d5p1:FlowId>
            <d5p1:SerialNo>sample string 2</d5p1:SerialNo>
            <d5p1:SerialNote>sample string 3</d5p1:SerialNote>
          </d5p1: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>
    <NPurcQTY>32</NPurcQTY>
    <No>sample string 2</No>
    <Note>sample string 23</Note>
    <PoeId>11</PoeId>
    <Price>17</Price>
    <PriceTax>18</PriceTax>
    <PrintCount>6</PrintCount>
    <ProdId>12</ProdId>
    <QTY>16</QTY>
    <SoId>8</SoId>
    <SoNo>sample string 9</SoNo>
    <SoeId>10</SoeId>
    <StrValue1>sample string 24</StrValue1>
    <StrValue2>sample string 25</StrValue2>
    <StrValue3>sample string 26</StrValue3>
    <StrValue4>sample string 27</StrValue4>
    <StrValue5>sample string 28</StrValue5>
    <StrValue6>sample string 29</StrValue6>
    <StrValue7>sample string 30</StrValue7>
    <StrValue8>sample string 31</StrValue8>
    <Tax>21</Tax>
    <TaxRate>20</TaxRate>
    <UnitId>15</UnitId>
    <VendId>3</VendId>
    <WhId>14</WhId>
  </WHSForOBSCreateModel>
</ArrayOfWHSForOBSCreateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WarehousingModel
NameDescriptionTypeAdditional information
AsId

integer

None.

Id

integer

None.

No

string

None.

PoNo

string

None.

PoId

integer

None.

WhsNo

string

None.

WhsId

integer

None.

BType

BillType

None.

Date

date

None.

DateFmt

string

None.

SettlePeriodId

integer

None.

SettlePeriodName

string

None.

SettlePeriodValue

integer

None.

SettlePeriodType

integer

None.

SettlePeriodDate

date

None.

SettlePeriodDateFmt

string

None.

VendId

integer

None.

VendName

string

None.

VendTaxRate

decimal number

None.

Purchaser

integer

None.

PurchaserName

string

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.

AcName

string

None.

PrintCount

integer

None.

Note

string

None.

OfAmount

decimal number

None.

OfStatus

integer

None.

CreatedByName

string

None.

CreatedDate

date

None.

ModifiedByName

string

None.

ModifiedDate

date

None.

PayStatus

BillStatus

None.

IsChecked

integer

None.

CheckedByName

string

None.

CheckedDate

date

None.

AccountingItemId

integer

None.

AccountingItemName

string

None.

DepartmentId

integer

None.

DepartmentName

string

None.

InvoiceTypeName

string

None.

InvoiceType

integer

None.

Items

Collection of WarehousingEntryModel

None.

ExpenseItems

Collection of ExpenseModel

None.

PayInfoItems

Collection of PayModel

None.

PId

integer

None.

VId

integer

None.

RelaBills

Collection of IdNoPair

None.

CanCreateRelaBills

boolean

None.

RelaPo

IdNoPair

None.

RelaPos

Collection of IdNoPair

None.

RelaWhs

IdNoPair

None.

RelaWhses

Collection of IdNoPair

None.

ShareExpense

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Id": 2,
  "No": "sample string 3",
  "PoNo": "sample string 4",
  "PoId": 5,
  "WhsNo": "sample string 6",
  "WhsId": 7,
  "BType": 1010,
  "Date": "2024-05-03 17:26:07",
  "DateFmt": "2024-05-03",
  "SettlePeriodId": 9,
  "SettlePeriodName": "sample string 10",
  "SettlePeriodValue": 11,
  "SettlePeriodType": 12,
  "SettlePeriodDate": "2024-05-03 17:26:07",
  "SettlePeriodDateFmt": "2024-05-03",
  "VendId": 14,
  "VendName": "sample string 15",
  "VendTaxRate": 16.0,
  "Purchaser": 17,
  "PurchaserName": "sample string 18",
  "DiscRate": 19.0,
  "DiscAmount": 20.0,
  "Amount": 21.0,
  "QTY": 22.0,
  "AmountFirst": 23.0,
  "Expense": 24.0,
  "AcId": 25,
  "AcName": "sample string 26",
  "PrintCount": 27,
  "Note": "sample string 28",
  "OfAmount": 29.0,
  "OfStatus": 30,
  "CreatedByName": "sample string 31",
  "CreatedDate": "2024-05-03 17:26:07",
  "ModifiedByName": "sample string 33",
  "ModifiedDate": "2024-05-03 17:26:07",
  "PayStatus": 1010,
  "IsChecked": 35,
  "CheckedByName": "sample string 36",
  "CheckedDate": "2024-05-03 17:26:07",
  "AccountingItemId": 38,
  "AccountingItemName": "sample string 39",
  "DepartmentId": 40,
  "DepartmentName": "sample string 41",
  "InvoiceTypeName": "sample string 42",
  "InvoiceType": 43,
  "Items": [
    null,
    {
      "AsId": 1,
      "Id": 2,
      "RId": 3,
      "WhsId": 4,
      "WhsRId": 5,
      "ProdId": 6,
      "ProdName": "sample string 7",
      "ProdNo": "sample string 8",
      "ProdTaxRate": 1.0,
      "UseMultiUnits": true,
      "UseAp": true,
      "Spec": "sample string 11",
      "ApId": 12,
      "ApName": "sample string 13",
      "CatName": "sample string 14",
      "Brand": "sample string 15",
      "ProdLocation": "sample string 16",
      "WhId": 17,
      "WhName": "sample string 18",
      "RegNo": "sample string 19",
      "LicenseNo": "sample string 20",
      "UnitId": 21,
      "UnitName": "sample string 22",
      "Rate": 23.0,
      "QTY": 24.0,
      "StandardQTY": 25.0,
      "Price": 26.0,
      "PriceTax": 27.0,
      "DiscRate": 28.0,
      "DiscAmount": 29.0,
      "DiscAllocation": 30.0,
      "Amount": 31.0,
      "TaxRate": 32.0,
      "Tax": 33.0,
      "AmountTax": 34.0,
      "Expense": 35.0,
      "Note": "sample string 36",
      "WhsQTY": 37.0,
      "PoId": 38,
      "PoNo": "sample string 39",
      "PoeId": 40,
      "IsNotRelated": true,
      "WhsNo": "sample string 42",
      "BType": 1010,
      "Date": "2024-05-03 17:26:07",
      "VendId": 44,
      "WhsRNo": "sample string 45",
      "QTYR": 46.0,
      "IsChecked": 47,
      "Image": "sample string 48",
      "StrValue1": "sample string 49",
      "StrValue2": "sample string 50",
      "StrValue3": "sample string 51",
      "StrValue4": "sample string 52",
      "StrValue5": "sample string 53",
      "StrValue6": "sample string 54",
      "StrValue7": "sample string 55",
      "StrValue8": "sample string 56",
      "SoId": 57,
      "SoNo": "sample string 58",
      "SoeId": 59,
      "BatchNo": "sample string 60",
      "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": "",
      "LifeTime": 0,
      "LifeTimeUnit": 0,
      "LifeTimeUnitName": "",
      "ExpirationDate": "",
      "SerialEnabled": false,
      "BatchEnabled": false,
      "LifeTimeEnabled": false
    }
  ],
  "ExpenseItems": [
    {
      "ExpId": 1,
      "VendId": 2,
      "VendName": "sample string 3",
      "ExpType": 4,
      "ExpTypeName": "sample string 5",
      "Amount": 6.0,
      "Note": "sample string 7",
      "ShareRule": 1001,
      "PayeeType": 1010,
      "PayeeTypeName": "sample string 8",
      "TaxRate": 9.0,
      "Tax": 10.0,
      "AmountTax": 11.0,
      "CustPayment": 12.0,
      "Id": 1,
      "OrpNo": "sample string 13",
      "PayeeId": 14,
      "PayeeName": "sample string 15",
      "ExpPid": 16,
      "SumCustAmount": 17.0,
      "SumAmount": 18.0,
      "IsCustPayment": true,
      "OrpeId": 20
    },
    {
      "ExpId": 1,
      "VendId": 2,
      "VendName": "sample string 3",
      "ExpType": 4,
      "ExpTypeName": "sample string 5",
      "Amount": 6.0,
      "Note": "sample string 7",
      "ShareRule": 1001,
      "PayeeType": 1010,
      "PayeeTypeName": "sample string 8",
      "TaxRate": 9.0,
      "Tax": 10.0,
      "AmountTax": 11.0,
      "CustPayment": 12.0,
      "Id": 1,
      "OrpNo": "sample string 13",
      "PayeeId": 14,
      "PayeeName": "sample string 15",
      "ExpPid": 16,
      "SumCustAmount": 17.0,
      "SumAmount": 18.0,
      "IsCustPayment": true,
      "OrpeId": 20
    }
  ],
  "PayInfoItems": [
    {
      "Id": 1,
      "AcId": 2,
      "AcName": "sample string 3",
      "Amount": 4.0,
      "PayMethod": 5,
      "PayMethodName": "sample string 6",
      "RefNo": "sample string 7"
    },
    {
      "Id": 1,
      "AcId": 2,
      "AcName": "sample string 3",
      "Amount": 4.0,
      "PayMethod": 5,
      "PayMethodName": "sample string 6",
      "RefNo": "sample string 7"
    }
  ],
  "PId": 44,
  "VId": 45,
  "RelaBills": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "CanCreateRelaBills": true,
  "RelaPo": {
    "Id": 1,
    "No": "sample string 2",
    "BType": 1010
  },
  "RelaPos": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "RelaWhs": {
    "Id": 1,
    "No": "sample string 2",
    "BType": 1010
  },
  "RelaWhses": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "ShareExpense": 47
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.