POST api/Vaxine

Request Information

URI Parameters

None.

Body Parameters

tblSale
NameDescriptionTypeAdditional information
SrNo

integer

None.

BillNo

integer

None.

Patient

string

None.

Date

date

None.

ProductId

integer

None.

Batch

string

None.

Expiry

date

None.

Qty

integer

None.

Amount

decimal number

None.

BarCode

integer

None.

NetAmount

decimal number

None.

BillDate

date

None.

SessionId

integer

None.

Status

boolean

None.

Doctor

string

None.

CardNo

string

None.

AF

string

None.

AB

string

None.

PaymentMode

string

None.

Online

decimal number

None.

Balance

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "SrNo": 1,
  "BillNo": 2,
  "Patient": "sample string 3",
  "Date": "2025-12-10T09:58:15.782958+05:30",
  "ProductId": 1,
  "Batch": "sample string 4",
  "Expiry": "2025-12-10T09:58:15.782958+05:30",
  "Qty": 1,
  "Amount": 1.0,
  "BarCode": 1,
  "NetAmount": 1.0,
  "BillDate": "2025-12-10T09:58:15.782958+05:30",
  "SessionId": 1,
  "Status": true,
  "Doctor": "sample string 5",
  "CardNo": "sample string 6",
  "AF": "sample string 7",
  "AB": "sample string 8",
  "PaymentMode": "sample string 9",
  "Online": 1.0,
  "Balance": 1.0
}

application/xml, text/xml

Sample:
<tblSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/handyman.Models">
  <AB>sample string 8</AB>
  <AF>sample string 7</AF>
  <Amount>1</Amount>
  <Balance>1</Balance>
  <BarCode>1</BarCode>
  <Batch>sample string 4</Batch>
  <BillDate>2025-12-10T09:58:15.782958+05:30</BillDate>
  <BillNo>2</BillNo>
  <CardNo>sample string 6</CardNo>
  <Date>2025-12-10T09:58:15.782958+05:30</Date>
  <Doctor>sample string 5</Doctor>
  <Expiry>2025-12-10T09:58:15.782958+05:30</Expiry>
  <NetAmount>1</NetAmount>
  <Online>1</Online>
  <Patient>sample string 3</Patient>
  <PaymentMode>sample string 9</PaymentMode>
  <ProductId>1</ProductId>
  <Qty>1</Qty>
  <SessionId>1</SessionId>
  <SrNo>1</SrNo>
  <Status>true</Status>
</tblSale>

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

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.