POST api/PatientApp/CreateInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceCreateInputParamsName | Description | Type | Additional information |
---|---|---|---|
FacilityCode | string |
Required |
|
RegistrationNo | string |
Required |
|
DoctorId | integer |
Required |
|
AppointmentId | integer |
None. |
|
AppointmentRefNo | string |
Required |
|
xmlOrderServices | Collection of IFSServiceOrder |
Required |
|
xmlPaymentDetail | Collection of IFSPaymentDetail |
Required |
Request Formats
application/json, text/json
Sample:
{ "FacilityCode": "sample string 1", "RegistrationNo": "sample string 2", "DoctorId": 3, "AppointmentId": 4, "AppointmentRefNo": "sample string 5", "xmlOrderServices": [ { "ServiceId": 1, "ServiceType": "sample string 2", "ServiceAmount": "sample string 3" }, { "ServiceId": 1, "ServiceType": "sample string 2", "ServiceAmount": "sample string 3" } ], "xmlPaymentDetail": [ { "Amount": "sample string 1", "ModeId": "sample string 2", "ModeNo": "sample string 3", "ModeDate": "sample string 4", "Description": "sample string 5" }, { "Amount": "sample string 1", "ModeId": "sample string 2", "ModeNo": "sample string 3", "ModeDate": "sample string 4", "Description": "sample string 5" } ] }
application/xml, text/xml
Sample:
<InvoiceCreateInputParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService"> <AppointmentId>4</AppointmentId> <AppointmentRefNo>sample string 5</AppointmentRefNo> <DoctorId>3</DoctorId> <FacilityCode>sample string 1</FacilityCode> <RegistrationNo>sample string 2</RegistrationNo> <xmlOrderServices> <IFSServiceOrder> <ServiceAmount>sample string 3</ServiceAmount> <ServiceId>1</ServiceId> <ServiceType>sample string 2</ServiceType> </IFSServiceOrder> <IFSServiceOrder> <ServiceAmount>sample string 3</ServiceAmount> <ServiceId>1</ServiceId> <ServiceType>sample string 2</ServiceType> </IFSServiceOrder> </xmlOrderServices> <xmlPaymentDetail> <IFSPaymentDetail> <Amount>sample string 1</Amount> <Description>sample string 5</Description> <ModeDate>sample string 4</ModeDate> <ModeId>sample string 2</ModeId> <ModeNo>sample string 3</ModeNo> </IFSPaymentDetail> <IFSPaymentDetail> <Amount>sample string 1</Amount> <Description>sample string 5</Description> <ModeDate>sample string 4</ModeDate> <ModeId>sample string 2</ModeId> <ModeNo>sample string 3</ModeNo> </IFSPaymentDetail> </xmlPaymentDetail> </InvoiceCreateInputParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.