POST api/OPBilling/SaveOpBillingDetails

Request Information

URI Parameters

None.

Body Parameters

ServicesCostDetails
NameDescriptionTypeAdditional information
Mrn_No

string

None.

Age

string

None.

Date_Of_Birth

string

None.

Patient_Firstname

string

None.

Patient_Lastname

string

None.

Tariff_Id

integer

None.

TotalServiceCost

decimal number

None.

ConsultationFees

decimal number

None.

TotalAmount

decimal number

None.

NetBillAmount

decimal number

None.

Center_Id

integer

None.

Org_Id

integer

None.

Transaction_Id

string

None.

Is_Home_Sample

boolean

None.

Delivery_Charge

decimal number

None.

Lst_ServiceCosts

Collection of ServicesCosts

None.

Request Formats

application/json, text/json

Sample:
{
  "Mrn_No": "sample string 1",
  "Age": "sample string 2",
  "Date_Of_Birth": "sample string 3",
  "Patient_Firstname": "sample string 4",
  "Patient_Lastname": "sample string 5",
  "Tariff_Id": 6,
  "TotalServiceCost": 7.0,
  "ConsultationFees": 8.0,
  "TotalAmount": 9.0,
  "NetBillAmount": 10.0,
  "Center_Id": 11,
  "Org_Id": 12,
  "Transaction_Id": "sample string 13",
  "Is_Home_Sample": true,
  "Delivery_Charge": 15.0,
  "Lst_ServiceCosts": [
    {
      "Service_Grp_Id": 1,
      "Service_Subgrp_Id": 2,
      "Service_Id": 3,
      "Service_Name": "sample string 4",
      "Service_Description": "sample string 5",
      "Status": 1,
      "Org_Id": 6,
      "Center_Id": 7,
      "Tariff_Id": 8,
      "Bedcat_Id": 9,
      "Normal_Cost": 1.0,
      "Service_Charge_Id": 10,
      "Consulting": 11,
      "Is_Service_Belongs_To_Categaory": 12,
      "Is_Doctor_Prescribed": true,
      "Is_Checked": true,
      "Laboratory_Id": 15
    },
    {
      "Service_Grp_Id": 1,
      "Service_Subgrp_Id": 2,
      "Service_Id": 3,
      "Service_Name": "sample string 4",
      "Service_Description": "sample string 5",
      "Status": 1,
      "Org_Id": 6,
      "Center_Id": 7,
      "Tariff_Id": 8,
      "Bedcat_Id": 9,
      "Normal_Cost": 1.0,
      "Service_Charge_Id": 10,
      "Consulting": 11,
      "Is_Service_Belongs_To_Categaory": 12,
      "Is_Doctor_Prescribed": true,
      "Is_Checked": true,
      "Laboratory_Id": 15
    }
  ]
}

text/html

Sample:
{"Mrn_No":"sample string 1","Age":"sample string 2","Date_Of_Birth":"sample string 3","Patient_Firstname":"sample string 4","Patient_Lastname":"sample string 5","Tariff_Id":6,"TotalServiceCost":7.0,"ConsultationFees":8.0,"TotalAmount":9.0,"NetBillAmount":10.0,"Center_Id":11,"Org_Id":12,"Transaction_Id":"sample string 13","Is_Home_Sample":true,"Delivery_Charge":15.0,"Lst_ServiceCosts":[{"Service_Grp_Id":1,"Service_Subgrp_Id":2,"Service_Id":3,"Service_Name":"sample string 4","Service_Description":"sample string 5","Status":1,"Org_Id":6,"Center_Id":7,"Tariff_Id":8,"Bedcat_Id":9,"Normal_Cost":1.0,"Service_Charge_Id":10,"Consulting":11,"Is_Service_Belongs_To_Categaory":12,"Is_Doctor_Prescribed":true,"Is_Checked":true,"Laboratory_Id":15},{"Service_Grp_Id":1,"Service_Subgrp_Id":2,"Service_Id":3,"Service_Name":"sample string 4","Service_Description":"sample string 5","Status":1,"Org_Id":6,"Center_Id":7,"Tariff_Id":8,"Bedcat_Id":9,"Normal_Cost":1.0,"Service_Charge_Id":10,"Consulting":11,"Is_Service_Belongs_To_Categaory":12,"Is_Doctor_Prescribed":true,"Is_Checked":true,"Laboratory_Id":15}]}

application/xml, text/xml

Sample:
<ServicesCostDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tm.WebAPI.Models">
  <Age>sample string 2</Age>
  <Center_Id>11</Center_Id>
  <ConsultationFees>8</ConsultationFees>
  <Date_Of_Birth>sample string 3</Date_Of_Birth>
  <Delivery_Charge>15</Delivery_Charge>
  <Is_Home_Sample>true</Is_Home_Sample>
  <Lst_ServiceCosts>
    <ServicesCosts>
      <Bedcat_Id>9</Bedcat_Id>
      <Center_Id>7</Center_Id>
      <Consulting>11</Consulting>
      <Is_Checked>true</Is_Checked>
      <Is_Doctor_Prescribed>true</Is_Doctor_Prescribed>
      <Is_Service_Belongs_To_Categaory>12</Is_Service_Belongs_To_Categaory>
      <Laboratory_Id>15</Laboratory_Id>
      <Normal_Cost>1</Normal_Cost>
      <Org_Id>6</Org_Id>
      <Service_Charge_Id>10</Service_Charge_Id>
      <Service_Description>sample string 5</Service_Description>
      <Service_Grp_Id>1</Service_Grp_Id>
      <Service_Id>3</Service_Id>
      <Service_Name>sample string 4</Service_Name>
      <Service_Subgrp_Id>2</Service_Subgrp_Id>
      <Status>1</Status>
      <Tariff_Id>8</Tariff_Id>
    </ServicesCosts>
    <ServicesCosts>
      <Bedcat_Id>9</Bedcat_Id>
      <Center_Id>7</Center_Id>
      <Consulting>11</Consulting>
      <Is_Checked>true</Is_Checked>
      <Is_Doctor_Prescribed>true</Is_Doctor_Prescribed>
      <Is_Service_Belongs_To_Categaory>12</Is_Service_Belongs_To_Categaory>
      <Laboratory_Id>15</Laboratory_Id>
      <Normal_Cost>1</Normal_Cost>
      <Org_Id>6</Org_Id>
      <Service_Charge_Id>10</Service_Charge_Id>
      <Service_Description>sample string 5</Service_Description>
      <Service_Grp_Id>1</Service_Grp_Id>
      <Service_Id>3</Service_Id>
      <Service_Name>sample string 4</Service_Name>
      <Service_Subgrp_Id>2</Service_Subgrp_Id>
      <Status>1</Status>
      <Tariff_Id>8</Tariff_Id>
    </ServicesCosts>
  </Lst_ServiceCosts>
  <Mrn_No>sample string 1</Mrn_No>
  <NetBillAmount>10</NetBillAmount>
  <Org_Id>12</Org_Id>
  <Patient_Firstname>sample string 4</Patient_Firstname>
  <Patient_Lastname>sample string 5</Patient_Lastname>
  <Tariff_Id>6</Tariff_Id>
  <TotalAmount>9</TotalAmount>
  <TotalServiceCost>7</TotalServiceCost>
  <Transaction_Id>sample string 13</Transaction_Id>
</ServicesCostDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultData
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {}
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{}}

application/xml, text/xml

Sample:
<ResultData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tm.WebAPI.Models">
  <Data />
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResultData>