POST api/PatientApp/CreateRefund

Request Information

URI Parameters

None.

Body Parameters

RefundCreateInputParams
NameDescriptionTypeAdditional information
FacilityId

integer

Required

RegistrationId

integer

Required

Amount

decimal number

Required

InvoiceId

integer

None.

AppointmentId

integer

None.

ReceiptId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FacilityId": 1,
  "RegistrationId": 2,
  "Amount": 3.1,
  "InvoiceId": 4,
  "AppointmentId": 5,
  "ReceiptId": 6
}

application/xml, text/xml

Sample:
<RefundCreateInputParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
  <Amount>3.1</Amount>
  <AppointmentId>5</AppointmentId>
  <FacilityId>1</FacilityId>
  <InvoiceId>4</InvoiceId>
  <ReceiptId>6</ReceiptId>
  <RegistrationId>2</RegistrationId>
</RefundCreateInputParams>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.