POST api/PatientApp/SavePatientPaymentDetails

Request Information

URI Parameters

None.

Body Parameters

PatientPaymentDetailsInput
NameDescriptionTypeAdditional information
TransactionNo

string

None.

RegistrationId

integer

None.

AppointmentId

integer

None.

FacilityId

integer

None.

ServiceId

integer

None.

Amount

string

None.

DoctorId

integer

None.

CompanyId

integer

None.

SessionKey

string

None.

PaymentType

boolean

None.

Remarks

string

None.

PaymentBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionNo": "sample string 1",
  "RegistrationId": 2,
  "AppointmentId": 3,
  "FacilityId": 4,
  "ServiceId": 5,
  "Amount": "sample string 6",
  "DoctorId": 7,
  "CompanyId": 8,
  "SessionKey": "sample string 9",
  "PaymentType": true,
  "Remarks": "sample string 11",
  "PaymentBy": "sample string 12"
}

application/xml, text/xml

Sample:
<PatientPaymentDetailsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
  <Amount>sample string 6</Amount>
  <AppointmentId>3</AppointmentId>
  <CompanyId>8</CompanyId>
  <DoctorId>7</DoctorId>
  <FacilityId>4</FacilityId>
  <PaymentBy>sample string 12</PaymentBy>
  <PaymentType>true</PaymentType>
  <RegistrationId>2</RegistrationId>
  <Remarks>sample string 11</Remarks>
  <ServiceId>5</ServiceId>
  <SessionKey>sample string 9</SessionKey>
  <TransactionNo>sample string 1</TransactionNo>
</PatientPaymentDetailsInput>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.