Quality management APIs
Create a risk assessment
HTTP method | POST |
URI | https://api.rambase.net/quality/risk-assessments |
Supported formats | Xml, Html, Json (ex. $format=json) |
Custom fields | Custom fields supported |
Successful HTTP status code | 201 |
API resource identifier | 5109, version 12 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
Name
Required/mandatory field
Name of the risk assessment
>{String}</Name>Scope
Scope of the risk assessment
This field is optional.
>{String}</Scope>NextAssessmentDate
Date when update of the current risk assessment is planned
This field is optional.
>{Date}</NextAssessmentDate>ReAssessmentInterval
Re-assessment interval
Applicable domain values can be found here
This field is optional.
>{Integer}</ReAssessmentInterval>Limitations
Limitations of the risk assessment
This field is optional.
>{String}</Limitations>Folder
This field is optional.
>FolderId
File folder id for a spesific file container or forlder.
Minimum value: 100000
This field is optional.
>{Integer}</FolderId>Location
This field is optional.
>LocationId
Location identifier
Minimum value: 10000
This field is optional.
>{Integer}</LocationId>Responsible
This field is optional.
>EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
>{Integer}</EmployeeId>Context
This field is optional.
>Source
This field is optional.
>ObjectId
Identifier of the object
Minimum value: 1
This field is optional.
>{Integer}</ObjectId>ObjectType
Type of object
This field is optional.
>{String}</ObjectType>Name
Required/mandatory field
Name of the risk assessment
": "{String}",Scope
Scope of the risk assessment
This field is optional.
": "{String}",NextAssessmentDate
Date when update of the current risk assessment is planned
This field is optional.
": "{Date}",ReAssessmentInterval
Re-assessment interval
Applicable domain values can be found here
This field is optional.
": "{Integer}",Limitations
Limitations of the risk assessment
This field is optional.
": "{String}",Folder
This field is optional.
": {FolderId
File folder id for a spesific file container or forlder.
Minimum value: 100000
This field is optional.
": "{Integer}"Location
This field is optional.
": {LocationId
Location identifier
Minimum value: 10000
This field is optional.
": "{Integer}"Responsible
This field is optional.
": {EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
": "{Integer}"Context
This field is optional.
": {Source
This field is optional.
": {ObjectId
Identifier of the object
Minimum value: 1
This field is optional.
": "{Integer}",ObjectType
Type of object
This field is optional.
": "{String}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
$showCustomFields Boolean, optional | Set to "true" to include custom fields. Default value is false. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
RiskAssessmentId
Risk assessment identifier
>{Integer}</RiskAssessmentId>Name
Name of the risk assessment
>{String}</Name>CreatedAt
Date and time when risk assessment was created
>{Datetime}</CreatedAt>Scope
Scope of the risk assessment
>{String}</Scope>Limitations
Limitations of the risk assessment
>{String}</Limitations>AssessmentDate
When current assessment was prepared
>{Date}</AssessmentDate>NextAssessmentDate
Date when update of the current risk assessment is planned
>{Date}</NextAssessmentDate>ReAssessmentInterval
Re-assessment interval
Possible domain values can be found here
>{Integer}</ReAssessmentInterval>IsTemplate
This field indicates if risk assessment is marked as a template assessment
>{Boolean}</IsTemplate>FolderId
File folder id for a spesific file container or forlder.
>{Integer}</FolderId>Name
Verbose folder text in english.
>{String}</Name>FolderLink
Company folder id
>{String}</FolderLink>RiskAssessmentId
Identifier of the first assessment in this line of reassessments
>{Integer}</RiskAssessmentId>RiskAssessmentLink
API reference to the object
>{String}</RiskAssessmentLink>Score
Score of the potential consequence. Calculated from severity rating multiplied with likelihood level
>{Integer}</Score>LowerThreshold
Threshold for risk scores. Values less than or equal to this threshold will have a low risk. Medium or higher risks have risk scores greater than this threshold value
>{Integer}</LowerThreshold>UpperThreshold
Threshold for risk scores. Values less than this threshold will have a low or medium risk. High risks will have risk scores greater than or equal to this threshold value
>{Integer}</UpperThreshold>Score
Score of the potential consequence. Calculated from severity rating multiplied with likelihood level
>{Integer}</Score>LowerThreshold
Threshold for risk scores. Values less than or equal to this threshold will have a low risk. Medium or higher risks have risk scores greater than this threshold value
>{Integer}</LowerThreshold>UpperThreshold
Threshold for risk scores. Values less than this threshold will have a low or medium risk. High risks will have risk scores greater than or equal to this threshold value
>{Integer}</UpperThreshold>EmployeeId
Employee identifier
>{Integer}</EmployeeId>LastName
Last name of employee
>{String}</LastName>FirstName
First name of employee
>{String}</FirstName>EmployeeLink
Employee reference
>{String}</EmployeeLink>LocationId
Location identifier
>{Integer}</LocationId>ShortName
Unique abbreviation/short name of the location
>{String}</ShortName>LocationLink
Location reference
>{String}</LocationLink>AcceptedRisksCount
Count of accepted risks that belong to this risk assessment
>{Integer}</AcceptedRisksCount>RisksCount
Count of all risks that belong to this risk assessment
>{Integer}</RisksCount>ParticipantsCount
Count of participants
>{Integer}</ParticipantsCount>ActionsCount
Number of actions related to this risk assessment
>{Integer}</ActionsCount>ControlsCount
Number of controls related to this risk assessment
>{Integer}</ControlsCount>ObjectId
Identifier of the object
>{Integer}</ObjectId>ObjectType
Type of object
>{String}</ObjectType>ObjectLink
API reference to the object
>{String}</ObjectLink>RiskAssessmentId
Risk assessment identifier
": "{Integer}",Status
Status of risk assessment
Possible domain values can be found here
": "{Integer}",Name
Name of the risk assessment
": "{String}",CreatedAt
Date and time when risk assessment was created
": "{Datetime}",Scope
Scope of the risk assessment
": "{String}",Limitations
Limitations of the risk assessment
": "{String}",AssessmentDate
When current assessment was prepared
": "{Date}",NextAssessmentDate
Date when update of the current risk assessment is planned
": "{Date}",ReAssessmentInterval
Re-assessment interval
Possible domain values can be found here
": "{Integer}",IsTemplate
This field indicates if risk assessment is marked as a template assessment
": "{Boolean}",FolderId
File folder id for a spesific file container or forlder.
": "{Integer}",Name
Verbose folder text in english.
": "{String}",FolderLink
Company folder id
": "{String}"RiskAssessmentId
Identifier of the first assessment in this line of reassessments
": "{Integer}",RiskAssessmentLink
API reference to the object
": "{String}",Score
Score of the potential consequence. Calculated from severity rating multiplied with likelihood level
": "{Integer}",LowerThreshold
Threshold for risk scores. Values less than or equal to this threshold will have a low risk. Medium or higher risks have risk scores greater than this threshold value
": "{Integer}",UpperThreshold
Threshold for risk scores. Values less than this threshold will have a low or medium risk. High risks will have risk scores greater than or equal to this threshold value
": "{Integer}"Score
Score of the potential consequence. Calculated from severity rating multiplied with likelihood level
": "{Integer}",LowerThreshold
Threshold for risk scores. Values less than or equal to this threshold will have a low risk. Medium or higher risks have risk scores greater than this threshold value
": "{Integer}",UpperThreshold
Threshold for risk scores. Values less than this threshold will have a low or medium risk. High risks will have risk scores greater than or equal to this threshold value
": "{Integer}"EmployeeId
Employee identifier
": "{Integer}",LastName
Last name of employee
": "{String}",FirstName
First name of employee
": "{String}",EmployeeLink
Employee reference
": "{String}",LocationId
Location identifier
": "{Integer}",ShortName
Unique abbreviation/short name of the location
": "{String}",LocationLink
Location reference
": "{String}",AcceptedRisksCount
Count of accepted risks that belong to this risk assessment
": "{Integer}",RisksCount
Count of all risks that belong to this risk assessment
": "{Integer}",ParticipantsCount
Count of participants
": "{Integer}",ActionsCount
Number of actions related to this risk assessment
": "{Integer}",ControlsCount
Number of controls related to this risk assessment
": "{Integer}",ObjectId
Identifier of the object
": "{Integer}",ObjectType
Type of object
": "{String}",ObjectLink
API reference to the object
": "{String}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 100027 HTTP 400 | Missing mandatory parameter {0} |
Error 101420 HTTP 404 | Setting definition not found |
Error 107293 HTTP 400 | Positive score cannot be lower than zero |
Error 107294 HTTP 400 | Negative score cannot be bigger than zero |