POST api/Bonus/Check/UnVoid
This API will allow the user to un-void a paid check by providing the check number and Rep associated to the check or by submitting just the payout transaction ID, which is a unique identifier for each paid check (payout transaction). Additional, the function will reset the check back to the original amount when the un-void process is completed.
Request Information
URI Parameters
None.
Body Parameters
List of CheckInputViewModel
CheckInputViewModelName | Description | Type | Additional information |
---|---|---|---|
CheckNumber |
The Check Number that user wants to void. To be used with RepDID. |
integer |
None. |
RepDID |
The RepDID associated with the Check Number provided. To be used with CheckNumber. |
string |
None. |
Amount | decimal number |
None. |
|
TransactionId | integer |
None. |
Request Formats
application/xml, text/xml
Sample:
<CheckInputViewModel> <CheckNumber>1</CheckNumber> <RepID>1</RepID> <RepDID>sample string 2</RepDID> <Amount>1</Amount> <TransactionId>3</TransactionId> <Message>sample string 4</Message> </CheckInputViewModel>
application/json, text/json
Sample:
{ "CheckNumber": 1, "RepDID": "sample string 2", "Amount": 1.0, "TransactionId": 3 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Success or Error message
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.