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 11 Next »

Description

Creates a transaction. The CDI server creates and signs the transaction with the specified participants and attachments. This means that the application is the creator of the transaction.

For the time being, the services Monitor status and Monitor status by participant are regarded as present in CDICreateTransactionRequest and set to the value true.

HTTP methodURI scheme
POST/server/transaction

Parameters

TypeNameDescriptionQualificationSchema
Body

request

Request body parameters, see schema for details.

Required

CDICreateTransactionRequest

Responses

HTTP codeCommon messagesDescriptionSchema
200
Contains the created transaction.

TransactionResponse

400The application with the specified key could not be found
String
Input not valid: Participant privateId '<%1>' is not in the correct format.<%1> is the value for the 'privateId' parameter submitted in the request.String
Input not valid: Participant corporateId '<%1>' is not in the correct format.<%1> is the value for the 'corporateId' parameter submitted in the requestString
Input not valid: Participant corporateId can not be null for corporate or server user.
String
Invalid role ID formatThis error message is returned if the parameter 'privateId' or 'corporateId' is not in the correct format.String
Input not valid: Participant privateId can not be set for server user.
String
Input not valid: Participant corporateId can not be set for private user.
String
Input not valid: Participant corporateId can not be null for corporate or server user.
String
Input not valid: Participant can not be of unknown type: nullThis error message is returned if the parameter "type" is missing from /wiki/spaces/LPDA510/pages/1804027.String
Input not valid: Participant privateId can not be null for private or corporate user.
String
Input not valid: Attachment fileName can not be empty
String
Input not valid: Attachment content can not be empty
String
Input not valid: Participant can not be of unknown type: null
String
Input not valid: Participant list can not be empty
String
Input not valid: Service package can not be empty
String
Unable to create transactionThis error message is returned if a deactivated user is included as a participant in the transaction.String
500An unexpected error occurred: null

This error message is returned if

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

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

Security

TypeName
apiKeyKey




  • No labels