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.
Info |
---|
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 method | URI scheme |
---|---|
POST | /server/transaction |
Parameters
Type | Name | Description | Qualification | Schema |
---|---|---|---|---|
Body | request | Request body parameters, see schema for details. | Required |
Responses
HTTP code | Common messages | Description | Schema |
---|---|---|---|
200 | Contains the created transaction. | ||
400 | The 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 request | String | |
Input not valid: Participant corporateId can not be null for corporate or server user. | String | ||
Invalid role ID format | This 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: null | This 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 transaction | This error message is returned if a deactivated user is included as a participant in the transaction. | String | |
500 | An 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
Type | Name |
---|---|
apiKey | Key |