POST api/Capture/SetCaptureFormSCB?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
The QustionList.
ClsQuestionListSCBModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Gets or sets the Id of the user. |
integer |
None. |
| QuestionText |
Gets or sets the RoomNumber of the user. |
string |
None. |
| ActionDetails |
Gets or sets the GuestName of the user. |
string |
None. |
| Location |
Gets or sets the RoomStatus of the user. |
string |
None. |
| DateOfReview |
Gets or sets the CheckOutDate. |
string |
None. |
| TargetCompletionDateandTime |
Gets or sets the CheckInDate. |
string |
None. |
| Classification |
Gets or sets the Traces. |
string |
None. |
| ControlReviewName |
Gets or sets the RoomNumber of the user. |
string |
None. |
| ReviewerBankID |
Gets or sets the GuestName of the user. |
string |
None. |
| ReviewerFirstName |
Gets or sets the RoomStatus of the user. |
string |
None. |
| ReviewerLastName |
Gets or sets the Bed of the user. |
string |
None. |
| ReviewerEmailAddress |
Gets or sets the CheckInDate. |
string |
None. |
| ActionOwnerBankID |
Gets or sets the CheckOutDate. |
string |
None. |
| ActionOwnerEmailAddress |
Gets or sets the Traces. |
string |
None. |
| ActionOwnerMangerBankID |
Gets or sets the Traces. |
string |
None. |
| ActionOwnerManagerEmailAddress |
Gets or sets the Traces. |
string |
None. |
Request Formats
application/json, text/json
{
"ID": 1,
"QuestionText": "sample string 2",
"ActionDetails": "sample string 3",
"Location": "sample string 4",
"DateOfReview": "sample string 5",
"TargetCompletionDateandTime": "sample string 6",
"Classification": "sample string 7",
"ControlReviewName": "sample string 8",
"ReviewerBankID": "sample string 9",
"ReviewerFirstName": "sample string 10",
"ReviewerLastName": "sample string 11",
"ReviewerEmailAddress": "sample string 12",
"ActionOwnerBankID": "sample string 13",
"ActionOwnerEmailAddress": "sample string 14",
"ActionOwnerMangerBankID": "sample string 15",
"ActionOwnerManagerEmailAddress": "sample string 16"
}
multipart/form-data
{"ID":1,"QuestionText":"sample string 2","ActionDetails":"sample string 3","Location":"sample string 4","DateOfReview":"sample string 5","TargetCompletionDateandTime":"sample string 6","Classification":"sample string 7","ControlReviewName":"sample string 8","ReviewerBankID":"sample string 9","ReviewerFirstName":"sample string 10","ReviewerLastName":"sample string 11","ReviewerEmailAddress":"sample string 12","ActionOwnerBankID":"sample string 13","ActionOwnerEmailAddress":"sample string 14","ActionOwnerMangerBankID":"sample string 15","ActionOwnerManagerEmailAddress":"sample string 16"}
application/xml, text/xml
<ClsQuestionListSCBModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Models"> <ActionDetails>sample string 3</ActionDetails> <ActionOwnerBankID>sample string 13</ActionOwnerBankID> <ActionOwnerEmailAddress>sample string 14</ActionOwnerEmailAddress> <ActionOwnerManagerEmailAddress>sample string 16</ActionOwnerManagerEmailAddress> <ActionOwnerMangerBankID>sample string 15</ActionOwnerMangerBankID> <Classification>sample string 7</Classification> <ControlReviewName>sample string 8</ControlReviewName> <DateOfReview>sample string 5</DateOfReview> <ID>1</ID> <Location>sample string 4</Location> <QuestionText>sample string 2</QuestionText> <ReviewerBankID>sample string 9</ReviewerBankID> <ReviewerEmailAddress>sample string 12</ReviewerEmailAddress> <ReviewerFirstName>sample string 10</ReviewerFirstName> <ReviewerLastName>sample string 11</ReviewerLastName> <TargetCompletionDateandTime>sample string 6</TargetCompletionDateandTime> </ClsQuestionListSCBModel>
application/x-www-form-urlencoded
Response Information
Resource Description
This function returns set capture.
APISCBHttpResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Gets or sets the ID. |
string |
None. |
| TicketNumber |
Gets or sets the ticketnumber. |
string |
None. |
| TicketCreationDateandTime |
Gets or sets the ticket creation date and time. |
string |
None. |
| ErrorCode |
Gets or sets the error code. |
integer |
None. |
| ErrorText |
Gets or sets the error text. |
string |
None. |
Response Formats
application/json, text/json
{
"ID": "sample string 1",
"TicketNumber": "sample string 2",
"TicketCreationDateandTime": "sample string 3",
"ErrorCode": 4,
"ErrorText": "sample string 5"
}
multipart/form-data
{"ID":"sample string 1","TicketNumber":"sample string 2","TicketCreationDateandTime":"sample string 3","ErrorCode":4,"ErrorText":"sample string 5"}
application/xml, text/xml
<APISCBHttpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Common"> <ErrorCode>4</ErrorCode> <ErrorText>sample string 5</ErrorText> <ID>sample string 1</ID> <TicketCreationDateandTime>sample string 3</TicketCreationDateandTime> <TicketNumber>sample string 2</TicketNumber> </APISCBHttpResponse>