Create Relationship with RelationshipTemplate
This use case intends to create a Relationship based on a received RelationshipTemplate where its content
is an ArbitraryRelationshipTemplateContent. The Relationship will be established with the RelationshipTemplate’s creator. For information on how to establish a Relationship based on a RelationshipTemplate with RelationshipTemplateContent, refer to the corresponding scenario documentation.
Parameters
templateId
references the RelationshipTemplate that was received from a party.creationContent
is an ArbitraryRelationshipCreationContent and will be stored inside the Relationship. It can be analyzed by the RelationshipTemplate’s creator to decide whether to accept the Relationship.
On Success
- Creates and returns the Relationship.
On Failure
- The
templateId
does not resolve to a RelationshipTemplate.