GET api/SQLReporting/TotalOpsInspectionTasks?venueID={venueID}&startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
venueID | integer |
Required |
|
startDate | date |
Required |
|
endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OpsInspectionTxDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
OpsManagerTaskGroupID | integer |
None. |
|
VisitedCustomer | boolean |
None. |
|
Type | OpsTransactionType |
None. |
|
CustomerInspectionID | integer |
None. |
|
CustomerComments | string |
None. |
|
OpsComments | string |
None. |
|
DateTime | date |
None. |
|
OpsRating | integer |
None. |
|
CustomerRating | boolean |
None. |
|
OpsManagerAssessmentAllocationID | integer |
None. |
|
OpsInspectionImages | Collection of OpsInspectionImageDTO |
None. |
|
Images | Collection of Collection of byte |
None. |
|
TotalCustomerVisits | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "OpsManagerTaskGroupID": 1, "VisitedCustomer": true, "Type": 1, "CustomerInspectionID": 1, "CustomerComments": "sample string 3", "OpsComments": "sample string 4", "DateTime": "2024-12-28T09:03:17.4254028+02:00", "OpsRating": 1, "CustomerRating": true, "OpsManagerAssessmentAllocationID": 1, "OpsInspectionImages": [ { "ID": 1, "OpsInspectionTxID": 2, "FilePath": "sample string 3", "Image": "QEA=" }, { "ID": 1, "OpsInspectionTxID": 2, "FilePath": "sample string 3", "Image": "QEA=" } ], "Images": [ "QEA=", "QEA=" ], "TotalCustomerVisits": 7 }, { "ID": 1, "OpsManagerTaskGroupID": 1, "VisitedCustomer": true, "Type": 1, "CustomerInspectionID": 1, "CustomerComments": "sample string 3", "OpsComments": "sample string 4", "DateTime": "2024-12-28T09:03:17.4254028+02:00", "OpsRating": 1, "CustomerRating": true, "OpsManagerAssessmentAllocationID": 1, "OpsInspectionImages": [ { "ID": 1, "OpsInspectionTxID": 2, "FilePath": "sample string 3", "Image": "QEA=" }, { "ID": 1, "OpsInspectionTxID": 2, "FilePath": "sample string 3", "Image": "QEA=" } ], "Images": [ "QEA=", "QEA=" ], "TotalCustomerVisits": 7 } ]
application/xml, text/xml
Sample:
<ArrayOfOpsInspectionTxDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <OpsInspectionTxDTO> <CustomerComments>sample string 3</CustomerComments> <CustomerInspectionID>1</CustomerInspectionID> <CustomerRating>true</CustomerRating> <DateTime>2024-12-28T09:03:17.4254028+02:00</DateTime> <ID>1</ID> <Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:base64Binary>QEA=</d3p1:base64Binary> <d3p1:base64Binary>QEA=</d3p1:base64Binary> </Images> <OpsComments>sample string 4</OpsComments> <OpsInspectionImages> <OpsInspectionImageDTO> <FilePath>sample string 3</FilePath> <ID>1</ID> <Image>QEA=</Image> <OpsInspectionTxID>2</OpsInspectionTxID> </OpsInspectionImageDTO> <OpsInspectionImageDTO> <FilePath>sample string 3</FilePath> <ID>1</ID> <Image>QEA=</Image> <OpsInspectionTxID>2</OpsInspectionTxID> </OpsInspectionImageDTO> </OpsInspectionImages> <OpsManagerAssessmentAllocationID>1</OpsManagerAssessmentAllocationID> <OpsManagerTaskGroupID>1</OpsManagerTaskGroupID> <OpsRating>1</OpsRating> <TotalCustomerVisits>7</TotalCustomerVisits> <Type>CustomerVisited</Type> <VisitedCustomer>true</VisitedCustomer> </OpsInspectionTxDTO> <OpsInspectionTxDTO> <CustomerComments>sample string 3</CustomerComments> <CustomerInspectionID>1</CustomerInspectionID> <CustomerRating>true</CustomerRating> <DateTime>2024-12-28T09:03:17.4254028+02:00</DateTime> <ID>1</ID> <Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:base64Binary>QEA=</d3p1:base64Binary> <d3p1:base64Binary>QEA=</d3p1:base64Binary> </Images> <OpsComments>sample string 4</OpsComments> <OpsInspectionImages> <OpsInspectionImageDTO> <FilePath>sample string 3</FilePath> <ID>1</ID> <Image>QEA=</Image> <OpsInspectionTxID>2</OpsInspectionTxID> </OpsInspectionImageDTO> <OpsInspectionImageDTO> <FilePath>sample string 3</FilePath> <ID>1</ID> <Image>QEA=</Image> <OpsInspectionTxID>2</OpsInspectionTxID> </OpsInspectionImageDTO> </OpsInspectionImages> <OpsManagerAssessmentAllocationID>1</OpsManagerAssessmentAllocationID> <OpsManagerTaskGroupID>1</OpsManagerTaskGroupID> <OpsRating>1</OpsRating> <TotalCustomerVisits>7</TotalCustomerVisits> <Type>CustomerVisited</Type> <VisitedCustomer>true</VisitedCustomer> </OpsInspectionTxDTO> </ArrayOfOpsInspectionTxDTO>