Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Description

Creates a transaction as a platform-managed user. The CDI server creates and signs the transaction with the specified participants and attachments on behalf of the specified platform-managed user. This means that the platform-managed user is the creator of the transaction.

For the time being the services "Monitor status", "Monitor status by participant" and "Multisign" are considered present in the ManagedUserCreateTransactionRequest and set to the value 'true'.

HTTP method

URI scheme

POST

/server/managed-user/transaction

Parameters

Type

Name

Description

Qualification

Schema

Body

request

Request body parameters, see schema for details.

Required

ManagedUserCreateTransactionRequest

Responses

HTTP code

Common messages

Description

Schema

200

Contains the created transaction.

TransactionResponse

400

The application with the specified key could not be found

String

Invalid role ID format

This error message is returned if the parameters 'corporateId', 'applicationAccessId' or 'privateId' in User are not in the correct format.  User can be either a 'creator' or 'participant' of ManagedUserCreateTransactionRequest

String

Input not valid: Attachment fileName can not be empty

This error message is returned if the parameter 'fileName' is missing in Attachment of ManagedUserCreateTransactionRequest

String

Input not valid: Attachment content can not be empty

This error message is returned if the parameter 'content' is missing in Attachment of ManagedUserCreateTransactionRequest

String

Input not valid: Participant can not be of unknown type: null

This error message is returned if

  • the participant is empty.

  • the parameter 'type' is missing from User (participant).

Participant can refer to either 'creator' or 'participant' parameter of ManagedUserCreateTransactionRequest

String

Input not valid: Participant corporateId can not be null for corporate or server user.

Participant can refer to either 'creator' or 'participant' parameter of ManagedUserCreateTransactionRequest

String

Input not valid: Participant applicationAccessId can not be null for private or corporate user.

Participant can refer to either 'creator' or 'participant' parameter of ManagedUserCreateTransactionRequest

String

Input not valid: Participant privateId can not be null for private or corporate user.

Participant can refer to either 'creator' or 'participant' parameter of ManagedUserCreateTransactionRequest

String

Managed identity was not found

This error message is returned if the parameters 'corporateId' or 'applicationAccessId' or 'privateId' in User are incorrect. User can be either a 'creator' or 'participant' of ManagedUserCreateTransactionRequest.

String

Input not valid: Creator can not be empty

String

Input not valid: Participant list can not be empty

String

Input not valid: Service package can not be empty

String

500

An unexpected error occurred: null

This error message is returned if

String

An unexpected error occurred: JSON parse error: <%1>

This error message can be returned if one or more parameters are of the wrong type.

String

An unexpected error occurred: Type definition error: <%1>

This error message can be returned if one or more parameters are of the wrong type.

String

Security

Type

Name

apiKey

Key

  • No labels