Creates a risk event
POST {{baseUrl}}/v1/ws/:workspaceId/RiskEvents
Request Body
{"label"=>"cillum aliqua labore", "id"=>"3010fcf7-31cc-6c3a-59d8-352a87576532", "descriptionHtml"=>"non laboris qui", "impactValue"=>-19827459, "date"=>"1993-11-23T23:31:21.542Z", "creator"=>{"id"=>51233967, "displayName"=>"do elit", "familyName"=>"in sed sint", "givenName"=>"officia", "email"=>"eiusmod est ad pariatur", "avatarUrl"=>"sunt anim nulla proident", "tenantId"=>54165276}, "typeId"=>"789acc0a-6ae1-3415-b771-7c6a0a4398dd", "type"=>{"label"=>"veniam", "ref"=>"Except", "id"=>"c70fc467-970a-fe42-dd09-19979dc802a3", "dateCreation"=>"1996-06-04T15:41:24.505Z", "dateUpdate"=>"1983-02-10T09:38:55.842Z", "createdBy"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "displayName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "familyName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "givenName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "email"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "avatarUrl"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tenantId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "category"=>{"color"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "label"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "categoryId"=>"urn:uuid:61c88d7b-9a75-f8d0-3b31-c1b21d667ca6", "description"=>"Excepteur Duis sit aliqua", "threatDescription"=>"ipsum Ut id", "sourceDescription"=>"non nisi quis Lorem", "impactInitial"=>14139436, "probabilityInitial"=>2076258, "impactResidual"=>-55908166, "probabilityResidual"=>9389325, "tags"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "controlPoints"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "threats"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"label":"exercitation laborum cillum enim incididunt","id":"urn:uuid:b9907d84-b14e-ccd8-f2ec-8d4f5f29ad57","descriptionHtml":"occaecat in laboris","impactValue":-78595547,"date":"1989-12-07T13:35:30.022Z","dateCreation":"1968-10-24T06:53:59.978Z","dateUpdate":"1948-09-29T21:18:43.009Z","creator":{"id":-22119957,"displayName":"ut culpa esse","familyName":"veniam labore amet aute est","givenName":"ea oc","email":"cillum et","color":"incididunt irure ipsum","avatarUrl":"labore offi","tenantId":10547357},"typeId":"64a2bd1f-044e-fad9-996d-b6953f92a0a6","type":{"label":"quis exercitation et cupidatat ex","ref":"sit in sint eu","id":"0b90bd5f-4502-65ab-c86d-5007f4bb25be","dateCreation":"1967-10-10T03:26:32.301Z","dateUpdate":"1985-08-01T04:19:03.867Z","createdBy":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"familyName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"givenName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"avatarUrl":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"category":{"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"label":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dateCreation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dateUpdate":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"categoryId":"46adafb6-b275-6741-21aa-2b2dc97339e7","description":"dolor","threatDescription":"dolor et","sourceDescription":"cillum","impactInitial":-87620065,"probabilityInitial":22717874,"impactResidual":18054555,"probabilityResidual":6728418,"tags":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"controlPoints":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"threats":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}}