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. |
|
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-15T08:35:41.4926209+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", "Database": "sample string 11", "Compcode": "sample string 12", "EventType": "sample string 13", "finyear": "sample string 14" }, "dncnledger": [ { "narration": "sample string 1", "amount": "sample string 2" }, { "narration": "sample string 1", "amount": "sample string 2" } ], "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T08:35:41.5082383+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", "Database": "sample string 11", "Compcode": "sample string 12", "EventType": "sample string 13", "finyear": "sample string 14" }
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> <CnCode>sample string 5</CnCode> <CnHead>sample string 7</CnHead> <Compcode>sample string 12</Compcode> <Database>sample string 11</Database> <DnCode>sample string 4</DnCode> <DnHead>sample string 6</DnHead> <EventType>sample string 13</EventType> <IsAdj>sample string 10</IsAdj> <Remarks>sample string 9</Remarks> <VDate>2024-11-15T08:35:41.5082383+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 14</finyear> <dncnledger> <DnCnledger> <amount>sample string 2</amount> <narration>sample string 1</narration> </DnCnledger> <DnCnledger> <amount>sample string 2</amount> <narration>sample string 1</narration> </DnCnledger> </dncnledger> <dncnlist> <Amount>sample string 8</Amount> <CnCode>sample string 5</CnCode> <CnHead>sample string 7</CnHead> <Compcode>sample string 12</Compcode> <Database>sample string 11</Database> <DnCode>sample string 4</DnCode> <DnHead>sample string 6</DnHead> <EventType>sample string 13</EventType> <IsAdj>sample string 10</IsAdj> <Remarks>sample string 9</Remarks> <VDate>2024-11-15T08:35:41.4926209+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 14</finyear> </dncnlist> </DnCn>
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. |