Rest API to get ActivitySpec
Request
Request body is a JSON object (Content-Type: application/json) includes the following fields.
Field Name |
---|
id |
versionId |
Sample
Request Headers:
Connection: keep-alive
Accept: application/json
Content-Type: application/json
USER_ID: cs0008
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 10.147.97.237:8080
Response
TBD
Response headers:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 21 Feb 2018 08:40:43 GMT
Transfer-Encoding: chunked
Server: Jetty(9.3.6.v20151106)
{
: "name":"ActivitySpecnameGqftvKSKZm1",
: "description":"ActivitySpecdescriptionJMyvvpcKcDQXOpPJdiJO1",
: "categoryList":
: [
: : "testdataget",
: : "testdataget_1"
: ],
: "inputParameters":
: [
: : {
: : : "name":"host_testdataget",
: : : "type":"string_testdataget"
: : }
: ],
: "outputParameters":
: [
: : {
: : : "name":"status_testdataget",
: : : "type":"string_testdataget",
: : : "value":"started_testdataget"
: : }
: ],
: "status":"Draft"
}
HTTP Response Codes
HTTP Response Code | Description |
---|---|
200 | Success |