POST api/SaleApi/Post_sale_for_save_update

Request Information

URI Parameters

None.

Body Parameters

Sale
NameDescriptionTypeAdditional information
SaleTax

string

None.

Series

string

None.

VType

string

None.

VNo

string

None.

MVNo

string

None.

BillNo

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.

IGSTAmt

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.

IsDelivered

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

finyear

string

None.

ledgetlist

Collection of ledger

None.

ledgetdetialslist

Collection of ledgerdetials

None.

Request Formats

application/json, text/json

Sample:
{
  "SaleTax": "sample string 1",
  "Series": "sample string 2",
  "VType": "sample string 3",
  "VNo": "sample string 4",
  "MVNo": "sample string 5",
  "BillNo": "sample string 6",
  "VDate": "2024-11-15T08:16:26.463356+05:30",
  "AcCode": "sample string 8",
  "AcDesc": "sample string 9",
  "PartyName": "sample string 10",
  "SalesManCode": "sample string 11",
  "SalesMan": "sample string 12",
  "UpExUP": "sample string 13",
  "SubTotal": "sample string 14",
  "NetDiscount": "sample string 15",
  "CGSTAmt": "sample string 16",
  "SGSTAmt": "sample string 17",
  "IGSTAmt": "sample string 18",
  "CessAmt1": "sample string 19",
  "CessAmt2": "sample string 20",
  "RoundOff": "sample string 21",
  "AdjHead1": "sample string 22",
  "AdjHeadName1": "sample string 23",
  "AdjAmt1": "sample string 24",
  "AdjNarr1": "sample string 25",
  "AdjHead2": "sample string 26",
  "AdjHeadName2": "sample string 27",
  "AdjAmt2": "sample string 28",
  "AdjNarr2": "sample string 29",
  "NetAmount": "sample string 30",
  "OrderNo": "sample string 31",
  "OrderDate": "2024-11-15T08:16:26.463356+05:30",
  "BookedFrom": "sample string 33",
  "BookedTo": "sample string 34",
  "GrNo": "sample string 35",
  "GrDate": "2024-11-15T08:16:26.463356+05:30",
  "TrpId": "sample string 37",
  "IsCancelled": "sample string 38",
  "IsCash": "sample string 39",
  "MakeId": "sample string 40",
  "CdPer": "sample string 41",
  "DelvDate": "2024-11-15T08:16:26.463356+05:30",
  "BeatId": "sample string 43",
  "Remarks": "sample string 44",
  "AdjVType": "sample string 45",
  "AdjVNo": "sample string 46",
  "AdjAmt": "sample string 47",
  "IsAdj": "sample string 48",
  "ShipAddress": "sample string 49",
  "Deal": "sample string 50",
  "vechileno": "sample string 51",
  "E_WayBillNo": "sample string 52",
  "TransDocNo": "sample string 53",
  "TransDate": "2024-11-15T08:16:26.463356+05:30",
  "GoDownId": "sample string 55",
  "Ac_acCode": "sample string 56",
  "Ac_acDesc": "sample string 57",
  "P_acCode": "sample string 58",
  "P_acDesc": "sample string 59",
  "Reverce_Charge": "sample string 60",
  "ITC": "sample string 61",
  "TCSPer": "sample string 62",
  "TCSAmt": "sample string 63",
  "DID": "sample string 64",
  "IsDelivered": "sample string 65",
  "Database": "sample string 66",
  "Compcode": "sample string 67",
  "EventType": "sample string 68",
  "finyear": "sample string 69",
  "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",
      "igstper": "sample string 21",
      "igstamt": "sample string 22",
      "netamount": "sample string 23",
      "iscancelled": "sample string 24",
      "batchno": "sample string 25",
      "mrpdiscper": "sample string 26",
      "deal": "sample string 27",
      "nop": "sample string 28",
      "cessper1": "sample string 29",
      "cessamt1": "sample string 30",
      "cessper2": "sample string 31",
      "cessamt2": "sample string 32",
      "godownid": "sample string 33",
      "adiscper": "sample string 34",
      "schdiscper": "sample string 35",
      "schdiscamt": "sample string 36",
      "schgrpper": "sample string 37",
      "schgrpamt": "sample string 38",
      "amount": "sample string 39"
    },
    {
      "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",
      "igstper": "sample string 21",
      "igstamt": "sample string 22",
      "netamount": "sample string 23",
      "iscancelled": "sample string 24",
      "batchno": "sample string 25",
      "mrpdiscper": "sample string 26",
      "deal": "sample string 27",
      "nop": "sample string 28",
      "cessper1": "sample string 29",
      "cessamt1": "sample string 30",
      "cessper2": "sample string 31",
      "cessamt2": "sample string 32",
      "godownid": "sample string 33",
      "adiscper": "sample string 34",
      "schdiscper": "sample string 35",
      "schdiscamt": "sample string 36",
      "schgrpper": "sample string 37",
      "schgrpamt": "sample string 38",
      "amount": "sample string 39"
    }
  ],
  "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"
    }
  ]
}

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 8</AcCode>
  <AcDesc>sample string 9</AcDesc>
  <Ac_acCode>sample string 56</Ac_acCode>
  <Ac_acDesc>sample string 57</Ac_acDesc>
  <AdjAmt>sample string 47</AdjAmt>
  <AdjAmt1>sample string 24</AdjAmt1>
  <AdjAmt2>sample string 28</AdjAmt2>
  <AdjHead1>sample string 22</AdjHead1>
  <AdjHead2>sample string 26</AdjHead2>
  <AdjHeadName1>sample string 23</AdjHeadName1>
  <AdjHeadName2>sample string 27</AdjHeadName2>
  <AdjNarr1>sample string 25</AdjNarr1>
  <AdjNarr2>sample string 29</AdjNarr2>
  <AdjVNo>sample string 46</AdjVNo>
  <AdjVType>sample string 45</AdjVType>
  <BeatId>sample string 43</BeatId>
  <BillNo>sample string 6</BillNo>
  <BookedFrom>sample string 33</BookedFrom>
  <BookedTo>sample string 34</BookedTo>
  <CGSTAmt>sample string 16</CGSTAmt>
  <CdPer>sample string 41</CdPer>
  <CessAmt1>sample string 19</CessAmt1>
  <CessAmt2>sample string 20</CessAmt2>
  <Compcode>sample string 67</Compcode>
  <DID>sample string 64</DID>
  <Database>sample string 66</Database>
  <Deal>sample string 50</Deal>
  <DelvDate>2024-11-15T08:16:26.463356+05:30</DelvDate>
  <E_WayBillNo>sample string 52</E_WayBillNo>
  <EventType>sample string 68</EventType>
  <GoDownId>sample string 55</GoDownId>
  <GrDate>2024-11-15T08:16:26.463356+05:30</GrDate>
  <GrNo>sample string 35</GrNo>
  <IGSTAmt>sample string 18</IGSTAmt>
  <ITC>sample string 61</ITC>
  <IsAdj>sample string 48</IsAdj>
  <IsCancelled>sample string 38</IsCancelled>
  <IsCash>sample string 39</IsCash>
  <IsDelivered>sample string 65</IsDelivered>
  <MVNo>sample string 5</MVNo>
  <MakeId>sample string 40</MakeId>
  <NetAmount>sample string 30</NetAmount>
  <NetDiscount>sample string 15</NetDiscount>
  <OrderDate>2024-11-15T08:16:26.463356+05:30</OrderDate>
  <OrderNo>sample string 31</OrderNo>
  <P_acCode>sample string 58</P_acCode>
  <P_acDesc>sample string 59</P_acDesc>
  <PartyName>sample string 10</PartyName>
  <Remarks>sample string 44</Remarks>
  <Reverce_Charge>sample string 60</Reverce_Charge>
  <RoundOff>sample string 21</RoundOff>
  <SGSTAmt>sample string 17</SGSTAmt>
  <SaleTax>sample string 1</SaleTax>
  <SalesMan>sample string 12</SalesMan>
  <SalesManCode>sample string 11</SalesManCode>
  <Series>sample string 2</Series>
  <ShipAddress>sample string 49</ShipAddress>
  <SubTotal>sample string 14</SubTotal>
  <TCSAmt>sample string 63</TCSAmt>
  <TCSPer>sample string 62</TCSPer>
  <TransDate>2024-11-15T08:16:26.463356+05:30</TransDate>
  <TransDocNo>sample string 53</TransDocNo>
  <TrpId>sample string 37</TrpId>
  <UpExUP>sample string 13</UpExUP>
  <VDate>2024-11-15T08:16:26.463356+05:30</VDate>
  <VNo>sample string 4</VNo>
  <VType>sample string 3</VType>
  <finyear>sample string 69</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>
      <adiscper>sample string 34</adiscper>
      <amount>sample string 39</amount>
      <batchno>sample string 25</batchno>
      <cessamt1>sample string 30</cessamt1>
      <cessamt2>sample string 32</cessamt2>
      <cessper1>sample string 29</cessper1>
      <cessper2>sample string 31</cessper2>
      <cgstamt>sample string 18</cgstamt>
      <cgstper>sample string 17</cgstper>
      <compcode>sample string 5</compcode>
      <deal>sample string 27</deal>
      <discamt>sample string 15</discamt>
      <discper1>sample string 13</discper1>
      <discper2>sample string 14</discper2>
      <finyear>sample string 6</finyear>
      <frqty>sample string 11</frqty>
      <godownid>sample string 33</godownid>
      <id>sample string 1</id>
      <igstamt>sample string 22</igstamt>
      <igstper>sample string 21</igstper>
      <iscancelled>sample string 24</iscancelled>
      <itemid>sample string 7</itemid>
      <mrp>sample string 8</mrp>
      <mrpdiscper>sample string 26</mrpdiscper>
      <netamount>sample string 23</netamount>
      <netdiscount>sample string 16</netdiscount>
      <nop>sample string 28</nop>
      <qty>sample string 10</qty>
      <rate>sample string 12</rate>
      <schdiscamt>sample string 36</schdiscamt>
      <schdiscper>sample string 35</schdiscper>
      <schgrpamt>sample string 38</schgrpamt>
      <schgrpper>sample string 37</schgrpper>
      <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>
      <adiscper>sample string 34</adiscper>
      <amount>sample string 39</amount>
      <batchno>sample string 25</batchno>
      <cessamt1>sample string 30</cessamt1>
      <cessamt2>sample string 32</cessamt2>
      <cessper1>sample string 29</cessper1>
      <cessper2>sample string 31</cessper2>
      <cgstamt>sample string 18</cgstamt>
      <cgstper>sample string 17</cgstper>
      <compcode>sample string 5</compcode>
      <deal>sample string 27</deal>
      <discamt>sample string 15</discamt>
      <discper1>sample string 13</discper1>
      <discper2>sample string 14</discper2>
      <finyear>sample string 6</finyear>
      <frqty>sample string 11</frqty>
      <godownid>sample string 33</godownid>
      <id>sample string 1</id>
      <igstamt>sample string 22</igstamt>
      <igstper>sample string 21</igstper>
      <iscancelled>sample string 24</iscancelled>
      <itemid>sample string 7</itemid>
      <mrp>sample string 8</mrp>
      <mrpdiscper>sample string 26</mrpdiscper>
      <netamount>sample string 23</netamount>
      <netdiscount>sample string 16</netdiscount>
      <nop>sample string 28</nop>
      <qty>sample string 10</qty>
      <rate>sample string 12</rate>
      <schdiscamt>sample string 36</schdiscamt>
      <schdiscper>sample string 35</schdiscper>
      <schgrpamt>sample string 38</schgrpamt>
      <schgrpper>sample string 37</schgrpper>
      <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 51</vechileno>
</Sale>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>