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": "998281e7-85ec-4900-aace-f85f2fceb9f0", "Name": "sample string 2", "Description": "sample string 3", "InspectionItem": [ { "ItemID": "1babc275-2c33-43aa-8272-5b84929ea23a", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "c66f2132-2efb-4100-91bd-9b44c178c6e0", "Status": 0 }, "IssueDetailText": "sample string 7" }, { "ItemID": "1babc275-2c33-43aa-8272-5b84929ea23a", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "5f8c3d65-0dbe-4332-879e-cdfaf6521e92", "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": "c66f2132-2efb-4100-91bd-9b44c178c6e0", "Status": 0 }, "IssueDetailText": "sample string 7" } ], "Id": "d72aac53-10bb-43e4-870f-1ef7b6a8b05b", "UserName": "sample string 5", "UserID": "bfe5e06b-1678-420a-a1bc-a88849cca4a9", "CreatedBy": "sample string 7", "CreatedOn": "2025-08-08T15:43:15.0747362+04:00", "ClientID": "40375940-4be5-407e-b803-30e21c1d7701", "ClientName": "sample string 10", "PartnerID": "0ffcf4d8-056f-4f6c-98ec-999947311d69", "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">40375940-4be5-407e-b803-30e21c1d7701</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-08-08T15:43:15.0747362+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d72aac53-10bb-43e4-870f-1ef7b6a8b05b</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">0ffcf4d8-056f-4f6c-98ec-999947311d69</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">bfe5e06b-1678-420a-a1bc-a88849cca4a9</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 5</UserName> <Description>sample string 3</Description> <FormID>998281e7-85ec-4900-aace-f85f2fceb9f0</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>c66f2132-2efb-4100-91bd-9b44c178c6e0</IssueID> <Status>None</Status> </IssueDetail> <IssueDetailText>sample string 7</IssueDetailText> <ItemID>1babc275-2c33-43aa-8272-5b84929ea23a</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>5f8c3d65-0dbe-4332-879e-cdfaf6521e92</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>c66f2132-2efb-4100-91bd-9b44c178c6e0</IssueID> <Status>None</Status> </IssueDetail> <IssueDetailText>sample string 7</IssueDetailText> <ItemID>1babc275-2c33-43aa-8272-5b84929ea23a</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>