POST api/DnCnApi/Post_DnCn_for_save_update
Request Information
URI Parameters
None.
Body Parameters
DnCnName | Description | Type | Additional information |
---|---|---|---|
dncnlist | clsDnCn |
None. |
|
dncnledger | Collection of DnCnledger |
None. |
|
VType | string |
None. |
|
VNo | string |
None. |
|
VDate | date |
None. |
|
DnCode | string |
None. |
|
CnCode | string |
None. |
|
DnHead | string |
None. |
|
CnHead | string |
None. |
|
Amount | string |
None. |
|
Remarks | string |
None. |
|
IsAdj | string |
None. |
|
CGSTPer | string |
None. |
|
SGSTPer | string |
None. |
|
IGSTPer | string |
None. |
|
CGSTAmt | string |
None. |
|
SGSTAmt | string |
None. |
|
IGSTAmt | string |
None. |
|
NetAmount | string |
None. |
|
Database | string |
None. |
|
Compcode | string |
None. |
|
EventType | string |
None. |
|
finyear | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "dncnlist": { "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T07:37:18.573111+05:30", "DnCode": "sample string 4", "CnCode": "sample string 5", "DnHead": "sample string 6", "CnHead": "sample string 7", "Amount": "sample string 8", "Remarks": "sample string 9", "IsAdj": "sample string 10", "CGSTPer": "sample string 11", "SGSTPer": "sample string 12", "IGSTPer": "sample string 13", "CGSTAmt": "sample string 14", "SGSTAmt": "sample string 15", "IGSTAmt": "sample string 16", "NetAmount": "sample string 17", "Database": "sample string 18", "Compcode": "sample string 19", "EventType": "sample string 20", "finyear": "sample string 21" }, "dncnledger": [ { "narration": "sample string 1", "amount": "sample string 2", "CGSTPer": "sample string 3", "SGSTPer": "sample string 4", "IGSTPer": "sample string 5", "CGSTAmt": "sample string 6", "SGSTAmt": "sample string 7", "IGSTAmt": "sample string 8", "NetAmount": "sample string 9" }, { "narration": "sample string 1", "amount": "sample string 2", "CGSTPer": "sample string 3", "SGSTPer": "sample string 4", "IGSTPer": "sample string 5", "CGSTAmt": "sample string 6", "SGSTAmt": "sample string 7", "IGSTAmt": "sample string 8", "NetAmount": "sample string 9" } ], "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T07:37:18.5887318+05:30", "DnCode": "sample string 4", "CnCode": "sample string 5", "DnHead": "sample string 6", "CnHead": "sample string 7", "Amount": "sample string 8", "Remarks": "sample string 9", "IsAdj": "sample string 10", "CGSTPer": "sample string 11", "SGSTPer": "sample string 12", "IGSTPer": "sample string 13", "CGSTAmt": "sample string 14", "SGSTAmt": "sample string 15", "IGSTAmt": "sample string 16", "NetAmount": "sample string 17", "Database": "sample string 18", "Compcode": "sample string 19", "EventType": "sample string 20", "finyear": "sample string 21" }
application/xml, text/xml
Sample:
<DnCn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <Amount>sample string 8</Amount> <CGSTAmt>sample string 14</CGSTAmt> <CGSTPer>sample string 11</CGSTPer> <CnCode>sample string 5</CnCode> <CnHead>sample string 7</CnHead> <Compcode>sample string 19</Compcode> <Database>sample string 18</Database> <DnCode>sample string 4</DnCode> <DnHead>sample string 6</DnHead> <EventType>sample string 20</EventType> <IGSTAmt>sample string 16</IGSTAmt> <IGSTPer>sample string 13</IGSTPer> <IsAdj>sample string 10</IsAdj> <NetAmount>sample string 17</NetAmount> <Remarks>sample string 9</Remarks> <SGSTAmt>sample string 15</SGSTAmt> <SGSTPer>sample string 12</SGSTPer> <VDate>2024-11-15T07:37:18.5887318+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 21</finyear> <dncnledger> <DnCnledger> <CGSTAmt>sample string 6</CGSTAmt> <CGSTPer>sample string 3</CGSTPer> <IGSTAmt>sample string 8</IGSTAmt> <IGSTPer>sample string 5</IGSTPer> <NetAmount>sample string 9</NetAmount> <SGSTAmt>sample string 7</SGSTAmt> <SGSTPer>sample string 4</SGSTPer> <amount>sample string 2</amount> <narration>sample string 1</narration> </DnCnledger> <DnCnledger> <CGSTAmt>sample string 6</CGSTAmt> <CGSTPer>sample string 3</CGSTPer> <IGSTAmt>sample string 8</IGSTAmt> <IGSTPer>sample string 5</IGSTPer> <NetAmount>sample string 9</NetAmount> <SGSTAmt>sample string 7</SGSTAmt> <SGSTPer>sample string 4</SGSTPer> <amount>sample string 2</amount> <narration>sample string 1</narration> </DnCnledger> </dncnledger> <dncnlist> <Amount>sample string 8</Amount> <CGSTAmt>sample string 14</CGSTAmt> <CGSTPer>sample string 11</CGSTPer> <CnCode>sample string 5</CnCode> <CnHead>sample string 7</CnHead> <Compcode>sample string 19</Compcode> <Database>sample string 18</Database> <DnCode>sample string 4</DnCode> <DnHead>sample string 6</DnHead> <EventType>sample string 20</EventType> <IGSTAmt>sample string 16</IGSTAmt> <IGSTPer>sample string 13</IGSTPer> <IsAdj>sample string 10</IsAdj> <NetAmount>sample string 17</NetAmount> <Remarks>sample string 9</Remarks> <SGSTAmt>sample string 15</SGSTAmt> <SGSTPer>sample string 12</SGSTPer> <VDate>2024-11-15T07:37:18.573111+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 21</finyear> </dncnlist> </DnCn>
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>