GET Api/InspectionForm/GetByID?clientID={clientID}&id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientID | globally unique identifier |
Required |
|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
InspectionForm| Name | Description | Type | Additional information |
|---|---|---|---|
| FormID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| InspectionItem | Collection of inspection_item |
None. |
|
| Id | globally unique identifier |
None. |
|
| UserName | string |
None. |
|
| UserID | globally unique identifier |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
|
| ClientID | globally unique identifier |
None. |
|
| ClientName | string |
None. |
|
| PartnerID | globally unique identifier |
None. |
|
| PartnerName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FormID": "cf5dfd7c-ff94-45f5-8184-edffae4449c2",
"Name": "sample string 2",
"Description": "sample string 3",
"InspectionItem": [
{
"ItemID": "e9ba47bd-8e08-4843-bf45-a7a8ec9c61d8",
"Name": "sample string 2",
"ItemType": 3,
"ItemInfo": {
"Description": "sample string 1",
"Instruction": "sample string 2"
},
"ItemInfoText": "sample string 4",
"InspectionResult": {
"PassFail": {
"IsPass": true,
"IsFail": true,
"Comment": "sample string 3",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
},
"MeterEntry": {
"Odometer": 1.1,
"Comment": "sample string 2",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
},
"FreeText": {
"Comment": "sample string 1",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
},
"InsResultBaseEntity": {
"Comment": "sample string 1",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
}
},
"InspectionResultText": "sample string 5",
"IsRequired": true,
"IssueDetail": {
"IssueID": "172f7072-d522-484c-ab66-0e7fea5d440f",
"Status": 0
},
"IssueDetailText": "sample string 7"
},
{
"ItemID": "e9ba47bd-8e08-4843-bf45-a7a8ec9c61d8",
"Name": "sample string 2",
"ItemType": 3,
"ItemInfo": {
"Description": "sample string 1",
"Instruction": "sample string 2"
},
"ItemInfoText": "sample string 4",
"InspectionResult": {
"PassFail": {
"IsPass": true,
"IsFail": true,
"Comment": "sample string 3",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
},
"MeterEntry": {
"Odometer": 1.1,
"Comment": "sample string 2",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
},
"FreeText": {
"Comment": "sample string 1",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
},
"InsResultBaseEntity": {
"Comment": "sample string 1",
"Photo": {
"AttachmentID": "4aa8a812-e264-464e-a584-0108084fd187",
"AttachmentData": "QEA=",
"AttachmentDataBase64": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ImageString": "sample string 5",
"IsDeleted": true
}
}
},
"InspectionResultText": "sample string 5",
"IsRequired": true,
"IssueDetail": {
"IssueID": "172f7072-d522-484c-ab66-0e7fea5d440f",
"Status": 0
},
"IssueDetailText": "sample string 7"
}
],
"Id": "ddc0a619-00e8-40cb-a477-9f8d09fd00f6",
"UserName": "sample string 5",
"UserID": "5fe21cd3-d6b0-46bc-b6c4-8d41ce47dd85",
"CreatedBy": "sample string 7",
"CreatedOn": "2026-02-08T22:57:32.6024807+04:00",
"ClientID": "d75a202c-38ce-442b-ab14-87701c1ebc52",
"ClientName": "sample string 10",
"PartnerID": "0051df46-8c59-44a5-9c1e-b18b4bd8daad",
"PartnerName": "sample string 12"
}
application/xml, text/xml
Sample:
<InspectionForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.ServMaint">
<ClientID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d75a202c-38ce-442b-ab14-87701c1ebc52</ClientID>
<ClientName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 10</ClientName>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 7</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2026-02-08T22:57:32.6024807+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ddc0a619-00e8-40cb-a477-9f8d09fd00f6</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">0051df46-8c59-44a5-9c1e-b18b4bd8daad</PartnerID>
<PartnerName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 12</PartnerName>
<UserID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">5fe21cd3-d6b0-46bc-b6c4-8d41ce47dd85</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 5</UserName>
<Description>sample string 3</Description>
<FormID>cf5dfd7c-ff94-45f5-8184-edffae4449c2</FormID>
<InspectionItem>
<inspection_item>
<InspectionResult>
<FreeText>
<Comment>sample string 1</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
</FreeText>
<InsResultBaseEntity>
<Comment>sample string 1</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
</InsResultBaseEntity>
<MeterEntry>
<Comment>sample string 2</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
<Odometer>1.1</Odometer>
</MeterEntry>
<PassFail>
<Comment>sample string 3</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
<IsFail>true</IsFail>
<IsPass>true</IsPass>
</PassFail>
</InspectionResult>
<InspectionResultText>sample string 5</InspectionResultText>
<IsRequired>true</IsRequired>
<IssueDetail>
<IssueID>172f7072-d522-484c-ab66-0e7fea5d440f</IssueID>
<Status>None</Status>
</IssueDetail>
<IssueDetailText>sample string 7</IssueDetailText>
<ItemID>e9ba47bd-8e08-4843-bf45-a7a8ec9c61d8</ItemID>
<ItemInfo>
<Description>sample string 1</Description>
<Instruction>sample string 2</Instruction>
</ItemInfo>
<ItemInfoText>sample string 4</ItemInfoText>
<ItemType>3</ItemType>
<Name>sample string 2</Name>
</inspection_item>
<inspection_item>
<InspectionResult>
<FreeText>
<Comment>sample string 1</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
</FreeText>
<InsResultBaseEntity>
<Comment>sample string 1</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
</InsResultBaseEntity>
<MeterEntry>
<Comment>sample string 2</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
<Odometer>1.1</Odometer>
</MeterEntry>
<PassFail>
<Comment>sample string 3</Comment>
<Photo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d6p1:AttachmentData>QEA=</d6p1:AttachmentData>
<d6p1:AttachmentDataBase64>sample string 2</d6p1:AttachmentDataBase64>
<d6p1:AttachmentID>4aa8a812-e264-464e-a584-0108084fd187</d6p1:AttachmentID>
<d6p1:ContentType>sample string 3</d6p1:ContentType>
<d6p1:FileName>sample string 4</d6p1:FileName>
<d6p1:ImageString>sample string 5</d6p1:ImageString>
<d6p1:IsDeleted>true</d6p1:IsDeleted>
</Photo>
<IsFail>true</IsFail>
<IsPass>true</IsPass>
</PassFail>
</InspectionResult>
<InspectionResultText>sample string 5</InspectionResultText>
<IsRequired>true</IsRequired>
<IssueDetail>
<IssueID>172f7072-d522-484c-ab66-0e7fea5d440f</IssueID>
<Status>None</Status>
</IssueDetail>
<IssueDetailText>sample string 7</IssueDetailText>
<ItemID>e9ba47bd-8e08-4843-bf45-a7a8ec9c61d8</ItemID>
<ItemInfo>
<Description>sample string 1</Description>
<Instruction>sample string 2</Instruction>
</ItemInfo>
<ItemInfoText>sample string 4</ItemInfoText>
<ItemType>3</ItemType>
<Name>sample string 2</Name>
</inspection_item>
</InspectionItem>
<Name>sample string 2</Name>
</InspectionForm>