Overview
Create a relation of a relation type from the current entity to an other entity.
HTTP method |
POST |
|
---|---|---|
URI template variables |
- |
|
Query parameters |
- |
|
Request body |
Information about the entity to be related.
Example:
|
|
HTTP response |
201 Created |
The relation was created successfully. |
400 Bad Request |
The request was invalid (for example because the relation is not valid for the given entities). |
|
404 Not Found |
The current entity or the related entity was not found or the relation type doesn’t exist. 404 is also returned if the service or an intermediate resource are not available. |
|
409 Conflict |
The relation exists already. |
|
Response body |
- |
|
Available in |