POST api/Appointment/CreateInvoice

Request Information

URI Parameters

None.

Body Parameters

InvoiceRequest
NameDescriptionTypeAdditional information
Patient_Code

string

None.

ClinicDept_Code

string

None.

DoctorCode

string

None.

FK_Branch_Id

integer

None.

Items

Collection of InvoiceItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Patient_Code": "sample string 1",
  "ClinicDept_Code": "sample string 2",
  "DoctorCode": "sample string 3",
  "FK_Branch_Id": 4,
  "Items": [
    {
      "ServiceCode": "sample string 1",
      "ServiceAmount": 2.0,
      "Quantity": 3,
      "DiscountAmount": 4.0
    },
    {
      "ServiceCode": "sample string 1",
      "ServiceAmount": 2.0,
      "Quantity": 3,
      "DiscountAmount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<InvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nitcotek.API.DAL.Models">
  <ClinicDept_Code>sample string 2</ClinicDept_Code>
  <DoctorCode>sample string 3</DoctorCode>
  <FK_Branch_Id>4</FK_Branch_Id>
  <Items>
    <InvoiceItem>
      <DiscountAmount>4</DiscountAmount>
      <Quantity>3</Quantity>
      <ServiceAmount>2</ServiceAmount>
      <ServiceCode>sample string 1</ServiceCode>
    </InvoiceItem>
    <InvoiceItem>
      <DiscountAmount>4</DiscountAmount>
      <Quantity>3</Quantity>
      <ServiceAmount>2</ServiceAmount>
      <ServiceCode>sample string 1</ServiceCode>
    </InvoiceItem>
  </Items>
  <Patient_Code>sample string 1</Patient_Code>
</InvoiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.