You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Rest API to search ActivitySpec

Request

Request body is a JSON object (Content-Type: application/json) includes the following fields.

Field Name
status

Sample

Request Headers:

Connection: keep-alive

Accept: application/json

Content-Type: application/json

USER_ID: cs0008

User-Agent: Jakarta Commons-HttpClient/3.1

Host: 197.172.97.237:8080

GET http://197.172.97.237:8080/activityspec-api/v1.0/activity-spec?status=Certified

Response

Field Name
id
name
categoryList
status 

Sample

Response headers: 

HTTP/1.1 200 OK

Content-Type: application/json

Date: Wed, 21 Feb 2018 08:32:19 GMT

Transfer-Encoding: chunked

Server: Jetty(9.3.6.v20151106)

{

:   "listCount":9,

:   "results":

:   [

:   :   {

:   :   :   "id":"e2df9a7ea08a4c529653d4e73b8e3aba",

:   :   :   "name":"ActivitySpecnamesnXCVJWwMM1",

:   :   :   "categoryList":

:   :   :   [

:   :   :   :   "appserversearch"

:   :   :   ],

:   :   :   "status":"Certified"

:   :   },

:   :   {

:   :   :   "id":"1ed84afaba234466b26875997d65df73",

:   :   :   "name":"ActivitySpecnamejMWSKFRUkk1",

:   :   :   "categoryList":

:   :   :   [

:   :   :   :   "appserversearch"

:   :   :   ],

:   :   :   "status":"Certified"

:   :   }

HTTP Response Codes

HTTP Response CodeDescription
200Success
  • No labels