GET api/SQLReporting/SupervisorTasks/Summary?venueID={venueID}&startDate={startDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
venueID

integer

Required

startDate

date

Required

endDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SupervisorAllocateInspectionComplexDTO
NameDescriptionTypeAdditional information
SupervisorAllocatedInspection

SupervisorAllocatedInspectionDTO

None.

CustomerInspection

CustomerInspectionDTO

None.

CustomerInspectionItems

Collection of CustomerInspectionItemsDTO

None.

TotalComplete

integer

None.

TotalIncomplete

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SupervisorAllocatedInspection": {
      "ID": 1,
      "Reference": "sample string 2",
      "Date": "2024-12-28T09:01:22.9802026+02:00",
      "SystemUserID": 4,
      "CustomerInspectionID": 5,
      "CustomerVenueID": 6,
      "UID": 7
    },
    "CustomerInspection": {
      "ID": 1,
      "CustomerID": 2,
      "CustomerVenueID": 3,
      "Name": "sample string 4"
    },
    "CustomerInspectionItems": [
      {
        "ID": 1,
        "CustomerInspectionID": 2,
        "Name": "sample string 3"
      },
      {
        "ID": 1,
        "CustomerInspectionID": 2,
        "Name": "sample string 3"
      }
    ],
    "TotalComplete": 1,
    "TotalIncomplete": 2
  },
  {
    "SupervisorAllocatedInspection": {
      "ID": 1,
      "Reference": "sample string 2",
      "Date": "2024-12-28T09:01:22.9802026+02:00",
      "SystemUserID": 4,
      "CustomerInspectionID": 5,
      "CustomerVenueID": 6,
      "UID": 7
    },
    "CustomerInspection": {
      "ID": 1,
      "CustomerID": 2,
      "CustomerVenueID": 3,
      "Name": "sample string 4"
    },
    "CustomerInspectionItems": [
      {
        "ID": 1,
        "CustomerInspectionID": 2,
        "Name": "sample string 3"
      },
      {
        "ID": 1,
        "CustomerInspectionID": 2,
        "Name": "sample string 3"
      }
    ],
    "TotalComplete": 1,
    "TotalIncomplete": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfSupervisorAllocateInspectionComplexDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <SupervisorAllocateInspectionComplexDTO>
    <CustomerInspection>
      <CustomerID>2</CustomerID>
      <CustomerVenueID>3</CustomerVenueID>
      <ID>1</ID>
      <Name>sample string 4</Name>
    </CustomerInspection>
    <CustomerInspectionItems>
      <CustomerInspectionItemsDTO>
        <CustomerInspectionID>2</CustomerInspectionID>
        <ID>1</ID>
        <Name>sample string 3</Name>
      </CustomerInspectionItemsDTO>
      <CustomerInspectionItemsDTO>
        <CustomerInspectionID>2</CustomerInspectionID>
        <ID>1</ID>
        <Name>sample string 3</Name>
      </CustomerInspectionItemsDTO>
    </CustomerInspectionItems>
    <SupervisorAllocatedInspection>
      <CustomerInspectionID>5</CustomerInspectionID>
      <CustomerVenueID>6</CustomerVenueID>
      <Date>2024-12-28T09:01:22.9802026+02:00</Date>
      <ID>1</ID>
      <Reference>sample string 2</Reference>
      <SystemUserID>4</SystemUserID>
      <UID>7</UID>
    </SupervisorAllocatedInspection>
    <TotalComplete>1</TotalComplete>
    <TotalIncomplete>2</TotalIncomplete>
  </SupervisorAllocateInspectionComplexDTO>
  <SupervisorAllocateInspectionComplexDTO>
    <CustomerInspection>
      <CustomerID>2</CustomerID>
      <CustomerVenueID>3</CustomerVenueID>
      <ID>1</ID>
      <Name>sample string 4</Name>
    </CustomerInspection>
    <CustomerInspectionItems>
      <CustomerInspectionItemsDTO>
        <CustomerInspectionID>2</CustomerInspectionID>
        <ID>1</ID>
        <Name>sample string 3</Name>
      </CustomerInspectionItemsDTO>
      <CustomerInspectionItemsDTO>
        <CustomerInspectionID>2</CustomerInspectionID>
        <ID>1</ID>
        <Name>sample string 3</Name>
      </CustomerInspectionItemsDTO>
    </CustomerInspectionItems>
    <SupervisorAllocatedInspection>
      <CustomerInspectionID>5</CustomerInspectionID>
      <CustomerVenueID>6</CustomerVenueID>
      <Date>2024-12-28T09:01:22.9802026+02:00</Date>
      <ID>1</ID>
      <Reference>sample string 2</Reference>
      <SystemUserID>4</SystemUserID>
      <UID>7</UID>
    </SupervisorAllocatedInspection>
    <TotalComplete>1</TotalComplete>
    <TotalIncomplete>2</TotalIncomplete>
  </SupervisorAllocateInspectionComplexDTO>
</ArrayOfSupervisorAllocateInspectionComplexDTO>