POST api/VoucherApi/Post_voucher_for_save_update
Request Information
URI Parameters
None.
Body Parameters
VoucherName | Description | Type | Additional information |
---|---|---|---|
vouchers | Collection of clsVoucher |
None. |
|
billos | Collection of clsBillos |
None. |
|
VType | string |
None. |
|
VNo | string |
None. |
|
VDate | date |
None. |
|
AcCode | string |
None. |
|
AcDesc | string |
None. |
|
AcContra | string |
None. |
|
DrAmt | string |
None. |
|
CrAmt | string |
None. |
|
DrCr | string |
None. |
|
Narration | string |
None. |
|
BDate | date |
None. |
|
Database | string |
None. |
|
Compcode | string |
None. |
|
EventType | string |
None. |
|
finyear | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "vouchers": [ { "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T08:06:06.6253555+05:30", "AcCode": "sample string 4", "AcDesc": "sample string 5", "AcContra": "sample string 6", "DrAmt": "sample string 7", "CrAmt": "sample string 8", "DrCr": "sample string 9", "Narration": "sample string 10", "BDate": "2024-11-15T08:06:06.6253555+05:30", "Database": "sample string 12", "Compcode": "sample string 13", "EventType": "sample string 14", "finyear": "sample string 15" }, { "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T08:06:06.6253555+05:30", "AcCode": "sample string 4", "AcDesc": "sample string 5", "AcContra": "sample string 6", "DrAmt": "sample string 7", "CrAmt": "sample string 8", "DrCr": "sample string 9", "Narration": "sample string 10", "BDate": "2024-11-15T08:06:06.6253555+05:30", "Database": "sample string 12", "Compcode": "sample string 13", "EventType": "sample string 14", "finyear": "sample string 15" } ], "billos": [ { "AcCode": "sample string 1", "Billtype": "sample string 2", "Billtypename": "sample string 3", "Narration": "sample string 4", "DrCr": "sample string 5", "DrCrName": "sample string 6", "DrAmt": "sample string 7", "CrAmt": "sample string 8", "BillNo": "sample string 9", "Database": "sample string 10", "Compcode": "sample string 11", "EventType": "sample string 12", "Finyear": "sample string 13", "vdate": "sample string 14", "vtype": "sample string 15", "vno": "sample string 16" }, { "AcCode": "sample string 1", "Billtype": "sample string 2", "Billtypename": "sample string 3", "Narration": "sample string 4", "DrCr": "sample string 5", "DrCrName": "sample string 6", "DrAmt": "sample string 7", "CrAmt": "sample string 8", "BillNo": "sample string 9", "Database": "sample string 10", "Compcode": "sample string 11", "EventType": "sample string 12", "Finyear": "sample string 13", "vdate": "sample string 14", "vtype": "sample string 15", "vno": "sample string 16" } ], "VType": "sample string 1", "VNo": "sample string 2", "VDate": "2024-11-15T08:06:06.6253555+05:30", "AcCode": "sample string 4", "AcDesc": "sample string 5", "AcContra": "sample string 6", "DrAmt": "sample string 7", "CrAmt": "sample string 8", "DrCr": "sample string 9", "Narration": "sample string 10", "BDate": "2024-11-15T08:06:06.6253555+05:30", "Database": "sample string 12", "Compcode": "sample string 13", "EventType": "sample string 14", "finyear": "sample string 15" }
application/xml, text/xml
Sample:
<Voucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <AcCode>sample string 4</AcCode> <AcContra>sample string 6</AcContra> <AcDesc>sample string 5</AcDesc> <BDate>2024-11-15T08:06:06.6253555+05:30</BDate> <Compcode>sample string 13</Compcode> <CrAmt>sample string 8</CrAmt> <Database>sample string 12</Database> <DrAmt>sample string 7</DrAmt> <DrCr>sample string 9</DrCr> <EventType>sample string 14</EventType> <Narration>sample string 10</Narration> <VDate>2024-11-15T08:06:06.6253555+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 15</finyear> <billos> <clsBillos> <AcCode>sample string 1</AcCode> <BillNo>sample string 9</BillNo> <Billtype>sample string 2</Billtype> <Billtypename>sample string 3</Billtypename> <Compcode>sample string 11</Compcode> <CrAmt>sample string 8</CrAmt> <Database>sample string 10</Database> <DrAmt>sample string 7</DrAmt> <DrCr>sample string 5</DrCr> <DrCrName>sample string 6</DrCrName> <EventType>sample string 12</EventType> <Finyear>sample string 13</Finyear> <Narration>sample string 4</Narration> <vdate>sample string 14</vdate> <vno>sample string 16</vno> <vtype>sample string 15</vtype> </clsBillos> <clsBillos> <AcCode>sample string 1</AcCode> <BillNo>sample string 9</BillNo> <Billtype>sample string 2</Billtype> <Billtypename>sample string 3</Billtypename> <Compcode>sample string 11</Compcode> <CrAmt>sample string 8</CrAmt> <Database>sample string 10</Database> <DrAmt>sample string 7</DrAmt> <DrCr>sample string 5</DrCr> <DrCrName>sample string 6</DrCrName> <EventType>sample string 12</EventType> <Finyear>sample string 13</Finyear> <Narration>sample string 4</Narration> <vdate>sample string 14</vdate> <vno>sample string 16</vno> <vtype>sample string 15</vtype> </clsBillos> </billos> <vouchers> <clsVoucher> <AcCode>sample string 4</AcCode> <AcContra>sample string 6</AcContra> <AcDesc>sample string 5</AcDesc> <BDate>2024-11-15T08:06:06.6253555+05:30</BDate> <Compcode>sample string 13</Compcode> <CrAmt>sample string 8</CrAmt> <Database>sample string 12</Database> <DrAmt>sample string 7</DrAmt> <DrCr>sample string 9</DrCr> <EventType>sample string 14</EventType> <Narration>sample string 10</Narration> <VDate>2024-11-15T08:06:06.6253555+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 15</finyear> </clsVoucher> <clsVoucher> <AcCode>sample string 4</AcCode> <AcContra>sample string 6</AcContra> <AcDesc>sample string 5</AcDesc> <BDate>2024-11-15T08:06:06.6253555+05:30</BDate> <Compcode>sample string 13</Compcode> <CrAmt>sample string 8</CrAmt> <Database>sample string 12</Database> <DrAmt>sample string 7</DrAmt> <DrCr>sample string 9</DrCr> <EventType>sample string 14</EventType> <Narration>sample string 10</Narration> <VDate>2024-11-15T08:06:06.6253555+05:30</VDate> <VNo>sample string 2</VNo> <VType>sample string 1</VType> <finyear>sample string 15</finyear> </clsVoucher> </vouchers> </Voucher>
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>