GET jxc_api/SellOrder/InitData/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

SellOrderModel
NameDescriptionTypeAdditional information
AsId

integer

None.

Date

date

None.

DateFmt

string

None.

BType

BillType

None.

CustId

integer

None.

CustName

string

None.

Id

integer

None.

No

string

None.

Sales

integer

None.

SalesName

string

None.

DiscRate

decimal number

None.

DiscAmount

decimal number

None.

Amount

decimal number

None.

EditRecvAddr

boolean

None.

Recvr

string

None.

RecvMobile

string

None.

RecvAddress

string

None.

Note

string

None.

PrintCount

integer

None.

DeliveryDate

date

None.

DoStatus

BillStatus

None.

AcId

integer

None.

AmountFirst

decimal number

None.

AcName

string

None.

IsChecked

integer

None.

CheckedByName

string

None.

CheckedDate

date

None.

CreatedByName

string

None.

CreatedDate

date

None.

ModifiedByName

string

None.

ModifiedDate

date

None.

IsLocked

boolean

None.

IsClosed

boolean

None.

AccountingItemId

integer

None.

AccountingItemName

string

None.

DepartmentId

integer

None.

DepartmentName

string

None.

SettlePeriodId

integer

None.

SettlePeriodDate

date

None.

SettlePeriodName

string

None.

SettlePeriodType

integer

None.

SettlePeriodValue

string

None.

RelaSds

Collection of IdNoPair

None.

CanCreateRelaBills

boolean

None.

PayInfoItems

Collection of PayModel

None.

Items

Collection of SellOrderEntryModel

None.

Response Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2024-04-24 13:35:57",
  "DateFmt": "2024-04-24",
  "BType": 1010,
  "CustId": 3,
  "CustName": "sample string 4",
  "Id": 5,
  "No": "sample string 6",
  "Sales": 7,
  "SalesName": "sample string 8",
  "DiscRate": 9.0,
  "DiscAmount": 10.0,
  "Amount": 11.0,
  "EditRecvAddr": true,
  "Recvr": "sample string 12",
  "RecvMobile": "sample string 13",
  "RecvAddress": "sample string 14",
  "Note": "sample string 15",
  "PrintCount": 16,
  "DeliveryDate": "2024-04-24 13:35:57",
  "DoStatus": 1010,
  "AcId": 18,
  "AmountFirst": 19.0,
  "AcName": "sample string 20",
  "IsChecked": 21,
  "CheckedByName": "sample string 22",
  "CheckedDate": "2024-04-24 13:35:57",
  "CreatedByName": "sample string 24",
  "CreatedDate": "2024-04-24 13:35:57",
  "ModifiedByName": "sample string 26",
  "ModifiedDate": "2024-04-24 13:35:57",
  "IsLocked": true,
  "IsClosed": true,
  "AccountingItemId": 30,
  "AccountingItemName": "sample string 31",
  "DepartmentId": 32,
  "DepartmentName": "sample string 33",
  "SettlePeriodId": 34,
  "SettlePeriodDate": "2024-04-24 13:35:57",
  "SettlePeriodName": "sample string 36",
  "SettlePeriodType": 37,
  "SettlePeriodValue": "sample string 38",
  "RelaSds": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "CanCreateRelaBills": true,
  "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"
    }
  ],
  "Items": [
    {
      "AsId": 1,
      "Id": 2,
      "SoDate": "2024-04-24 13:35:57",
      "BType": 1010,
      "CustId": 4,
      "CustCode": "sample string 5",
      "SoId": 6,
      "CatId": 7,
      "ProdId": 8,
      "ProdName": "sample string 9",
      "ProdNo": "sample string 10",
      "UseMultiUnits": true,
      "UseAp": true,
      "Spec": "sample string 13",
      "SoNo": "sample string 14",
      "ApId": 15,
      "ApName": "sample string 16",
      "CatName": "sample string 17",
      "Brand": "sample string 18",
      "ProdLocation": "sample string 19",
      "WhId": 20,
      "WhName": "sample string 21",
      "UnitId": 22,
      "UnitName": "sample string 23",
      "Rate": 24.0,
      "QTY": 25.0,
      "Price": 26.0,
      "PriceTax": 27.0,
      "DiscRate": 28.0,
      "DiscAmount": 29.0,
      "DiscAllocation": 30.0,
      "Amount": 31.0,
      "TaxRate": 32.0,
      "ProdTaxRate": 33.0,
      "Tax": 34.0,
      "AmountTax": 35.0,
      "Note": "sample string 36",
      "DoQTY": 37.0,
      "Image": "sample string 38",
      "CreatedBy": 39,
      "CreatedDate": "2024-04-24 13:35:57",
      "ModifiedBy": 41,
      "ModifiedDate": "2024-04-24 13:35:57",
      "StrValue1": "sample string 43",
      "StrValue2": "sample string 44",
      "StrValue3": "sample string 45",
      "StrValue4": "sample string 46",
      "StrValue5": "sample string 47",
      "StrValue6": "sample string 48",
      "StrValue7": "sample string 49",
      "StrValue8": "sample string 50",
      "PoId": 51,
      "PoNo": "sample string 52",
      "PoeId": 53,
      "WhsId": 54,
      "WhsNo": "sample string 55",
      "WhseId": 56,
      "SerialEnabled": true,
      "BatchEnabled": true,
      "LifeTimeEnabled": true
    },
    {
      "AsId": 1,
      "Id": 2,
      "SoDate": "2024-04-24 13:35:57",
      "BType": 1010,
      "CustId": 4,
      "CustCode": "sample string 5",
      "SoId": 6,
      "CatId": 7,
      "ProdId": 8,
      "ProdName": "sample string 9",
      "ProdNo": "sample string 10",
      "UseMultiUnits": true,
      "UseAp": true,
      "Spec": "sample string 13",
      "SoNo": "sample string 14",
      "ApId": 15,
      "ApName": "sample string 16",
      "CatName": "sample string 17",
      "Brand": "sample string 18",
      "ProdLocation": "sample string 19",
      "WhId": 20,
      "WhName": "sample string 21",
      "UnitId": 22,
      "UnitName": "sample string 23",
      "Rate": 24.0,
      "QTY": 25.0,
      "Price": 26.0,
      "PriceTax": 27.0,
      "DiscRate": 28.0,
      "DiscAmount": 29.0,
      "DiscAllocation": 30.0,
      "Amount": 31.0,
      "TaxRate": 32.0,
      "ProdTaxRate": 33.0,
      "Tax": 34.0,
      "AmountTax": 35.0,
      "Note": "sample string 36",
      "DoQTY": 37.0,
      "Image": "sample string 38",
      "CreatedBy": 39,
      "CreatedDate": "2024-04-24 13:35:57",
      "ModifiedBy": 41,
      "ModifiedDate": "2024-04-24 13:35:57",
      "StrValue1": "sample string 43",
      "StrValue2": "sample string 44",
      "StrValue3": "sample string 45",
      "StrValue4": "sample string 46",
      "StrValue5": "sample string 47",
      "StrValue6": "sample string 48",
      "StrValue7": "sample string 49",
      "StrValue8": "sample string 50",
      "PoId": 51,
      "PoNo": "sample string 52",
      "PoeId": 53,
      "WhsId": 54,
      "WhsNo": "sample string 55",
      "WhseId": 56,
      "SerialEnabled": true,
      "BatchEnabled": true,
      "LifeTimeEnabled": true
    }
  ]
}

application/xml, text/xml

Sample:
<SellOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <AcId>18</AcId>
  <AcName>sample string 20</AcName>
  <AccountingItemId>30</AccountingItemId>
  <AccountingItemName>sample string 31</AccountingItemName>
  <Amount>11</Amount>
  <AmountFirst>19</AmountFirst>
  <AsId>1</AsId>
  <BType>Purchase</BType>
  <CanCreateRelaBills>true</CanCreateRelaBills>
  <CheckedByName>sample string 22</CheckedByName>
  <CheckedDate>2024-04-24T13:35:57.6679201+08:00</CheckedDate>
  <CreatedByName>sample string 24</CreatedByName>
  <CreatedDate>2024-04-24T13:35:57.6679201+08:00</CreatedDate>
  <CustId>3</CustId>
  <CustName>sample string 4</CustName>
  <Date>2024-04-24T13:35:57.6679201+08:00</Date>
  <DeliveryDate>2024-04-24T13:35:57.6679201+08:00</DeliveryDate>
  <DepartmentId>32</DepartmentId>
  <DepartmentName>sample string 33</DepartmentName>
  <DiscAmount>10</DiscAmount>
  <DiscRate>9</DiscRate>
  <DoStatus>None</DoStatus>
  <EditRecvAddr>true</EditRecvAddr>
  <Id>5</Id>
  <IsChecked>21</IsChecked>
  <IsClosed>true</IsClosed>
  <IsLocked>true</IsLocked>
  <Items>
    <SellOrderEntryModel>
      <Amount>31</Amount>
      <AmountTax>35</AmountTax>
      <ApId>15</ApId>
      <ApName>sample string 16</ApName>
      <AsId>1</AsId>
      <BType>Purchase</BType>
      <BatchEnabled>true</BatchEnabled>
      <Brand>sample string 18</Brand>
      <CatId>7</CatId>
      <CatName>sample string 17</CatName>
      <CreatedBy>39</CreatedBy>
      <CreatedDate>2024-04-24T13:35:57.6684363+08:00</CreatedDate>
      <CustCode>sample string 5</CustCode>
      <CustId>4</CustId>
      <DiscAllocation>30</DiscAllocation>
      <DiscAmount>29</DiscAmount>
      <DiscRate>28</DiscRate>
      <DoQTY>37</DoQTY>
      <Id>2</Id>
      <Image>sample string 38</Image>
      <LifeTimeEnabled>true</LifeTimeEnabled>
      <ModifiedBy>41</ModifiedBy>
      <ModifiedDate>2024-04-24T13:35:57.6684363+08:00</ModifiedDate>
      <Note>sample string 36</Note>
      <PoId>51</PoId>
      <PoNo>sample string 52</PoNo>
      <PoeId>53</PoeId>
      <Price>26</Price>
      <PriceTax>27</PriceTax>
      <ProdId>8</ProdId>
      <ProdLocation>sample string 19</ProdLocation>
      <ProdName>sample string 9</ProdName>
      <ProdNo>sample string 10</ProdNo>
      <ProdTaxRate>33</ProdTaxRate>
      <QTY>25</QTY>
      <Rate>24</Rate>
      <SerialEnabled>true</SerialEnabled>
      <SoDate>2024-04-24T13:35:57.6684363+08:00</SoDate>
      <SoId>6</SoId>
      <SoNo>sample string 14</SoNo>
      <Spec>sample string 13</Spec>
      <StrValue1>sample string 43</StrValue1>
      <StrValue2>sample string 44</StrValue2>
      <StrValue3>sample string 45</StrValue3>
      <StrValue4>sample string 46</StrValue4>
      <StrValue5>sample string 47</StrValue5>
      <StrValue6>sample string 48</StrValue6>
      <StrValue7>sample string 49</StrValue7>
      <StrValue8>sample string 50</StrValue8>
      <Tax>34</Tax>
      <TaxRate>32</TaxRate>
      <UnitId>22</UnitId>
      <UnitName>sample string 23</UnitName>
      <UseAp>true</UseAp>
      <UseMultiUnits>true</UseMultiUnits>
      <WhId>20</WhId>
      <WhName>sample string 21</WhName>
      <WhsId>54</WhsId>
      <WhsNo>sample string 55</WhsNo>
      <WhseId>56</WhseId>
    </SellOrderEntryModel>
    <SellOrderEntryModel>
      <Amount>31</Amount>
      <AmountTax>35</AmountTax>
      <ApId>15</ApId>
      <ApName>sample string 16</ApName>
      <AsId>1</AsId>
      <BType>Purchase</BType>
      <BatchEnabled>true</BatchEnabled>
      <Brand>sample string 18</Brand>
      <CatId>7</CatId>
      <CatName>sample string 17</CatName>
      <CreatedBy>39</CreatedBy>
      <CreatedDate>2024-04-24T13:35:57.6684363+08:00</CreatedDate>
      <CustCode>sample string 5</CustCode>
      <CustId>4</CustId>
      <DiscAllocation>30</DiscAllocation>
      <DiscAmount>29</DiscAmount>
      <DiscRate>28</DiscRate>
      <DoQTY>37</DoQTY>
      <Id>2</Id>
      <Image>sample string 38</Image>
      <LifeTimeEnabled>true</LifeTimeEnabled>
      <ModifiedBy>41</ModifiedBy>
      <ModifiedDate>2024-04-24T13:35:57.6684363+08:00</ModifiedDate>
      <Note>sample string 36</Note>
      <PoId>51</PoId>
      <PoNo>sample string 52</PoNo>
      <PoeId>53</PoeId>
      <Price>26</Price>
      <PriceTax>27</PriceTax>
      <ProdId>8</ProdId>
      <ProdLocation>sample string 19</ProdLocation>
      <ProdName>sample string 9</ProdName>
      <ProdNo>sample string 10</ProdNo>
      <ProdTaxRate>33</ProdTaxRate>
      <QTY>25</QTY>
      <Rate>24</Rate>
      <SerialEnabled>true</SerialEnabled>
      <SoDate>2024-04-24T13:35:57.6684363+08:00</SoDate>
      <SoId>6</SoId>
      <SoNo>sample string 14</SoNo>
      <Spec>sample string 13</Spec>
      <StrValue1>sample string 43</StrValue1>
      <StrValue2>sample string 44</StrValue2>
      <StrValue3>sample string 45</StrValue3>
      <StrValue4>sample string 46</StrValue4>
      <StrValue5>sample string 47</StrValue5>
      <StrValue6>sample string 48</StrValue6>
      <StrValue7>sample string 49</StrValue7>
      <StrValue8>sample string 50</StrValue8>
      <Tax>34</Tax>
      <TaxRate>32</TaxRate>
      <UnitId>22</UnitId>
      <UnitName>sample string 23</UnitName>
      <UseAp>true</UseAp>
      <UseMultiUnits>true</UseMultiUnits>
      <WhId>20</WhId>
      <WhName>sample string 21</WhName>
      <WhsId>54</WhsId>
      <WhsNo>sample string 55</WhsNo>
      <WhseId>56</WhseId>
    </SellOrderEntryModel>
  </Items>
  <ModifiedByName>sample string 26</ModifiedByName>
  <ModifiedDate>2024-04-24T13:35:57.6679201+08:00</ModifiedDate>
  <No>sample string 6</No>
  <Note>sample string 15</Note>
  <PayInfoItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
    <d2p1:PayModel>
      <d2p1:AcId>2</d2p1:AcId>
      <d2p1:AcName>sample string 3</d2p1:AcName>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PayMethod>5</d2p1:PayMethod>
      <d2p1:PayMethodName>sample string 6</d2p1:PayMethodName>
      <d2p1:RefNo>sample string 7</d2p1:RefNo>
    </d2p1:PayModel>
    <d2p1:PayModel>
      <d2p1:AcId>2</d2p1:AcId>
      <d2p1:AcName>sample string 3</d2p1:AcName>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PayMethod>5</d2p1:PayMethod>
      <d2p1:PayMethodName>sample string 6</d2p1:PayMethodName>
      <d2p1:RefNo>sample string 7</d2p1:RefNo>
    </d2p1:PayModel>
  </PayInfoItems>
  <PrintCount>16</PrintCount>
  <RecvAddress>sample string 14</RecvAddress>
  <RecvMobile>sample string 13</RecvMobile>
  <Recvr>sample string 12</Recvr>
  <RelaSds 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>
  </RelaSds>
  <Sales>7</Sales>
  <SalesName>sample string 8</SalesName>
  <SettlePeriodDate>2024-04-24T13:35:57.6684363+08:00</SettlePeriodDate>
  <SettlePeriodId>34</SettlePeriodId>
  <SettlePeriodName>sample string 36</SettlePeriodName>
  <SettlePeriodType>37</SettlePeriodType>
  <SettlePeriodValue>sample string 38</SettlePeriodValue>
</SellOrderModel>