Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 11 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 methodURI scheme
POST/server/managed-user/transaction

Parameters

TypeNameDescriptionQualificationSchema
Body

request

Request body parameters, see schema for details.

Required

ManagedUserCreateTransactionRequest

Responses

HTTP codeCommon messagesDescriptionSchema
200

Contains the created transaction.

TransactionResponse

400The application with the specified key could not be found
String
Invalid role ID formatThis 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 ManagedUserCreateTransactionRequestString
Input not valid: Attachment fileName can not be emptyThis error message is returned if the parameter 'fileName' is missing in Attachment of ManagedUserCreateTransactionRequestString
Input not valid: Attachment content can not be emptyThis error message is returned if the parameter 'content' is missing in /wiki/spaces/LPDA510/pages/1804247of ManagedUserCreateTransactionRequestString
Input not valid: Participant can not be of unknown type: null

This error message is returned if

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 ManagedUserCreateTransactionRequestString
Input not valid: Participant applicationAccessId can not be null for private or corporate user.Participant can refer to either 'creator' or 'participant' parameter of ManagedUserCreateTransactionRequestString
Input not valid: Participant privateId can not be null for private or corporate user.Participant can refer to either 'creator' or 'participant' parameter of ManagedUserCreateTransactionRequestString
Managed identity was not foundThis 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
500An 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

TypeName
apiKeyKey
  • No labels