Coruson API

<back to all web services

UpdateReportRiskAssessmentComment

Coruson Reports

Requires Authentication
The following routes are available for this service:
PUT/api/reports/{ReportId}/riskassessments/{RiskAssessmentId}Update the comment of a Coruson Report Risk Assessment
UpdateReportRiskAssessmentComment Parameters:
NameParameterData TypeRequiredDescription
ReportIdpathGuidYesThe unique identifier of the report the risk assessment belongs to.
RiskAssessmentIdpathGuidYesThe unique identifier of the risk assessment to update.
CommentquerystringNoThe comment to set on the risk assessment.
RequestBase Parameters:
NameParameterData TypeRequiredDescription
VersionformintNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
StatusDescriptionformstringNo
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

                    POST /json/reply/UpdateReportRiskAssessmentComment HTTP/1.1 
Host: platform.gaelenlighten.com 
Content-Type: application/json
Content-Length: length

{"Version":0,"Comment":"String"}
                    
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"StatusDescription":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}