Skip to content

List and retrieve Risks

Request

Return a filtered, paginated list of Risks

Security
bearerAuth
Query
namestring

Filter: Exact match on the Risk Reference. Accepts a comma-separated list of values.

nameLikestring

Filter: Search for Risk Reference that contains the specified text.

engagementIdstring

Filter: Exact match on the Delivery Engagement's unique Salesforce ID.

engagementNamestring

Filter: Search for Delivery Engagement Name that contains the specified text.

issueIdstring

Filter: Exact match on the Issue's unique Salesforce ID.

issueNamestring

Filter: Search for Issue Name that contains the specified text.

proposalIdstring

Filter: Exact match on the Proposal's unique Salesforce ID.

proposalNamestring

Filter: Search for Proposal Name that contains the specified text.

summaryLikestring

Filter: Search for Summary that contains the specified text.

raisedDateOnOrAfterstring

Filter: Search for Raised Date on or after the specified date. Must be in YYYY-MM-DD format.

raisedDateOnOrBeforestring

Filter: Search for Raised Date on or before the specified date. Must be in YYYY-MM-DD format.

closedDateOnOrAfterstring

Filter: Search for Closed Date on or after the specified date. Must be in YYYY-MM-DD format.

closedDateOnOrBeforestring

Filter: Search for Closed Date on or before the specified date. Must be in YYYY-MM-DD format.

mitigationDueDateOnOrAfterstring

Filter: Search for Mitigation Due Date on or after the specified date. Must be in YYYY-MM-DD format.

mitigationDueDateOnOrBeforestring

Filter: Search for Mitigation Due Date on or before the specified date. Must be in YYYY-MM-DD format.

riskStatusstring

Filter: Exact match on the Risk's status name. Must be one of: 'Identified', 'In Progress', 'Active', or 'Closed'.

riskCategorystring

Filter: Exact match on the Risk's category name. Must be one of: 'Technical', 'Commercial', or 'Management'.

riskSeveritystring

Filter: Exact match on the Risk's severity name.

riskImpactstring

Filter: Exact match on the Risk's impact name.

riskProbabilitystring

Filter: Exact match on the Risk's probability name.

isInternalboolean

Filter: If true, returns only internal risks.

sortstring

Sorting: The API field name to order the results by (eg 'Name' or 'Id').

lastIdstring

Pagination: The Salesforce ID of the last record from the previous page, used for retrieving the next page.

lastFieldValuestring

Pagination: The sorted field value of the last record from the previous page, used for retrieving the next page.

onlystring

Filter: Comma separated list of Salesforce Ids to filter by.

countOnlyboolean

If true, returns only the count of matching records instead of the record data.

lastModifiedDatestring, (date-time)

Filter: Search for records modified on or after the specified datetime, in the format YYYY-MM-DDThh:mm:ssZ

createdDatestring, (date-time)

Filter: Search for records created on or after the specified datetime, in the format YYYY-MM-DDThh:mm:ssZ

curl -i -X GET \
  'https://sx-developer.kantata.com/services/apexrest/KSX/api/risks?name=string&nameLike=string&engagementId=string&engagementName=string&issueId=string&issueName=string&proposalId=string&proposalName=string&summaryLike=string&raisedDateOnOrAfter=string&raisedDateOnOrBefore=string&closedDateOnOrAfter=string&closedDateOnOrBefore=string&mitigationDueDateOnOrAfter=string&mitigationDueDateOnOrBefore=string&riskStatus=string&riskCategory=string&riskSeverity=string&riskImpact=string&riskProbability=string&isInternal=true&sort=string&lastId=string&lastFieldValue=string&only=string&countOnly=true&lastModifiedDate=2019-08-24T14%3A15%3A22Z&createdDate=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Paged list of Risks

Bodyapplication/json
pagingobject(PagedResponse)
dataArray of objects
Response
{ "paging": { "totalItems": 0, "pageSize": 0, "nextRecordsUrl": "string", "done": true, "count": 0 }, "data": [ { "CustomFields": [ { "field": "string", "value": "string" } ], "Id": "string", "Name": "string", "Reference": "string", "Summary": "string", "Description": "string", "Mitigation": "string", "Contingency": "string", "IssueId": "string", "IssueName": "string", "EngagementId": "string", "EngagementReference": "string", "ProposalId": "string", "ProposalName": "string", "RaisedDate": "string", "ClosedDate": "string", "MitigationDueDate": "string", "IsInternal": "string", "RaisedByContactId": "string", "RaisedByContact": "string", "OwnedByContactId": "string", "OwnedByContact": "string", "RiskStatusId": "string", "RiskStatus": "string", "RiskCategoryId": "string", "RiskCategory": "string", "RiskSeverityId": "string", "RiskSeverity": "string", "RiskImpactId": "string", "RiskImpact": "string", "RiskProbabilityId": "string", "RiskProbability": "string" } ] }