Translations:Datenimport/-export Schnittstelle/37/en: Unterschied zwischen den Versionen
Aus HITGuard User Guide
Weitere Optionen
Faha (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Faha (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 21: | Zeile 21: | ||
*** The data-model was adjusted. The "managementSystemId" is not set at top level but per risk. The model is now "RiskCreateOrUpdateDtoV2" not "HazardSituationImportDto" | *** The data-model was adjusted. The "managementSystemId" is not set at top level but per risk. The model is now "RiskCreateOrUpdateDtoV2" not "HazardSituationImportDto" | ||
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected | *** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected | ||
*** It is now possible to modify the strategy of a risk via the api. The permitted values depend on whether a severity or an benefit has been assigned (i.e. whether it is a risk or an opportunity). If it is a severity, the permitted values are: Undefined, Avoidance, Reduction, Transfer, Acceptance. If it is a benefit, the permitted values are: Undefined, Enhance, Share, Exploit, Ignore. | |||
*** It is now possible to edit the risk remarks | |||
*** It is now possible to change the advisor of the risk | |||
** POST /api/v2/risks/submit new endpoint for importing risks in state "Submitted" | ** POST /api/v2/risks/submit new endpoint for importing risks in state "Submitted" | ||
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id} | ** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id} | ||
** all endpoints in "v1" were marked as deprecated | ** all endpoints in "v1" were marked as deprecated | ||
** GET endpoints return mor information about the risk such as remarks, strategy and advisors. | |||
Version vom 2. April 2026, 08:10 Uhr
- Measures
- PUT /api/v2/measures replaces PUT /api/measures
- Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs
- The parameter "ID" now refers to the HITGuard field "External ID" and no longer the internal ID
- PUT /api/measures/close/{id}
- was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!
- General
- The parameter "state" now uses enumeration values
- PUT /api/v2/measures replaces PUT /api/measures
- Asset edges
- PUT /api/v2/asset-edges replaces PUT /api/asset-edges
- The parameters "sourceType" and "targetType" now use enumeration values
- PUT /api/v2/asset-edges replaces PUT /api/asset-edges
- Resources
- all endpoints in "v1" were marked as deprecated
- The parameter "modelSegment" now uses enumeration values
- all endpoints in "v1" were marked as deprecated
- Risks
- GET /api/v2/risks replaces GET /api/risks/{managementSystemId}
- The path parameter "managementSystemId" was removed. Instead you can now use the optional query parameters "managementSystemId" and "includePublicRisks" to retrieve and filter risks.
- GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}
- Endpoints were adjusted to be consistent with the other endpoints.
- PUT /api/v2/risks replaces PUT /api/risks
- The data-model was adjusted. The "managementSystemId" is not set at top level but per risk. The model is now "RiskCreateOrUpdateDtoV2" not "HazardSituationImportDto"
- It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected
- It is now possible to modify the strategy of a risk via the api. The permitted values depend on whether a severity or an benefit has been assigned (i.e. whether it is a risk or an opportunity). If it is a severity, the permitted values are: Undefined, Avoidance, Reduction, Transfer, Acceptance. If it is a benefit, the permitted values are: Undefined, Enhance, Share, Exploit, Ignore.
- It is now possible to edit the risk remarks
- It is now possible to change the advisor of the risk
- POST /api/v2/risks/submit new endpoint for importing risks in state "Submitted"
- DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}
- all endpoints in "v1" were marked as deprecated
- GET endpoints return mor information about the risk such as remarks, strategy and advisors.
- GET /api/v2/risks replaces GET /api/risks/{managementSystemId}