GET api/Capture/SetCaptureStatus?merchantkey={merchantkey}&captureId={captureId}&EstablishmentStatusId={EstablishmentStatusId}
Sets the status of the capture form.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| merchantkey |
The merchantkey. |
string |
Required |
| captureId | string |
Required |
|
| EstablishmentStatusId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
This function returns get capture.
APIHttpResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
Gets or sets the status. |
string |
None. |
| ErrorText |
Gets or sets the error text. |
string |
None. |
| ErrorCode |
Gets or sets the error code. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"ErrorText": "sample string 2",
"ErrorCode": 3
}
multipart/form-data
Sample:
{"Status":"sample string 1","ErrorText":"sample string 2","ErrorCode":3}
application/xml, text/xml
Sample:
<APIHttpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Common"> <ErrorCode>3</ErrorCode> <ErrorText>sample string 2</ErrorText> <Status>sample string 1</Status> </APIHttpResponse>