POST api/VoucherEntry/CheckExistancyForServiceInvoice

Request Information

URI Parameters

None.

Body Parameters

Collection of AutoCDUploadList
NameDescriptionTypeAdditional information
CustomerCode

string

String length: inclusive between 0 and 30

VoucherDate

date

None.

InvoiceNo

string

None.

ExcludingTaxCNAmount

decimal number

None.

Narration

string

None.

BranchCode

integer

None.

Ledger

string

None.

ProductGroup

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CustomerCode": "sample string 1",
    "VoucherDate": "2024-04-27T15:10:18.8813386+00:00",
    "InvoiceNo": "sample string 3",
    "ExcludingTaxCNAmount": 4.0,
    "Narration": "sample string 5",
    "BranchCode": 6,
    "Ledger": "sample string 7",
    "ProductGroup": "sample string 8"
  },
  {
    "CustomerCode": "sample string 1",
    "VoucherDate": "2024-04-27T15:10:18.8813386+00:00",
    "InvoiceNo": "sample string 3",
    "ExcludingTaxCNAmount": 4.0,
    "Narration": "sample string 5",
    "BranchCode": 6,
    "Ledger": "sample string 7",
    "ProductGroup": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAutoCDUploadList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <AutoCDUploadList>
    <BranchCode>6</BranchCode>
    <CustomerCode>sample string 1</CustomerCode>
    <ExcludingTaxCNAmount>4</ExcludingTaxCNAmount>
    <InvoiceNo>sample string 3</InvoiceNo>
    <Ledger>sample string 7</Ledger>
    <Narration>sample string 5</Narration>
    <ProductGroup>sample string 8</ProductGroup>
    <VoucherDate>2024-04-27T15:10:18.8813386+00:00</VoucherDate>
  </AutoCDUploadList>
  <AutoCDUploadList>
    <BranchCode>6</BranchCode>
    <CustomerCode>sample string 1</CustomerCode>
    <ExcludingTaxCNAmount>4</ExcludingTaxCNAmount>
    <InvoiceNo>sample string 3</InvoiceNo>
    <Ledger>sample string 7</Ledger>
    <Narration>sample string 5</Narration>
    <ProductGroup>sample string 8</ProductGroup>
    <VoucherDate>2024-04-27T15:10:18.8813386+00:00</VoucherDate>
  </AutoCDUploadList>
</ArrayOfAutoCDUploadList>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AutoCDUploadList[]'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.