GET api/CustomerInspections/GetAll/Inspection?inspectionID={inspectionID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| inspectionID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerComplexDTO| Name | Description | Type | Additional 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"
}
]
}
application/xml, text/xml
Sample:
<CustomerComplexDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
<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>