POST v1/Clients/{clientId}/Inspections

Creates an inspection based on the provided InspectionBaseInformation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Client identifier.

globally unique identifier

Required

Body Parameters

The inspection.

InspectionBaseInformationV1
NameDescriptionTypeAdditional information
FacilityId

The facility Id.

integer

None.

InspectionProfileId

Gets or sets Inspection Profile Id.

integer

None.

InspectorId

Gets or sets the id of the inspector assigned to this inspection.

integer

None.

InspectionDate

Gets or sets the date of the inspection.

date

None.

Request Formats

application/json, text/json

Sample:
{
  "FacilityId": 1,
  "InspectionProfileId": 2,
  "InspectorId": 3,
  "InspectionDate": "2025-05-13T08:02:17.970106+00:00"
}

application/xml, text/xml

Sample:
<InspectionBaseInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Inspection.Models">
  <FacilityId>1</FacilityId>
  <InspectionDate>2025-05-13T08:02:17.970106+00:00</InspectionDate>
  <InspectionProfileId>2</InspectionProfileId>
  <InspectorId>3</InspectorId>
</InspectionBaseInformation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A .

globally unique identifier

Response Formats

application/json, text/json

Sample:
"0f3e7a58-9233-49eb-b09f-5fc24ad4089a"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0f3e7a58-9233-49eb-b09f-5fc24ad4089a</guid>