GET api/cr/instance?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ConditionReportResponseName | Description | Type | Additional information |
---|---|---|---|
Report | ConditionReport |
None. |
|
Result | boolean |
None. |
|
StatusCode | integer |
None. |
|
Status | string |
None. |
|
Messages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Report": { "CaseId": 1, "location": { "lat": 1.1, "lng": 2.1, "addr": "sample string 3" }, "Data": [ { "id": 2, "v": "sample string 3", "Url": "sample string 4", "Comment": "sample string 5" }, { "id": 2, "v": "sample string 3", "Url": "sample string 4", "Comment": "sample string 5" } ], "Id": 2, "AssetId": 3, "type": 4, "CreatedAt": "2025-01-22T18:15:04.8615622+00:00", "LastModified": "2025-01-22T18:15:04.8615622+00:00", "LastModifiedBy": 7 }, "Result": true, "StatusCode": 2, "Status": "sample string 3", "Messages": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ConditionReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMPAPI.Models"> <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Messages> <Result>true</Result> <Status>sample string 3</Status> <StatusCode>2</StatusCode> <Report> <AssetId>3</AssetId> <CreatedAt>2025-01-22T18:15:04.8615622+00:00</CreatedAt> <Id>2</Id> <LastModified>2025-01-22T18:15:04.8615622+00:00</LastModified> <LastModifiedBy>7</LastModifiedBy> <TypeId>4</TypeId> <CaseId>1</CaseId> <Data> <ConditionReportField> <Comment>sample string 5</Comment> <ItemId>1</ItemId> <TypeId>2</TypeId> <Url>sample string 4</Url> <Value>sample string 3</Value> </ConditionReportField> <ConditionReportField> <Comment>sample string 5</Comment> <ItemId>1</ItemId> <TypeId>2</TypeId> <Url>sample string 4</Url> <Value>sample string 3</Value> </ConditionReportField> </Data> <Location> <Address>sample string 3</Address> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </Location> </Report> </ConditionReportResponse>