GET v1/Clients/{clientId}/InspectionProfiles?facilityId={facilityId}

Gets all active Inspection Profiles for the given facility.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Client identifier.

globally unique identifier

Required

facilityId

Facility identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list.

Collection of InspectionProfileV1
NameDescriptionTypeAdditional information
Id

The inspection profile Id.

integer

None.

Name

The inspection profile name.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInspectionProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Inspection.Models">
  <InspectionProfile>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </InspectionProfile>
  <InspectionProfile>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </InspectionProfile>
</ArrayOfInspectionProfile>