POST api/Patients/Payment
Request Information
URI Parameters
None.
Body Parameters
PaymentModelName | Description | Type | Additional information |
---|---|---|---|
orderId | globally unique identifier |
Required |
|
amount | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "orderId": "f938951f-c780-4f1c-9ac7-b0f94e9b1649", "amount": 2 }
application/xml, text/xml
Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.UI.Models"> <amount>2</amount> <orderId>f938951f-c780-4f1c-9ac7-b0f94e9b1649</orderId> </PaymentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |