POST api/admin/billing/RefundPaymentDoctor

Request Information

URI Parameters

None.

Body Parameters

RefundPaymentDoctorBindingModel
NameDescriptionTypeAdditional information
PaymentId

integer

None.

Comment

string

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentId": 1,
  "comment": "sample string 2",
  "amount": 3.0
}

text/html

Sample:
{"paymentId":1,"comment":"sample string 2","amount":3.0}

application/xml, text/xml

Sample:
<RefundPaymentDoctorBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ps.BusinessObjects.BindingModels.Doctors">
  <Amount>3</Amount>
  <Comment>sample string 2</Comment>
  <PaymentId>1</PaymentId>
</RefundPaymentDoctorBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataActionResponse
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccessful": true,
  "errorMessage": "sample string 2",
  "data": {}
}

text/html

Sample:
{"isSuccessful":true,"errorMessage":"sample string 2","data":{}}

application/xml, text/xml

Sample:
<DataActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ps.CoreUtilities.Framework.Exceptions">
  <Data />
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</DataActionResponse>