POST api/AutoVoucherEntry?Group={Group}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Group | integer |
Required |
Body Parameters
Z_VoucherHeaderDetailRequestName | Description | Type | Additional information |
---|---|---|---|
VoucherHeader | F_VoucherHeader |
None. |
|
VoucherLine | Collection of F_VoucherLine |
None. |
|
VoucherInvoiceLine | Collection of F_VoucherInvoiceLine |
None. |
|
DimensionVoucherDetail | Collection of F_DimensionVoucherDetail |
None. |
|
CustomerDimensionVoucherDetail | Collection of F_CustomerDimensionVoucherDetail |
None. |
|
ChequeReturnFlag | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "VoucherHeader": { "Id": 1, "VoucherNo": "sample string 2", "VoucherDate": "2025-03-28T15:07:00.3336187+00:00", "VoucherType": "sample string 3", "VoucherTypeName": "sample string 4", "Narration": "sample string 5", "ChequeNo": "sample string 6", "DDNo": "sample string 7", "RTGSNo": "sample string 8", "RefVoucherNo": "sample string 9", "BranchCode": 10, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T15:07:00.3336187+00:00", "UpdatedByIT": "sample string 11", "InvoiceNo": "sample string 12" }, "VoucherLine": [ { "Id": 1, "VoucherNo": "sample string 2", "LineNumber": 3, "LedgerCode": "sample string 4", "PartyCode": "sample string 5", "Amt": 6.0, "CrDrFlag": "sample string 7", "Pay_Rec_Type": "sample string 8", "Narration": "sample string 9", "BranchCode": 10, "HeaderBranchCode": 11, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T15:07:00.3336187+00:00", "BankDate": "2025-03-28T15:07:00.3336187+00:00", "UpdatedByIT": "sample string 12" }, { "Id": 1, "VoucherNo": "sample string 2", "LineNumber": 3, "LedgerCode": "sample string 4", "PartyCode": "sample string 5", "Amt": 6.0, "CrDrFlag": "sample string 7", "Pay_Rec_Type": "sample string 8", "Narration": "sample string 9", "BranchCode": 10, "HeaderBranchCode": 11, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T15:07:00.3336187+00:00", "BankDate": "2025-03-28T15:07:00.3336187+00:00", "UpdatedByIT": "sample string 12" } ], "VoucherInvoiceLine": [ { "Id": 1, "VoucherNo": "sample string 2", "TransId": "sample string 3", "ReceivedAmt": 1.0, "PendingAmount": 1.0, "PartyCode": "sample string 4", "BranchCode": 5, "HeaderBranchCode": 6, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T15:07:00.3336187+00:00", "CrDrFlag": "sample string 7", "UpdatedByIT": "sample string 8" }, { "Id": 1, "VoucherNo": "sample string 2", "TransId": "sample string 3", "ReceivedAmt": 1.0, "PendingAmount": 1.0, "PartyCode": "sample string 4", "BranchCode": 5, "HeaderBranchCode": 6, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T15:07:00.3336187+00:00", "CrDrFlag": "sample string 7", "UpdatedByIT": "sample string 8" } ], "DimensionVoucherDetail": [ { "Id": 1, "VoucherNo": "sample string 2", "VoucherLineNo": 1, "CrDrFlag": "sample string 3", "LedgerCode": "sample string 4", "Amt": 1.0, "DimensionId": 1, "BranchCode": 5, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "HeaderBranchCode": 6 }, { "Id": 1, "VoucherNo": "sample string 2", "VoucherLineNo": 1, "CrDrFlag": "sample string 3", "LedgerCode": "sample string 4", "Amt": 1.0, "DimensionId": 1, "BranchCode": 5, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "HeaderBranchCode": 6 } ], "CustomerDimensionVoucherDetail": [ { "Id": 1, "VoucherNo": "sample string 2", "PartyCode": "sample string 3", "VoucherLineNo": 1, "CrDrFlag": "sample string 4", "LedgerCode": "sample string 5", "Amt": 1.0, "DimensionId": 1, "BranchCode": 6, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "HeaderBranchCode": 7 }, { "Id": 1, "VoucherNo": "sample string 2", "PartyCode": "sample string 3", "VoucherLineNo": 1, "CrDrFlag": "sample string 4", "LedgerCode": "sample string 5", "Amt": 1.0, "DimensionId": 1, "BranchCode": 6, "CreatedBy": 1, "CreatedOn": "2025-03-28T15:07:00.3336187+00:00", "HeaderBranchCode": 7 } ], "ChequeReturnFlag": "sample string 1" }
application/xml, text/xml
Sample:
<Z_VoucherHeaderDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <ChequeReturnFlag>sample string 1</ChequeReturnFlag> <CustomerDimensionVoucherDetail> <F_CustomerDimensionVoucherDetail> <Amt>1</Amt> <BranchCode>6</BranchCode> <CrDrFlag>sample string 4</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <DimensionId>1</DimensionId> <HeaderBranchCode>7</HeaderBranchCode> <Id>1</Id> <LedgerCode>sample string 5</LedgerCode> <PartyCode>sample string 3</PartyCode> <VoucherLineNo>1</VoucherLineNo> <VoucherNo>sample string 2</VoucherNo> </F_CustomerDimensionVoucherDetail> <F_CustomerDimensionVoucherDetail> <Amt>1</Amt> <BranchCode>6</BranchCode> <CrDrFlag>sample string 4</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <DimensionId>1</DimensionId> <HeaderBranchCode>7</HeaderBranchCode> <Id>1</Id> <LedgerCode>sample string 5</LedgerCode> <PartyCode>sample string 3</PartyCode> <VoucherLineNo>1</VoucherLineNo> <VoucherNo>sample string 2</VoucherNo> </F_CustomerDimensionVoucherDetail> </CustomerDimensionVoucherDetail> <DimensionVoucherDetail> <F_DimensionVoucherDetail> <Amt>1</Amt> <BranchCode>5</BranchCode> <CrDrFlag>sample string 3</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <DimensionId>1</DimensionId> <HeaderBranchCode>6</HeaderBranchCode> <Id>1</Id> <LedgerCode>sample string 4</LedgerCode> <VoucherLineNo>1</VoucherLineNo> <VoucherNo>sample string 2</VoucherNo> </F_DimensionVoucherDetail> <F_DimensionVoucherDetail> <Amt>1</Amt> <BranchCode>5</BranchCode> <CrDrFlag>sample string 3</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <DimensionId>1</DimensionId> <HeaderBranchCode>6</HeaderBranchCode> <Id>1</Id> <LedgerCode>sample string 4</LedgerCode> <VoucherLineNo>1</VoucherLineNo> <VoucherNo>sample string 2</VoucherNo> </F_DimensionVoucherDetail> </DimensionVoucherDetail> <VoucherHeader> <BranchCode>10</BranchCode> <ChequeNo>sample string 6</ChequeNo> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <DDNo>sample string 7</DDNo> <Id>1</Id> <InvoiceNo>sample string 12</InvoiceNo> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T15:07:00.3336187+00:00</ModifiedOn> <Narration>sample string 5</Narration> <RTGSNo>sample string 8</RTGSNo> <RefVoucherNo>sample string 9</RefVoucherNo> <UpdatedByIT>sample string 11</UpdatedByIT> <VoucherDate>2025-03-28T15:07:00.3336187+00:00</VoucherDate> <VoucherNo>sample string 2</VoucherNo> <VoucherType>sample string 3</VoucherType> <VoucherTypeName>sample string 4</VoucherTypeName> </VoucherHeader> <VoucherInvoiceLine> <F_VoucherInvoiceLine> <BranchCode>5</BranchCode> <CrDrFlag>sample string 7</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <HeaderBranchCode>6</HeaderBranchCode> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T15:07:00.3336187+00:00</ModifiedOn> <PartyCode>sample string 4</PartyCode> <PendingAmount>1</PendingAmount> <ReceivedAmt>1</ReceivedAmt> <TransId>sample string 3</TransId> <UpdatedByIT>sample string 8</UpdatedByIT> <VoucherNo>sample string 2</VoucherNo> </F_VoucherInvoiceLine> <F_VoucherInvoiceLine> <BranchCode>5</BranchCode> <CrDrFlag>sample string 7</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <HeaderBranchCode>6</HeaderBranchCode> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T15:07:00.3336187+00:00</ModifiedOn> <PartyCode>sample string 4</PartyCode> <PendingAmount>1</PendingAmount> <ReceivedAmt>1</ReceivedAmt> <TransId>sample string 3</TransId> <UpdatedByIT>sample string 8</UpdatedByIT> <VoucherNo>sample string 2</VoucherNo> </F_VoucherInvoiceLine> </VoucherInvoiceLine> <VoucherLine> <F_VoucherLine> <Amt>6</Amt> <BankDate>2025-03-28T15:07:00.3336187+00:00</BankDate> <BranchCode>10</BranchCode> <CrDrFlag>sample string 7</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <HeaderBranchCode>11</HeaderBranchCode> <Id>1</Id> <LedgerCode>sample string 4</LedgerCode> <LineNumber>3</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T15:07:00.3336187+00:00</ModifiedOn> <Narration>sample string 9</Narration> <PartyCode>sample string 5</PartyCode> <Pay_Rec_Type>sample string 8</Pay_Rec_Type> <UpdatedByIT>sample string 12</UpdatedByIT> <VoucherNo>sample string 2</VoucherNo> </F_VoucherLine> <F_VoucherLine> <Amt>6</Amt> <BankDate>2025-03-28T15:07:00.3336187+00:00</BankDate> <BranchCode>10</BranchCode> <CrDrFlag>sample string 7</CrDrFlag> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T15:07:00.3336187+00:00</CreatedOn> <HeaderBranchCode>11</HeaderBranchCode> <Id>1</Id> <LedgerCode>sample string 4</LedgerCode> <LineNumber>3</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T15:07:00.3336187+00:00</ModifiedOn> <Narration>sample string 9</Narration> <PartyCode>sample string 5</PartyCode> <Pay_Rec_Type>sample string 8</Pay_Rec_Type> <UpdatedByIT>sample string 12</UpdatedByIT> <VoucherNo>sample string 2</VoucherNo> </F_VoucherLine> </VoucherLine> </Z_VoucherHeaderDetailRequest>
application/x-www-form-urlencoded
Sample:
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. |