POST api/v1/FindInvoice

Request Information

URI Parameters

None.

Body Parameters

InvoiceFindInput
NameDescriptionTypeAdditional information
InvoiceNo

string

None.

CompID

integer

None.

LocID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceNo": "sample string 1",
  "CompID": 2,
  "LocID": 3
}

application/xml, text/xml

Sample:
<InvoiceFindInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>2</CompID>
  <InvoiceNo>sample string 1</InvoiceNo>
  <LocID>3</LocID>
</InvoiceFindInput>

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 'InvoiceFindInput'.

Response Information

Resource Description

InvoiceFindModel
NameDescriptionTypeAdditional information
InvoiceID

integer

None.

InvoiceAmt

decimal number

None.

MobileNo

string

None.

CustName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceID": 1,
  "InvoiceAmt": 2.0,
  "MobileNo": "sample string 3",
  "CustName": "sample string 4"
}

application/xml, text/xml

Sample:
<InvoiceFindModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CustName>sample string 4</CustName>
  <InvoiceAmt>2</InvoiceAmt>
  <InvoiceID>1</InvoiceID>
  <MobileNo>sample string 3</MobileNo>
</InvoiceFindModel>