POST api/ChallanApi/Post_challanentry_for_save_update
Request Information
URI Parameters
None.
Body Parameters
challanentryName | Description | Type | Additional information |
---|---|---|---|
ledgetlist | Collection of ledger |
None. |
|
ledgetdetialslist | Collection of ledgerdetials |
None. |
|
VType | string |
None. |
|
VNo | string |
None. |
|
VDate | date |
None. |
|
SalesManCode | string |
None. |
|
SalesMan | string |
None. |
|
NetAmount | string |
None. |
|
MakeId | string |
None. |
|
Remarks | string |
None. |
|
VehcliNo | string |
None. |
|
GoDownId | 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", "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" } ], "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T08:27:33.2305992+05:30", "SalesManCode": "sample string 4", "SalesMan": "sample string 5", "NetAmount": "sample string 6", "MakeId": "sample string 7", "Remarks": "sample string 8", "VehcliNo": "sample string 9", "GoDownId": "sample string 10", "Database": "sample string 11", "Compcode": "sample string 12", "EventType": "sample string 13", "finyear": "sample string 14" }
application/xml, text/xml
Sample:
<challanentry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <Compcode>sample string 12</Compcode> <Database>sample string 11</Database> <EventType>sample string 13</EventType> <GoDownId>sample string 10</GoDownId> <MakeId>sample string 7</MakeId> <NetAmount>sample string 6</NetAmount> <Remarks>sample string 8</Remarks> <SalesMan>sample string 5</SalesMan> <SalesManCode>sample string 4</SalesManCode> <VDate>2024-11-15T08:27:33.2305992+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <VehcliNo>sample string 9</VehcliNo> <finyear>sample string 14</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> </challanentry>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |