POST v1/Clients/{clientId}/Inspections/{inspectionId}/SourceDetails
Save details about the inspection's source.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId |
Client identifier. |
globally unique identifier |
Required |
inspectionId |
Inspection identifier. |
integer |
Required |
Body Parameters
The inspection source details.
InspectionSourceDetailsV1Name | Description | Type | Additional information |
---|---|---|---|
InspectionId |
The inspection Id. |
integer |
None. |
InspectionProfileId |
The inspection profile Id. |
integer |
None. |
ClientId |
The client Id. |
globally unique identifier |
None. |
InspectorId |
The inspector Id. |
integer |
None. |
InspectionStatus |
The inspection status Id. |
InspectionStatusV1 |
None. |
CustomStatus |
The custom status Id. |
Collection of InspectionCustomStatusV1 |
None. |
InspectionDevice |
The inspection device. |
InspectionDeviceV1 |
None. |
InspectionAppVersion |
The app version. |
string |
None. |
DateTimeUpdatedUtc |
The time stamp in UTC. |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "InspectionId": 1, "InspectionProfileId": 2, "ClientId": "0ae504b6-53f6-48ed-8c08-b6cdb6564de1", "InspectorId": 4, "InspectionStatus": 0, "CustomStatus": [ { "Id": 1, "Name": "sample string 2", "IsSelected": true }, { "Id": 1, "Name": "sample string 2", "IsSelected": true } ], "InspectionDevice": { "DeviceModel": "sample string 1", "DeviceManufacturer": "sample string 2", "DeviceName": "sample string 3", "DeviceVersion": "sample string 4", "DevicePlatform": "sample string 5", "DeviceIdiom": "sample string 6", "DeviceType": "sample string 7" }, "InspectionAppVersion": "sample string 5", "DateTimeUpdatedUtc": "2025-05-13T08:25:17.8218196+00:00" }
application/xml, text/xml
Sample:
<InspectionSourceDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Inspection.Models"> <ClientId>0ae504b6-53f6-48ed-8c08-b6cdb6564de1</ClientId> <CustomStatus> <InspectionCustomStatus> <Id>1</Id> <IsSelected>true</IsSelected> <Name>sample string 2</Name> </InspectionCustomStatus> <InspectionCustomStatus> <Id>1</Id> <IsSelected>true</IsSelected> <Name>sample string 2</Name> </InspectionCustomStatus> </CustomStatus> <DateTimeUpdatedUtc xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-05-13T08:25:17.8218196Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </DateTimeUpdatedUtc> <InspectionAppVersion>sample string 5</InspectionAppVersion> <InspectionDevice> <DeviceIdiom>sample string 6</DeviceIdiom> <DeviceManufacturer>sample string 2</DeviceManufacturer> <DeviceModel>sample string 1</DeviceModel> <DeviceName>sample string 3</DeviceName> <DevicePlatform>sample string 5</DevicePlatform> <DeviceType>sample string 7</DeviceType> <DeviceVersion>sample string 4</DeviceVersion> </InspectionDevice> <InspectionId>1</InspectionId> <InspectionProfileId>2</InspectionProfileId> <InspectionStatus>Open</InspectionStatus> <InspectorId>4</InspectorId> </InspectionSourceDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
An .
OperationStatusV1Name | Description | Type | Additional information |
---|---|---|---|
Success |
A value indicating whether the operation was successful. |
boolean |
None. |
Error |
The error message associated with the operation when Success is false. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": "" }
application/xml, text/xml
Sample:
<OperationStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models"> <Error></Error> <Success>true</Success> </OperationStatus>