POST api/SaleApi/Post_sale_for_save_update

Request Information

URI Parameters

None.

Body Parameters

Sale
NameDescriptionTypeAdditional information
ledgetlist

Collection of ledger

None.

ledgetdetialslist

Collection of ledgerdetials

None.

SaleTax

string

None.

Series

string

None.

VType

string

None.

VNo

string

None.

VDate

date

None.

AcCode

string

None.

AcDesc

string

None.

PartyName

string

None.

SalesManCode

string

None.

SalesMan

string

None.

UpExUP

string

None.

SubTotal

string

None.

NetDiscount

string

None.

CGSTAmt

string

None.

SGSTAmt

string

None.

CessAmt1

string

None.

CessAmt2

string

None.

RoundOff

string

None.

AdjHead1

string

None.

AdjHeadName1

string

None.

AdjAmt1

string

None.

AdjNarr1

string

None.

AdjHead2

string

None.

AdjHeadName2

string

None.

AdjAmt2

string

None.

AdjNarr2

string

None.

NetAmount

string

None.

OrderNo

string

None.

OrderDate

date

None.

BookedFrom

string

None.

BookedTo

string

None.

GrNo

string

None.

GrDate

date

None.

TrpId

string

None.

IsCancelled

string

None.

IsCash

string

None.

MakeId

string

None.

CdPer

string

None.

DelvDate

date

None.

BeatId

string

None.

Remarks

string

None.

AdjVType

string

None.

AdjVNo

string

None.

AdjAmt

string

None.

IsAdj

string

None.

ShipAddress

string

None.

Deal

string

None.

vechileno

string

None.

E_WayBillNo

string

None.

TransDocNo

string

None.

TransDate

date

None.

GoDownId

string

None.

Ac_acCode

string

None.

Ac_acDesc

string

None.

P_acCode

string

None.

P_acDesc

string

None.

Reverce_Charge

string

None.

ITC

string

None.

TCSPer

string

None.

TCSAmt

string

None.

DID

string

None.

InvoiceNo

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

finyear

string

None.

TCSCalOn

string

None.

chkTCSOn

string

None.

BillGSTIN

string

None.

BillPAN

string

None.

StateCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ledgetlist": [
    {
      "id": "sample string 1",
      "vtype": "sample string 2",
      "vno": "sample string 3",
      "vdate": "sample string 4",
      "compcode": "sample string 5",
      "finyear": "sample string 6",
      "itemid": "sample string 7",
      "mrp": "sample string 8",
      "shade": "sample string 9",
      "qty": "sample string 10",
      "frqty": "sample string 11",
      "rate": "sample string 12",
      "discper1": "sample string 13",
      "discper2": "sample string 14",
      "discamt": "sample string 15",
      "netdiscount": "sample string 16",
      "cgstper": "sample string 17",
      "cgstamt": "sample string 18",
      "sgstper": "sample string 19",
      "sgstamt": "sample string 20",
      "netamount": "sample string 21",
      "iscancelled": "sample string 22",
      "batchno": "sample string 23",
      "mrpdiscper": "sample string 24",
      "deal": "sample string 25",
      "nop": "sample string 26",
      "cessper1": "sample string 27",
      "cessamt1": "sample string 28",
      "cessper2": "sample string 29",
      "cessamt2": "sample string 30",
      "godowinid": "sample string 31",
      "discper3": "sample string 32"
    },
    {
      "id": "sample string 1",
      "vtype": "sample string 2",
      "vno": "sample string 3",
      "vdate": "sample string 4",
      "compcode": "sample string 5",
      "finyear": "sample string 6",
      "itemid": "sample string 7",
      "mrp": "sample string 8",
      "shade": "sample string 9",
      "qty": "sample string 10",
      "frqty": "sample string 11",
      "rate": "sample string 12",
      "discper1": "sample string 13",
      "discper2": "sample string 14",
      "discamt": "sample string 15",
      "netdiscount": "sample string 16",
      "cgstper": "sample string 17",
      "cgstamt": "sample string 18",
      "sgstper": "sample string 19",
      "sgstamt": "sample string 20",
      "netamount": "sample string 21",
      "iscancelled": "sample string 22",
      "batchno": "sample string 23",
      "mrpdiscper": "sample string 24",
      "deal": "sample string 25",
      "nop": "sample string 26",
      "cessper1": "sample string 27",
      "cessamt1": "sample string 28",
      "cessper2": "sample string 29",
      "cessamt2": "sample string 30",
      "godowinid": "sample string 31",
      "discper3": "sample string 32"
    }
  ],
  "ledgetdetialslist": [
    {
      "id": "sample string 1",
      "itemid": "sample string 2",
      "serialno1": "sample string 3",
      "serialno2": "sample string 4",
      "serialno3": "sample string 5",
      "serialno4": "sample string 6",
      "compcode": "sample string 7",
      "finyear": "sample string 8",
      "vtype": "sample string 9",
      "vno": "sample string 10",
      "vdate": "sample string 11",
      "mrp": "sample string 12"
    },
    {
      "id": "sample string 1",
      "itemid": "sample string 2",
      "serialno1": "sample string 3",
      "serialno2": "sample string 4",
      "serialno3": "sample string 5",
      "serialno4": "sample string 6",
      "compcode": "sample string 7",
      "finyear": "sample string 8",
      "vtype": "sample string 9",
      "vno": "sample string 10",
      "vdate": "sample string 11",
      "mrp": "sample string 12"
    }
  ],
  "SaleTax": "sample string 1",
  "Series": "sample string 2",
  "VType": "sample string 3",
  "VNo": "sample string 4",
  "VDate": "2024-11-15T08:43:12.1010713+05:30",
  "AcCode": "sample string 6",
  "AcDesc": "sample string 7",
  "PartyName": "sample string 8",
  "SalesManCode": "sample string 9",
  "SalesMan": "sample string 10",
  "UpExUP": "sample string 11",
  "SubTotal": "sample string 12",
  "NetDiscount": "sample string 13",
  "CGSTAmt": "sample string 14",
  "SGSTAmt": "sample string 15",
  "CessAmt1": "sample string 16",
  "CessAmt2": "sample string 17",
  "RoundOff": "sample string 18",
  "AdjHead1": "sample string 19",
  "AdjHeadName1": "sample string 20",
  "AdjAmt1": "sample string 21",
  "AdjNarr1": "sample string 22",
  "AdjHead2": "sample string 23",
  "AdjHeadName2": "sample string 24",
  "AdjAmt2": "sample string 25",
  "AdjNarr2": "sample string 26",
  "NetAmount": "sample string 27",
  "OrderNo": "sample string 28",
  "OrderDate": "2024-11-15T08:43:12.1010713+05:30",
  "BookedFrom": "sample string 30",
  "BookedTo": "sample string 31",
  "GrNo": "sample string 32",
  "GrDate": "2024-11-15T08:43:12.1010713+05:30",
  "TrpId": "sample string 34",
  "IsCancelled": "sample string 35",
  "IsCash": "sample string 36",
  "MakeId": "sample string 37",
  "CdPer": "sample string 38",
  "DelvDate": "2024-11-15T08:43:12.1010713+05:30",
  "BeatId": "sample string 40",
  "Remarks": "sample string 41",
  "AdjVType": "sample string 42",
  "AdjVNo": "sample string 43",
  "AdjAmt": "sample string 44",
  "IsAdj": "sample string 45",
  "ShipAddress": "sample string 46",
  "Deal": "sample string 47",
  "vechileno": "sample string 48",
  "E_WayBillNo": "sample string 49",
  "TransDocNo": "sample string 50",
  "TransDate": "2024-11-15T08:43:12.1010713+05:30",
  "GoDownId": "sample string 52",
  "Ac_acCode": "sample string 53",
  "Ac_acDesc": "sample string 54",
  "P_acCode": "sample string 55",
  "P_acDesc": "sample string 56",
  "Reverce_Charge": "sample string 57",
  "ITC": "sample string 58",
  "TCSPer": "sample string 59",
  "TCSAmt": "sample string 60",
  "DID": "sample string 61",
  "InvoiceNo": "sample string 62",
  "Database": "sample string 63",
  "Compcode": "sample string 64",
  "EventType": "sample string 65",
  "finyear": "sample string 66",
  "TCSCalOn": "sample string 67",
  "chkTCSOn": "sample string 68",
  "BillGSTIN": "sample string 69",
  "BillPAN": "sample string 70",
  "StateCode": "sample string 71"
}

application/xml, text/xml

Sample:
<Sale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <AcCode>sample string 6</AcCode>
  <AcDesc>sample string 7</AcDesc>
  <Ac_acCode>sample string 53</Ac_acCode>
  <Ac_acDesc>sample string 54</Ac_acDesc>
  <AdjAmt>sample string 44</AdjAmt>
  <AdjAmt1>sample string 21</AdjAmt1>
  <AdjAmt2>sample string 25</AdjAmt2>
  <AdjHead1>sample string 19</AdjHead1>
  <AdjHead2>sample string 23</AdjHead2>
  <AdjHeadName1>sample string 20</AdjHeadName1>
  <AdjHeadName2>sample string 24</AdjHeadName2>
  <AdjNarr1>sample string 22</AdjNarr1>
  <AdjNarr2>sample string 26</AdjNarr2>
  <AdjVNo>sample string 43</AdjVNo>
  <AdjVType>sample string 42</AdjVType>
  <BeatId>sample string 40</BeatId>
  <BillGSTIN>sample string 69</BillGSTIN>
  <BillPAN>sample string 70</BillPAN>
  <BookedFrom>sample string 30</BookedFrom>
  <BookedTo>sample string 31</BookedTo>
  <CGSTAmt>sample string 14</CGSTAmt>
  <CdPer>sample string 38</CdPer>
  <CessAmt1>sample string 16</CessAmt1>
  <CessAmt2>sample string 17</CessAmt2>
  <Compcode>sample string 64</Compcode>
  <DID>sample string 61</DID>
  <Database>sample string 63</Database>
  <Deal>sample string 47</Deal>
  <DelvDate>2024-11-15T08:43:12.1010713+05:30</DelvDate>
  <E_WayBillNo>sample string 49</E_WayBillNo>
  <EventType>sample string 65</EventType>
  <GoDownId>sample string 52</GoDownId>
  <GrDate>2024-11-15T08:43:12.1010713+05:30</GrDate>
  <GrNo>sample string 32</GrNo>
  <ITC>sample string 58</ITC>
  <InvoiceNo>sample string 62</InvoiceNo>
  <IsAdj>sample string 45</IsAdj>
  <IsCancelled>sample string 35</IsCancelled>
  <IsCash>sample string 36</IsCash>
  <MakeId>sample string 37</MakeId>
  <NetAmount>sample string 27</NetAmount>
  <NetDiscount>sample string 13</NetDiscount>
  <OrderDate>2024-11-15T08:43:12.1010713+05:30</OrderDate>
  <OrderNo>sample string 28</OrderNo>
  <P_acCode>sample string 55</P_acCode>
  <P_acDesc>sample string 56</P_acDesc>
  <PartyName>sample string 8</PartyName>
  <Remarks>sample string 41</Remarks>
  <Reverce_Charge>sample string 57</Reverce_Charge>
  <RoundOff>sample string 18</RoundOff>
  <SGSTAmt>sample string 15</SGSTAmt>
  <SaleTax>sample string 1</SaleTax>
  <SalesMan>sample string 10</SalesMan>
  <SalesManCode>sample string 9</SalesManCode>
  <Series>sample string 2</Series>
  <ShipAddress>sample string 46</ShipAddress>
  <StateCode>sample string 71</StateCode>
  <SubTotal>sample string 12</SubTotal>
  <TCSAmt>sample string 60</TCSAmt>
  <TCSCalOn>sample string 67</TCSCalOn>
  <TCSPer>sample string 59</TCSPer>
  <TransDate>2024-11-15T08:43:12.1010713+05:30</TransDate>
  <TransDocNo>sample string 50</TransDocNo>
  <TrpId>sample string 34</TrpId>
  <UpExUP>sample string 11</UpExUP>
  <VDate>2024-11-15T08:43:12.1010713+05:30</VDate>
  <VNo>sample string 4</VNo>
  <VType>sample string 3</VType>
  <chkTCSOn>sample string 68</chkTCSOn>
  <finyear>sample string 66</finyear>
  <ledgetdetialslist>
    <ledgerdetials>
      <compcode>sample string 7</compcode>
      <finyear>sample string 8</finyear>
      <id>sample string 1</id>
      <itemid>sample string 2</itemid>
      <mrp>sample string 12</mrp>
      <serialno1>sample string 3</serialno1>
      <serialno2>sample string 4</serialno2>
      <serialno3>sample string 5</serialno3>
      <serialno4>sample string 6</serialno4>
      <vdate>sample string 11</vdate>
      <vno>sample string 10</vno>
      <vtype>sample string 9</vtype>
    </ledgerdetials>
    <ledgerdetials>
      <compcode>sample string 7</compcode>
      <finyear>sample string 8</finyear>
      <id>sample string 1</id>
      <itemid>sample string 2</itemid>
      <mrp>sample string 12</mrp>
      <serialno1>sample string 3</serialno1>
      <serialno2>sample string 4</serialno2>
      <serialno3>sample string 5</serialno3>
      <serialno4>sample string 6</serialno4>
      <vdate>sample string 11</vdate>
      <vno>sample string 10</vno>
      <vtype>sample string 9</vtype>
    </ledgerdetials>
  </ledgetdetialslist>
  <ledgetlist>
    <ledger>
      <batchno>sample string 23</batchno>
      <cessamt1>sample string 28</cessamt1>
      <cessamt2>sample string 30</cessamt2>
      <cessper1>sample string 27</cessper1>
      <cessper2>sample string 29</cessper2>
      <cgstamt>sample string 18</cgstamt>
      <cgstper>sample string 17</cgstper>
      <compcode>sample string 5</compcode>
      <deal>sample string 25</deal>
      <discamt>sample string 15</discamt>
      <discper1>sample string 13</discper1>
      <discper2>sample string 14</discper2>
      <discper3>sample string 32</discper3>
      <finyear>sample string 6</finyear>
      <frqty>sample string 11</frqty>
      <godowinid>sample string 31</godowinid>
      <id>sample string 1</id>
      <iscancelled>sample string 22</iscancelled>
      <itemid>sample string 7</itemid>
      <mrp>sample string 8</mrp>
      <mrpdiscper>sample string 24</mrpdiscper>
      <netamount>sample string 21</netamount>
      <netdiscount>sample string 16</netdiscount>
      <nop>sample string 26</nop>
      <qty>sample string 10</qty>
      <rate>sample string 12</rate>
      <sgstamt>sample string 20</sgstamt>
      <sgstper>sample string 19</sgstper>
      <shade>sample string 9</shade>
      <vdate>sample string 4</vdate>
      <vno>sample string 3</vno>
      <vtype>sample string 2</vtype>
    </ledger>
    <ledger>
      <batchno>sample string 23</batchno>
      <cessamt1>sample string 28</cessamt1>
      <cessamt2>sample string 30</cessamt2>
      <cessper1>sample string 27</cessper1>
      <cessper2>sample string 29</cessper2>
      <cgstamt>sample string 18</cgstamt>
      <cgstper>sample string 17</cgstper>
      <compcode>sample string 5</compcode>
      <deal>sample string 25</deal>
      <discamt>sample string 15</discamt>
      <discper1>sample string 13</discper1>
      <discper2>sample string 14</discper2>
      <discper3>sample string 32</discper3>
      <finyear>sample string 6</finyear>
      <frqty>sample string 11</frqty>
      <godowinid>sample string 31</godowinid>
      <id>sample string 1</id>
      <iscancelled>sample string 22</iscancelled>
      <itemid>sample string 7</itemid>
      <mrp>sample string 8</mrp>
      <mrpdiscper>sample string 24</mrpdiscper>
      <netamount>sample string 21</netamount>
      <netdiscount>sample string 16</netdiscount>
      <nop>sample string 26</nop>
      <qty>sample string 10</qty>
      <rate>sample string 12</rate>
      <sgstamt>sample string 20</sgstamt>
      <sgstper>sample string 19</sgstper>
      <shade>sample string 9</shade>
      <vdate>sample string 4</vdate>
      <vno>sample string 3</vno>
      <vtype>sample string 2</vtype>
    </ledger>
  </ledgetlist>
  <vechileno>sample string 48</vechileno>
</Sale>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.