POST api/HGInspections/SubmitInspectionDetails
It is used to trigger the submit inspection procedure after completion of image upload procedure.
Request Information
URI Parameters
None.
Body Parameters
BatchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BatchID |
It represents the batchid |
string |
None. |
| OrderID |
It represents the orderid |
integer |
None. |
Request Formats
application/json
Sample:
{
"OrderID": 2,
"BatchID": "sample string 1"
}
application/xml, text/xml
Sample:
<BatchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.Models"> <BatchID>sample string 1</BatchID> <OrderID>2</OrderID> </BatchModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
It is used to trigger the submit inspection procedure after completion of image upload procedure.
InspectionStatusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
It represents the status of current API call. status can be either "success" or "failed" |
string |
None. |
| Message |
It represents the some description about the API response. |
string |
None. |
| ReportGenerationStatus |
It represents the Report Generation Status |
integer |
None. |
| StatusID |
It represents the status of inspection |
integer |
None. |
Response Formats
application/json
Sample:
{
"StatusID": 1,
"ReportGenerationStatus": 1,
"Message": "sample string 2",
"Status": "sample string 1"
}
application/xml, text/xml
Sample:
<InspectionStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.Models"> <Message>sample string 2</Message> <ReportGenerationStatus>1</ReportGenerationStatus> <Status>sample string 1</Status> <StatusID>1</StatusID> </InspectionStatusModel>