GET api/CustomerInspections/getByVenueID?venueID={venueID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
venueID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerComplexDTO
NameDescriptionTypeAdditional information
CustomerInspection

CustomerInspectionDTO

None.

CustomerInspectionItems

Collection of CustomerInspectionItemsDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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"
      }
    ]
  },
  {
    "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"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerComplexDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <CustomerComplexDTO>
    <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>
  </CustomerComplexDTO>
  <CustomerComplexDTO>
    <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>
  </CustomerComplexDTO>
</ArrayOfCustomerComplexDTO>