GET api/cr/type?type={type}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
type | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ConditionReportTypeResponseName | Description | Type | Additional information |
---|---|---|---|
ReportType | ConditionReportDefinition |
None. |
|
Result | boolean |
None. |
|
StatusCode | integer |
None. |
|
Status | string |
None. |
|
Messages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReportType": { "type": 1, "AssetTypeId": 0, "LastModified": "2025-01-22T18:12:22.5463922+00:00", "Name": "sample string 3", "Fields": [ { "Id": 1, "SectionId": 2, "disabled": true, "required": true, "default": "sample string 5", "type": "None", "datatype": "String", "Label": "sample string 6", "Description": "sample string 7", "Values": [ "sample string 1", "sample string 2" ], "Options": { "Size": "sample string 1", "PlaceHolder": "sample string 2", "Min": 3, "Max": 4, "Angle": 5, "Orientation": "sample string 6", "Resolution": "sample string 7", "FileType": "sample string 8", "alsoUpdate": "sample string 9" } }, { "Id": 1, "SectionId": 2, "disabled": true, "required": true, "default": "sample string 5", "type": "None", "datatype": "String", "Label": "sample string 6", "Description": "sample string 7", "Values": [ "sample string 1", "sample string 2" ], "Options": { "Size": "sample string 1", "PlaceHolder": "sample string 2", "Min": 3, "Max": 4, "Angle": 5, "Orientation": "sample string 6", "Resolution": "sample string 7", "FileType": "sample string 8", "alsoUpdate": "sample string 9" } } ], "Sections": [ { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "Url": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "Url": "sample string 4" } ], "AssetType": "None" }, "Result": true, "StatusCode": 2, "Status": "sample string 3", "Messages": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ConditionReportTypeResponse 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> <ReportType> <AssetTypeId>None</AssetTypeId> <Fields> <FieldDefinition> <ControlTypeId>None</ControlTypeId> <DataTypeId>String</DataTypeId> <DefaultValue>sample string 5</DefaultValue> <Description>sample string 7</Description> <Id>1</Id> <IsDisabled>true</IsDisabled> <IsRequired>true</IsRequired> <Label>sample string 6</Label> <Options> <Angle>5</Angle> <FileType>sample string 8</FileType> <Max>4</Max> <Min>3</Min> <Orientation>sample string 6</Orientation> <PlaceHolder>sample string 2</PlaceHolder> <Resolution>sample string 7</Resolution> <Size>sample string 1</Size> <alsoUpdate>sample string 9</alsoUpdate> </Options> <SectionId>2</SectionId> <Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </Values> </FieldDefinition> <FieldDefinition> <ControlTypeId>None</ControlTypeId> <DataTypeId>String</DataTypeId> <DefaultValue>sample string 5</DefaultValue> <Description>sample string 7</Description> <Id>1</Id> <IsDisabled>true</IsDisabled> <IsRequired>true</IsRequired> <Label>sample string 6</Label> <Options> <Angle>5</Angle> <FileType>sample string 8</FileType> <Max>4</Max> <Min>3</Min> <Orientation>sample string 6</Orientation> <PlaceHolder>sample string 2</PlaceHolder> <Resolution>sample string 7</Resolution> <Size>sample string 1</Size> <alsoUpdate>sample string 9</alsoUpdate> </Options> <SectionId>2</SectionId> <Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </Values> </FieldDefinition> </Fields> <LastModified>2025-01-22T18:12:22.5463922+00:00</LastModified> <Name>sample string 3</Name> <Sections> <ConditionReportSection> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <Url>sample string 4</Url> </ConditionReportSection> <ConditionReportSection> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <Url>sample string 4</Url> </ConditionReportSection> </Sections> <TypeId>1</TypeId> </ReportType> </ConditionReportTypeResponse>