GET api/SupervisorInspectionTX/GetAllComplex

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Custom_SupervisorTaskDTO
NameDescriptionTypeAdditional information
SupervisorAllocatedInspections

SupervisorAllocatedInspectionDTO

None.

SupervisorInspectionTx

Collection of SupervisorInspectionTxDTO

None.

CompletedCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SupervisorAllocatedInspections": {
      "ID": 1,
      "Reference": "sample string 2",
      "Date": "2024-12-28T08:38:06.0473079+02:00",
      "SystemUserID": 4,
      "CustomerInspectionID": 5,
      "CustomerVenueID": 6,
      "UID": 7
    },
    "SupervisorInspectionTx": [
      {
        "ID": 1,
        "SupervisorAllocatedInspectionID": 2,
        "CustomerInspectionItemID": 3,
        "Image": "QEA=",
        "FilePath": "sample string 4",
        "Date": "2024-12-28T08:38:06.0483094+02:00",
        "Comments": "sample string 6",
        "Completed": true,
        "TotalJobsComplete": 8,
        "TotalComplete": 9,
        "TotalIncomplete": 10
      },
      {
        "ID": 1,
        "SupervisorAllocatedInspectionID": 2,
        "CustomerInspectionItemID": 3,
        "Image": "QEA=",
        "FilePath": "sample string 4",
        "Date": "2024-12-28T08:38:06.0483094+02:00",
        "Comments": "sample string 6",
        "Completed": true,
        "TotalJobsComplete": 8,
        "TotalComplete": 9,
        "TotalIncomplete": 10
      }
    ],
    "CompletedCount": 1
  },
  {
    "SupervisorAllocatedInspections": {
      "ID": 1,
      "Reference": "sample string 2",
      "Date": "2024-12-28T08:38:06.0473079+02:00",
      "SystemUserID": 4,
      "CustomerInspectionID": 5,
      "CustomerVenueID": 6,
      "UID": 7
    },
    "SupervisorInspectionTx": [
      {
        "ID": 1,
        "SupervisorAllocatedInspectionID": 2,
        "CustomerInspectionItemID": 3,
        "Image": "QEA=",
        "FilePath": "sample string 4",
        "Date": "2024-12-28T08:38:06.0483094+02:00",
        "Comments": "sample string 6",
        "Completed": true,
        "TotalJobsComplete": 8,
        "TotalComplete": 9,
        "TotalIncomplete": 10
      },
      {
        "ID": 1,
        "SupervisorAllocatedInspectionID": 2,
        "CustomerInspectionItemID": 3,
        "Image": "QEA=",
        "FilePath": "sample string 4",
        "Date": "2024-12-28T08:38:06.0483094+02:00",
        "Comments": "sample string 6",
        "Completed": true,
        "TotalJobsComplete": 8,
        "TotalComplete": 9,
        "TotalIncomplete": 10
      }
    ],
    "CompletedCount": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustom_SupervisorTaskDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO.Custom">
  <Custom_SupervisorTaskDTO>
    <CompletedCount>1</CompletedCount>
    <SupervisorAllocatedInspections xmlns:d3p1="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
      <d3p1:CustomerInspectionID>5</d3p1:CustomerInspectionID>
      <d3p1:CustomerVenueID>6</d3p1:CustomerVenueID>
      <d3p1:Date>2024-12-28T08:38:06.0473079+02:00</d3p1:Date>
      <d3p1:ID>1</d3p1:ID>
      <d3p1:Reference>sample string 2</d3p1:Reference>
      <d3p1:SystemUserID>4</d3p1:SystemUserID>
      <d3p1:UID>7</d3p1:UID>
    </SupervisorAllocatedInspections>
    <SupervisorInspectionTx xmlns:d3p1="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
      <d3p1:SupervisorInspectionTxDTO>
        <d3p1:Comments>sample string 6</d3p1:Comments>
        <d3p1:Completed>true</d3p1:Completed>
        <d3p1:CustomerInspectionItemID>3</d3p1:CustomerInspectionItemID>
        <d3p1:Date>2024-12-28T08:38:06.0483094+02:00</d3p1:Date>
        <d3p1:FilePath>sample string 4</d3p1:FilePath>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Image>QEA=</d3p1:Image>
        <d3p1:SupervisorAllocatedInspectionID>2</d3p1:SupervisorAllocatedInspectionID>
        <d3p1:TotalComplete>9</d3p1:TotalComplete>
        <d3p1:TotalIncomplete>10</d3p1:TotalIncomplete>
        <d3p1:TotalJobsComplete>8</d3p1:TotalJobsComplete>
      </d3p1:SupervisorInspectionTxDTO>
      <d3p1:SupervisorInspectionTxDTO>
        <d3p1:Comments>sample string 6</d3p1:Comments>
        <d3p1:Completed>true</d3p1:Completed>
        <d3p1:CustomerInspectionItemID>3</d3p1:CustomerInspectionItemID>
        <d3p1:Date>2024-12-28T08:38:06.0483094+02:00</d3p1:Date>
        <d3p1:FilePath>sample string 4</d3p1:FilePath>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Image>QEA=</d3p1:Image>
        <d3p1:SupervisorAllocatedInspectionID>2</d3p1:SupervisorAllocatedInspectionID>
        <d3p1:TotalComplete>9</d3p1:TotalComplete>
        <d3p1:TotalIncomplete>10</d3p1:TotalIncomplete>
        <d3p1:TotalJobsComplete>8</d3p1:TotalJobsComplete>
      </d3p1:SupervisorInspectionTxDTO>
    </SupervisorInspectionTx>
  </Custom_SupervisorTaskDTO>
  <Custom_SupervisorTaskDTO>
    <CompletedCount>1</CompletedCount>
    <SupervisorAllocatedInspections xmlns:d3p1="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
      <d3p1:CustomerInspectionID>5</d3p1:CustomerInspectionID>
      <d3p1:CustomerVenueID>6</d3p1:CustomerVenueID>
      <d3p1:Date>2024-12-28T08:38:06.0473079+02:00</d3p1:Date>
      <d3p1:ID>1</d3p1:ID>
      <d3p1:Reference>sample string 2</d3p1:Reference>
      <d3p1:SystemUserID>4</d3p1:SystemUserID>
      <d3p1:UID>7</d3p1:UID>
    </SupervisorAllocatedInspections>
    <SupervisorInspectionTx xmlns:d3p1="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
      <d3p1:SupervisorInspectionTxDTO>
        <d3p1:Comments>sample string 6</d3p1:Comments>
        <d3p1:Completed>true</d3p1:Completed>
        <d3p1:CustomerInspectionItemID>3</d3p1:CustomerInspectionItemID>
        <d3p1:Date>2024-12-28T08:38:06.0483094+02:00</d3p1:Date>
        <d3p1:FilePath>sample string 4</d3p1:FilePath>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Image>QEA=</d3p1:Image>
        <d3p1:SupervisorAllocatedInspectionID>2</d3p1:SupervisorAllocatedInspectionID>
        <d3p1:TotalComplete>9</d3p1:TotalComplete>
        <d3p1:TotalIncomplete>10</d3p1:TotalIncomplete>
        <d3p1:TotalJobsComplete>8</d3p1:TotalJobsComplete>
      </d3p1:SupervisorInspectionTxDTO>
      <d3p1:SupervisorInspectionTxDTO>
        <d3p1:Comments>sample string 6</d3p1:Comments>
        <d3p1:Completed>true</d3p1:Completed>
        <d3p1:CustomerInspectionItemID>3</d3p1:CustomerInspectionItemID>
        <d3p1:Date>2024-12-28T08:38:06.0483094+02:00</d3p1:Date>
        <d3p1:FilePath>sample string 4</d3p1:FilePath>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Image>QEA=</d3p1:Image>
        <d3p1:SupervisorAllocatedInspectionID>2</d3p1:SupervisorAllocatedInspectionID>
        <d3p1:TotalComplete>9</d3p1:TotalComplete>
        <d3p1:TotalIncomplete>10</d3p1:TotalIncomplete>
        <d3p1:TotalJobsComplete>8</d3p1:TotalJobsComplete>
      </d3p1:SupervisorInspectionTxDTO>
    </SupervisorInspectionTx>
  </Custom_SupervisorTaskDTO>
</ArrayOfCustom_SupervisorTaskDTO>