Rest API to create ActivitySpec in draft status
Status Transition
Pre-Status | Post-Status | |
---|---|---|
ActivitySpec | NA | draft |
Request Body
Request body is a JSON object (Content-Type: application/json) includes the following fields.
Field Name | Mandatory(M) /Optional(O) /Conditional(C) | Validations |
---|---|---|
Name | M | Unique |
Description | O | |
Category | O | |
inputParameters | O | |
outputParameters | O |
Sample 1(Only Mandatory)
TBD
Sample 2(Mandatory & Optional)
TBD
Response Body
Response body is a JSON object (Content-Type: application/json) includes the following fields.
Field Name | Mandatory(M) /Optional(O) /Conditional(C) |
---|---|
InvariantUUID | Y |
UUID | Y |
status | Y |
Sample
TBD
HTTP Response Codes
HTTP Response Code | Description |
---|---|
200 | Success |
TBD | Mandatory Parameters Missing in the Request |
TBD | Parameters validation failure |
TBD | Parameter Invalid Format |