POST api/Invoice/AddInvoice

Request Information

URI Parameters

None.

Body Parameters

Invoice
NameDescriptionTypeAdditional information
AppointmentAmount

integer

None.

InviceID

integer

None.

AppointmentID

integer

None.

Discription

string

None.

Due

integer

None.

Amount

integer

None.

AmountWay

integer

None.

MR_No

string

None.

TotalPaid

integer

None.

InvoiceNumer

string

None.

PatientID

string

None.

Patient_Name

string

None.

Patient_Email

string

None.

Patient_Phone_Number

string

None.

Patient_Mobile_Number

string

None.

CNIC

string

None.

DateOfBirth

string

None.

Patient_Gender

string

None.

Documents

string

None.

Patient_Address

string

None.

CityID

string

None.

ImageBase64

Collection of string

None.

Place_Of_Birth

string

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "appointmentAmount": 1,
  "inviceID": 2,
  "appointmentID": 3,
  "discription": "sample string 4",
  "due": 5,
  "amount": 6,
  "amountWay": 7,
  "mR_No": "sample string 8",
  "totalPaid": 9,
  "invoiceNumer": "sample string 10",
  "patientID": "sample string 11",
  "patient_Name": "sample string 12",
  "patient_Email": "sample string 13",
  "patient_Phone_Number": "sample string 14",
  "patient_Mobile_Number": "sample string 15",
  "cnic": "sample string 16",
  "dateOfBirth": "sample string 17",
  "patient_Gender": "sample string 18",
  "documents": "sample string 19",
  "patient_Address": "sample string 20",
  "cityID": "sample string 21",
  "imageBase64": [
    "sample string 1",
    "sample string 2"
  ],
  "place_Of_Birth": "sample string 22",
  "comment": "sample string 23"
}

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

Object

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "object": {}
}