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
InspectionFormName | 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": "4cda8339-9be8-471b-9a9d-d9aff395704a", "Name": "sample string 2", "Description": "sample string 3", "InspectionItem": [ { "ItemID": "7f6f71d6-4026-45ea-8f73-9fbce1baf61c", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "e429a83b-4fb8-4c0d-9d35-432f7342fe2d", "Status": 0 }, "IssueDetailText": "sample string 7" }, { "ItemID": "7f6f71d6-4026-45ea-8f73-9fbce1baf61c", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "b022916e-9f51-473f-bfe3-e933e10026c7", "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": "e429a83b-4fb8-4c0d-9d35-432f7342fe2d", "Status": 0 }, "IssueDetailText": "sample string 7" } ], "Id": "6c2f81b4-442f-42a5-a215-51d2cf719a93", "UserName": "sample string 5", "UserID": "4746ed4f-d611-4755-a90a-75d4f11381e1", "CreatedBy": "sample string 7", "CreatedOn": "2025-07-07T10:21:31.2050233+04:00", "ClientID": "95f3c8b3-0c69-463c-b505-69388041e8b1", "ClientName": "sample string 10", "PartnerID": "00112eb8-0479-4432-8f5b-4498807bf2e0", "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">95f3c8b3-0c69-463c-b505-69388041e8b1</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">2025-07-07T10:21:31.2050233+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">6c2f81b4-442f-42a5-a215-51d2cf719a93</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">00112eb8-0479-4432-8f5b-4498807bf2e0</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">4746ed4f-d611-4755-a90a-75d4f11381e1</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 5</UserName> <Description>sample string 3</Description> <FormID>4cda8339-9be8-471b-9a9d-d9aff395704a</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>e429a83b-4fb8-4c0d-9d35-432f7342fe2d</IssueID> <Status>None</Status> </IssueDetail> <IssueDetailText>sample string 7</IssueDetailText> <ItemID>7f6f71d6-4026-45ea-8f73-9fbce1baf61c</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>b022916e-9f51-473f-bfe3-e933e10026c7</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>e429a83b-4fb8-4c0d-9d35-432f7342fe2d</IssueID> <Status>None</Status> </IssueDetail> <IssueDetailText>sample string 7</IssueDetailText> <ItemID>7f6f71d6-4026-45ea-8f73-9fbce1baf61c</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>