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": "536ebbb6-277f-4720-95d3-341e3111063a", "Name": "sample string 2", "Description": "sample string 3", "InspectionItem": [ { "ItemID": "286a9dfc-672b-4fbf-bb92-58fc477108e3", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "e0ab27a0-fbb9-4bb2-bfc5-c650288b5e4b", "Status": 0 }, "IssueDetailText": "sample string 7" }, { "ItemID": "286a9dfc-672b-4fbf-bb92-58fc477108e3", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "0213e161-b551-48ae-9842-8c2bcb1c821d", "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": "e0ab27a0-fbb9-4bb2-bfc5-c650288b5e4b", "Status": 0 }, "IssueDetailText": "sample string 7" } ], "Id": "dfa866c1-6956-4a84-b4eb-c298146a6c9f", "UserName": "sample string 5", "UserID": "2399745f-0638-4399-982a-904f570c916e", "CreatedBy": "sample string 7", "CreatedOn": "2025-05-20T21:36:14.4982889+04:00", "ClientID": "cdda24e5-2b84-415a-a6bc-fa8f2f7e0fe6", "ClientName": "sample string 10", "PartnerID": "9d3a3f88-ffd2-4056-99ec-f78b507debe6", "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">cdda24e5-2b84-415a-a6bc-fa8f2f7e0fe6</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-05-20T21:36:14.4982889+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">dfa866c1-6956-4a84-b4eb-c298146a6c9f</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">9d3a3f88-ffd2-4056-99ec-f78b507debe6</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">2399745f-0638-4399-982a-904f570c916e</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 5</UserName> <Description>sample string 3</Description> <FormID>536ebbb6-277f-4720-95d3-341e3111063a</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>e0ab27a0-fbb9-4bb2-bfc5-c650288b5e4b</IssueID> <Status>None</Status> </IssueDetail> <IssueDetailText>sample string 7</IssueDetailText> <ItemID>286a9dfc-672b-4fbf-bb92-58fc477108e3</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>0213e161-b551-48ae-9842-8c2bcb1c821d</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>e0ab27a0-fbb9-4bb2-bfc5-c650288b5e4b</IssueID> <Status>None</Status> </IssueDetail> <IssueDetailText>sample string 7</IssueDetailText> <ItemID>286a9dfc-672b-4fbf-bb92-58fc477108e3</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>