POST api/Patient/UpdatePayment

Request Information

URI Parameters

None.

Body Parameters

LaboratoryBilling
NameDescriptionTypeAdditional information
BillSequenceNumber

string

None.

FacilitySequenceNumber

string

None.

HospitalSequenceNumber

string

None.

BranchSequenceNumber

string

None.

BillNumber

string

None.

BillingType

string

None.

BillingReasonCode

string

None.

BillDate

string

None.

BillTotalAmount

string

None.

BillTotalDiscount

string

None.

BillCollectedAmount

string

None.

BillThroughRequestOrDirect

string

None.

PatientSequenceNumber

string

None.

BillInTheNameOf

string

None.

LaboratoryTestTariffTypeCode

string

None.

ResultPriorityCode

string

None.

ConsultantCode

string

None.

TestCode

string

None.

LaboratoryTestTariff

string

None.

OnlinePaymentResponse

string

None.

PaymentTypeDetailCode

string

None.

PaymentOrderId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BillSequenceNumber": "sample string 1",
  "FacilitySequenceNumber": "sample string 2",
  "HospitalSequenceNumber": "sample string 3",
  "BranchSequenceNumber": "sample string 4",
  "BillNumber": "sample string 5",
  "BillingType": "sample string 6",
  "BillingReasonCode": "sample string 7",
  "BillDate": "sample string 8",
  "BillTotalAmount": "sample string 9",
  "BillTotalDiscount": "sample string 10",
  "BillCollectedAmount": "sample string 11",
  "BillThroughRequestOrDirect": "sample string 12",
  "PatientSequenceNumber": "sample string 13",
  "BillInTheNameOf": "sample string 14",
  "LaboratoryTestTariffTypeCode": "sample string 15",
  "ResultPriorityCode": "sample string 16",
  "ConsultantCode": "sample string 17",
  "TestCode": "sample string 18",
  "LaboratoryTestTariff": "sample string 19",
  "OnlinePaymentResponse": "sample string 20",
  "PaymentTypeDetailCode": "sample string 21",
  "PaymentOrderId": "sample string 22"
}

text/html

Sample:
{"BillSequenceNumber":"sample string 1","FacilitySequenceNumber":"sample string 2","HospitalSequenceNumber":"sample string 3","BranchSequenceNumber":"sample string 4","BillNumber":"sample string 5","BillingType":"sample string 6","BillingReasonCode":"sample string 7","BillDate":"sample string 8","BillTotalAmount":"sample string 9","BillTotalDiscount":"sample string 10","BillCollectedAmount":"sample string 11","BillThroughRequestOrDirect":"sample string 12","PatientSequenceNumber":"sample string 13","BillInTheNameOf":"sample string 14","LaboratoryTestTariffTypeCode":"sample string 15","ResultPriorityCode":"sample string 16","ConsultantCode":"sample string 17","TestCode":"sample string 18","LaboratoryTestTariff":"sample string 19","OnlinePaymentResponse":"sample string 20","PaymentTypeDetailCode":"sample string 21","PaymentOrderId":"sample string 22"}

application/xml, text/xml

Sample:
<LaboratoryBilling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models">
  <BillCollectedAmount>sample string 11</BillCollectedAmount>
  <BillDate>sample string 8</BillDate>
  <BillInTheNameOf>sample string 14</BillInTheNameOf>
  <BillNumber>sample string 5</BillNumber>
  <BillSequenceNumber>sample string 1</BillSequenceNumber>
  <BillThroughRequestOrDirect>sample string 12</BillThroughRequestOrDirect>
  <BillTotalAmount>sample string 9</BillTotalAmount>
  <BillTotalDiscount>sample string 10</BillTotalDiscount>
  <BillingReasonCode>sample string 7</BillingReasonCode>
  <BillingType>sample string 6</BillingType>
  <BranchSequenceNumber>sample string 4</BranchSequenceNumber>
  <ConsultantCode>sample string 17</ConsultantCode>
  <FacilitySequenceNumber>sample string 2</FacilitySequenceNumber>
  <HospitalSequenceNumber>sample string 3</HospitalSequenceNumber>
  <LaboratoryTestTariff>sample string 19</LaboratoryTestTariff>
  <LaboratoryTestTariffTypeCode>sample string 15</LaboratoryTestTariffTypeCode>
  <OnlinePaymentResponse>sample string 20</OnlinePaymentResponse>
  <PatientSequenceNumber>sample string 13</PatientSequenceNumber>
  <PaymentOrderId>sample string 22</PaymentOrderId>
  <PaymentTypeDetailCode>sample string 21</PaymentTypeDetailCode>
  <ResultPriorityCode>sample string 16</ResultPriorityCode>
  <TestCode>sample string 18</TestCode>
</LaboratoryBilling>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseEntity
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true
}

text/html

Sample:
{"message":"sample string 1","success":true}

application/xml, text/xml

Sample:
<BaseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models">
  <message>sample string 1</message>
  <success>true</success>
</BaseEntity>