Creates a risk type

POST {{baseUrl}}/v1/ws/:workspaceId/RiskTypes

Request Body

{"label"=>"esse ullamco magna dolor", "ref"=>"qui si", "id"=>"urn:uuid:3745afe4-ae83-79e7-4dcd-b647ac5f34fd", "dateCreation"=>"1989-04-11T17:12:06.958Z", "dateUpdate"=>"1969-09-02T03:47:34.929Z", "createdBy"=>{"id"=>24884512, "displayName"=>"dolor laboris dolore", "familyName"=>"ea est in", "givenName"=>"tempor aliqua proident in pariatur", "email"=>"culpa consectetur lab", "avatarUrl"=>"culpa eiusmod amet", "tenantId"=>42751423}, "category"=>{"color"=>"nisi", "label"=>"voluptate quis anim sunt cillum", "id"=>"urn:uuid:6fdac889-1090-97c2-196b-75792af9443f"}, "categoryId"=>"urn:uuid:4027fa91-b47d-ad64-ae64-43ab203c8023", "description"=>"exercitation sint ea i", "threatDescription"=>"Duis cillum nisi", "sourceDescription"=>"ullamco nulla dolore sed", "impactInitial"=>29505592, "probabilityInitial"=>-62454931, "impactResidual"=>78911824, "probabilityResidual"=>-9358216, "tags"=>[{"label"=>"elit ex esse sed eiusmod", "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>-31813210, "color"=>"in su"}, {"label"=>"incididunt pariatur", "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>33500223, "color"=>"n"}], "controlPoints"=>[{"id"=>"urn:uuid:5e2b0dc0-3aa4-1ba7-f6ca-cf348f2b009c", "ref"=>"in irure ut", "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "label"=>"consectetur"}, {"id"=>"urn:uuid:12a962ad-f320-1602-68b8-335334e53816", "ref"=>"dolor qui", "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "label"=>"cillum culpa al"}], "threats"=>[{"label"=>"qui laborum consequat reprehenderit e", "id"=>"3cb97b68-2a25-4a9b-6334-332a9d774e06", "description"=>"Lorem anim", "dateCreation"=>"1998-12-18T06:42:12.355Z", "dateUpdate"=>"1943-12-20T23:46:08.464Z", "creator"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"label"=>"ipsum laboris", "id"=>"urn:uuid:fb6842a7-67b4-7579-add7-36479ae4ac68", "description"=>"dolore in", "dateCreation"=>"1963-02-27T00:31:33.864Z", "dateUpdate"=>"1966-05-26T15:44:15.822Z", "creator"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;label&quot;:&quot;Duis aliqua nulla non&quot;,&quot;ref&quot;:&quot;ut&quot;,&quot;id&quot;:&quot;urn:uuid:0d08cd0e-5437-05b8-2f7b-3a883b18795c&quot;,&quot;dateCreation&quot;:&quot;1960-09-07T21:14:58.322Z&quot;,&quot;dateUpdate&quot;:&quot;1981-02-06T13:13:57.191Z&quot;,&quot;createdBy&quot;:{&quot;id&quot;:-22617909,&quot;displayName&quot;:&quot;minim do mollit non&quot;,&quot;familyName&quot;:&quot;reprehenderit&quot;,&quot;givenName&quot;:&quot;Ut fugiat ad&quot;,&quot;email&quot;:&quot;ut laborum ullamco&quot;,&quot;color&quot;:&quot;sunt laboris eiusmod est&quot;,&quot;avatarUrl&quot;:&quot;conse&quot;,&quot;tenantId&quot;:-6777655},&quot;category&quot;:{&quot;color&quot;:&quot;sed e&quot;,&quot;label&quot;:&quot;est sint elit in&quot;,&quot;id&quot;:&quot;urn:uuid:490c0147-4c3b-b85c-6588-547181d8a2aa&quot;,&quot;dateCreation&quot;:&quot;1988-06-26T05:07:55.431Z&quot;,&quot;dateUpdate&quot;:&quot;1989-03-17T14:47:45.488Z&quot;},&quot;categoryId&quot;:&quot;urn:uuid:733a2441-224e-8a87-0bec-f99c113eafa0&quot;,&quot;description&quot;:&quot;exercitation cupidatat in adipisicing&quot;,&quot;threatDescription&quot;:&quot;do nostrud sed&quot;,&quot;sourceDescription&quot;:&quot;in consectetur commodo&quot;,&quot;impactInitial&quot;:-81672904,&quot;probabilityInitial&quot;:28771385,&quot;impactResidual&quot;:-45170414,&quot;probabilityResidual&quot;:29264741,&quot;tags&quot;:[{&quot;label&quot;:&quot;sunt aliquip consequat officia mollit&quot;,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:60520608,&quot;color&quot;:&quot;consectetu&quot;},{&quot;label&quot;:&quot;magna&quot;,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:-81986014,&quot;color&quot;:&quot;aute a&quot;}],&quot;controlPoints&quot;:[{&quot;id&quot;:&quot;95019477-1985-0dcd-ec25-78d973560fa6&quot;,&quot;ref&quot;:&quot;laborum ullamco pariatur&quot;,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;label&quot;:&quot;laboris nulla&quot;},{&quot;id&quot;:&quot;urn:uuid:40b68668-95d0-111e-4eca-2ad10be8a644&quot;,&quot;ref&quot;:&quot;irure aute nulla velit&quot;,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;label&quot;:&quot;labore irure sint&quot;}],&quot;threats&quot;:[{&quot;label&quot;:&quot;consectetur p&quot;,&quot;id&quot;:&quot;urn:uuid:011b001c-afe4-0b02-17aa-0fa3affa9592&quot;,&quot;description&quot;:&quot;adipisicing Lorem consectetur est&quot;,&quot;dateCreation&quot;:&quot;1946-07-26T22:35:01.476Z&quot;,&quot;dateUpdate&quot;:&quot;2023-01-28T21:04:20.144Z&quot;,&quot;creator&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;label&quot;:&quot;id quis consequat officia non&quot;,&quot;id&quot;:&quot;ef71f819-1e1a-16f8-da83-561063ecc712&quot;,&quot;description&quot;:&quot;cillum dolore&quot;,&quot;dateCreation&quot;:&quot;2003-02-16T18:46:36.292Z&quot;,&quot;dateUpdate&quot;:&quot;1950-02-14T02:53:44.026Z&quot;,&quot;creator&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}