DELETE api/attorneys/{userId}/referrers/{referrerId}/payments/{paymentId}
Use this method to delete a refund or referral payment to a referral attorney.
Requires Authorization!
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
Id of the attorney (main) |
integer |
Required |
referrerId |
Id of the referral attorney |
integer |
Required |
paymentId |
Id of payment record to delete |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Payment response model
PaymentResponseModelName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "errorMessage": "sample string 2" }
text/html
Sample:
{"isSuccess":true,"errorMessage":"sample string 2"}
application/xml, text/xml
Sample:
<PaymentResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.ReferrerBinding"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccess>true</IsSuccess> </PaymentResponseModel>