---
title: "Adds a diagram picture."
method: POST
path: "/diagramPictures"
tags: ["Diagram Pictures"]
---

# Adds a diagram picture.

`POST /diagramPictures`

Take a diagram picture for a given asset and diagram view.
A diagram picture is a copy of traceability diagram (result diagram) at a given time (for more information on traceability diagram check DGC User Guide).

The motivation behind diagram picture is to be able to reopen them at a later point in time and be able to see them them exactly as they were created. This feature is not possible for result diagram which are always showing the current situation.

## Request body

- AddDiagramPictureRequest
  - `assetId` string, uuid, required — The ID of the Asset for which the picture should be taken.
  - `viewId` string, uuid, required — The ID of the View for which the picture should be taken.

## Response `201`

Diagram picture successfully added.The response contains a UUID of the added diagram picture. The UUID can be used to compose an URL to retrive the diagram picture.

- string, uuid

---

[API](https://skmtc.net/collibra/apis/collibra-data-governance-center-core-api.md) · [All operations](https://skmtc.net/collibra/apis/collibra-data-governance-center-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/collibra/collibra-data-governance-center-core-api/revisions/6d091bc86a33/schema)
