POST api/Capture/SetCapture?merchantkey={merchantkey}
Sets the capture. [ { "FormDataId": 1, "EstablishmentId": 11650, "CaptureId": 330, "CaptureTitle": "Parsana Gym Capture Form", "ContactMasterId": 23630, "IsContactGroup": false, "Latitude": "23.033274", "Longitude": "72.570590", "CaptureQuestions": [ { "QuestionId": 5298, "QuestionTypeId": 4, "QuestionTitle": "Name", "QuestionsOptions": [], "Required": false, "Answer": "Sunil Vaghasiya" } ] } ] Upload any attachments file name with 'FormDataId'_'CaptureId'_'QuestionId'_'FileName' format.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
merchantkey |
The merchantkey. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
This function returns set capture.
APIHttpResponseName | 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
{ "Status": "sample string 1", "ErrorText": "sample string 2", "ErrorCode": 3 }
multipart/form-data
{"Status":"sample string 1","ErrorText":"sample string 2","ErrorCode":3}
application/xml, text/xml
<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>