GET api/Asset/rfhistories
Gets a list of possible risk factors that may be applied to an asset. These risk factors identify the number of Corrective actions that have been applied to the asset historically.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of Risk Factors
Collection of SimpleItemName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Description | string |
Required |
|
Value | string |
None. |
|
EnDescription | string |
None. |
|
AccountID | integer |
None. |
|
IsEditable | boolean |
None. |
|
IsSelectable | boolean |
None. |
|
Code | string |
None. |
|
Color | string |
None. |
|
ShortDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Description": "sample string 2", "Value": "sample string 3", "EnDescription": "samplestring2", "AccountID": 4, "IsEditable": true, "IsSelectable": true, "Code": "sample string 7", "Color": "sample string 8", "ShortDescription": "sample string 9" }, { "ID": 1, "Description": "sample string 2", "Value": "sample string 3", "EnDescription": "samplestring2", "AccountID": 4, "IsEditable": true, "IsSelectable": true, "Code": "sample string 7", "Color": "sample string 8", "ShortDescription": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfSimpleItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <SimpleItem> <AccountID>4</AccountID> <Code>sample string 7</Code> <Color>sample string 8</Color> <Description>sample string 2</Description> <ID>1</ID> <IsEditable>true</IsEditable> <IsSelectable>true</IsSelectable> <ShortDescription>sample string 9</ShortDescription> <Value>sample string 3</Value> </SimpleItem> <SimpleItem> <AccountID>4</AccountID> <Code>sample string 7</Code> <Color>sample string 8</Color> <Description>sample string 2</Description> <ID>1</ID> <IsEditable>true</IsEditable> <IsSelectable>true</IsSelectable> <ShortDescription>sample string 9</ShortDescription> <Value>sample string 3</Value> </SimpleItem> </ArrayOfSimpleItem>