Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can let the CDI server create and sign the transaction with specified participants and attachments. This way, the

application

server account connected to the application is the actual creator of the transaction.

Info

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

Info

The Lequinox platform does not archive transactions for external role

accounts or external

accounts or external personal identities as they represent another organisation. If archiving these transaction events is needed, it must be tended to by the application.


Steps

  1. Submit a request

as per the
  1. in accordance with the details in Create transaction for the application.

Lequinox
  1. The platform

performs the following validations:
  1. Participants must be specified
  2. Participants must be of known type. Refer to type in User
  3. Organisation to which the application belongs should be known
  4. If attachments are specified then the file name and content should be provided.
  5. If the server account of the application is enabled.
  • Lequinox platform retrieves the server account of the requesting application
  • Lequinox platform retrieves the organisation to which the application belongs.
  • Lequinox platform creates the transaction.
  • Lequinox platform
    1. validates the request by verifying, among other things:

      1. that participants are specified.

      2. that participants are of a known type.

    Info

    Refer to the attribute ‘type’ in User for more information.

    c. if attachments are specified, that file names and content are provided.

    1. The platform creates the transaction for the server account.

    2. The platform archives the transaction details along with timestamps.

    3. The platform returns the TransactionResponse

    is returned
    1. .

    plantuml

    Plantumlcloud

    Error messages

    toolbar

    expand500
    • An unexpected error occurred: Type definition error[...]
    • An unexpected error occurred: JSON parse error[...]
    These errors are returned if one or more parameters is of the wrong type.

    bottom

    titleHTTP status codeMessageComments400Input not valid: Participant privateId 'XXXX' is not in the correct format.Where 'XXXX' is the value for the 'privateId' parameter submitted in the request .400Input not valid: Participant corporateId 'XXXX' is not in the correct format.Where 'XXXX' is the value for the 'corporateId' parameter submitted in the request .400Input not valid: Participant corporateId can not be null for corporate or server user.400Invalid role ID formatThe parameters 'privateId' or 'corporateId' is incorrectly formatted.400Input not valid: Participant privateId can not be set for server user.400Input not valid: Participant corporateId can not be set for private user.400Input not valid: Participant corporateId can not be null for corporate or server user.400Input not valid: Participant can not be of unknown type: nullThe parameter "type" is missing from /wiki/spaces/LPDA510/pages/1804027400Input not valid: Participant privateId can not be null for private or corporate user.400Input not valid: Attachment fileName can not be empty400Input not valid: Attachment content can not be empty400Input not valid: Participant can not be of unknown type: null400Input not valid: Participant list can not be empty400Input not valid: Service package can not be empty400

    Unable to create transaction

    The error is returned when a deactivated user is included as a participant in the transaction.500An unexpected error occurred: null

    This error is returned when

    filenamePlantUML Diagram 1.svg
    originalHeight371
    datarVTBbtswDP0aoacMstwUvTpOih6yIVh2L1iLToTIkifJ3rCvH2V1aaI2XVHUNgzjkXx6fJTMrrkP4MLQacarqx/Y9RoCsrJigs8fxAOP8PII0V3OimImIu4PyvTgoKOAxBYGHe6sCd+gQ0LuUY8YVANZ5hZ/Dmga/Ireww4rrXaG4AZNQJflfreDkbV1hiKCF/MsvCHlqlE9mLCwTqKrrbYx81FDc8jX3YO0v5TZ0XcL2uMLMilTNF/mzlqSFlv7x89EyafrYuZW/YkmFIIysiT/ZMCXtWpxrQwuSOzOpVaP/Hgb7/+WnrV9KouevZJRQ0uiHu3vhPXPlk0Foup7TUMKytIUBGHg6bVeVYmv5svbpXitcE1alCFeweOeaa3rTgk2T/U3y9Wqfnc9aTzlKD5GsjgjERnJszOD0cocUCYQmqDGuNNT+7xKJsxYuUoNTSegdphyggPjY000jkyOAwj7GIETS89pN2mlyZyMd4Muqo+SR9BKTuX+QnIS4d9Uwea18ejG6ehA09D+ChfotnQEP42scs1eja+IkxhAaX80lpX17EVPMiub/JKYm3iOTNNi1xyNpB/ZXw==
    compressedtrue
    originalWidth488
    revision3