POST api/PurchaseApi/Post_purchase_for_save_update
Request Information
URI Parameters
None.
Body Parameters
purchaseName | Description | Type | Additional information |
---|---|---|---|
ledgetlist | Collection of ledger |
None. |
|
ledgetdetialslist | Collection of ledgerdetials |
None. |
|
MakeId | string |
None. |
|
CashCredit | string |
None. |
|
VType | string |
None. |
|
VNo | string |
None. |
|
VDate | date |
None. |
|
InvNo | string |
None. |
|
InvDate | date |
None. |
|
AcCode | string |
None. |
|
AcDesc | string |
None. |
|
SupName | 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. |
|
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. |
|
IsCancelled | string |
None. |
|
Remarks | string |
None. |
|
RCM | string |
None. |
|
ITC | string |
None. |
|
GoDownId | string |
None. |
|
E_WayBillNo | string |
None. |
|
TCSPer | string |
None. |
|
TCSAmt | string |
None. |
|
Database | string |
None. |
|
Compcode | string |
None. |
|
EventType | string |
None. |
|
finyear | 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", "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" } ], "MakeId": "sample string 1", "CashCredit": "sample string 2", "VType": "sample string 3", "VNo": "sample string 4", "VDate": "2024-11-15T08:11:10.8252862+05:30", "InvNo": "sample string 6", "InvDate": "2024-11-15T08:11:10.8252862+05:30", "AcCode": "sample string 8", "AcDesc": "sample string 9", "SupName": "sample string 10", "UpExUP": "sample string 11", "SubTotal": "sample string 12", "NetDiscount": "sample string 13", "cgstamt": "sample string 14", "sgstamt": "sample string 15", "igstamt": "sample string 16", "CessAmt1": "sample string 17", "CessAmt2": "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", "IsCancelled": "sample string 28", "Remarks": "sample string 29", "RCM": "sample string 30", "ITC": "sample string 31", "GoDownId": "sample string 32", "E_WayBillNo": "sample string 33", "TCSPer": "sample string 34", "TCSAmt": "sample string 35", "Database": "sample string 36", "Compcode": "sample string 37", "EventType": "sample string 38", "finyear": "sample string 39" }
application/xml, text/xml
Sample:
<purchase 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> <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> <CashCredit>sample string 2</CashCredit> <CessAmt1>sample string 17</CessAmt1> <CessAmt2>sample string 18</CessAmt2> <Compcode>sample string 37</Compcode> <Database>sample string 36</Database> <E_WayBillNo>sample string 33</E_WayBillNo> <EventType>sample string 38</EventType> <GoDownId>sample string 32</GoDownId> <ITC>sample string 31</ITC> <InvDate>2024-11-15T08:11:10.8252862+05:30</InvDate> <InvNo>sample string 6</InvNo> <IsCancelled>sample string 28</IsCancelled> <MakeId>sample string 1</MakeId> <NetAmount>sample string 27</NetAmount> <NetDiscount>sample string 13</NetDiscount> <RCM>sample string 30</RCM> <Remarks>sample string 29</Remarks> <SubTotal>sample string 12</SubTotal> <SupName>sample string 10</SupName> <TCSAmt>sample string 35</TCSAmt> <TCSPer>sample string 34</TCSPer> <UpExUP>sample string 11</UpExUP> <VDate>2024-11-15T08:11:10.8252862+05:30</VDate> <VNo>sample string 4</VNo> <VType>sample string 3</VType> <cgstamt>sample string 14</cgstamt> <finyear>sample string 39</finyear> <igstamt>sample string 16</igstamt> <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> <sgstamt>sample string 15</sgstamt> </purchase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseName | Description | Type | Additional 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>