Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Next »

Get All Journal Steps

GET /ssp/api/1/reference/journalStep

Parameters

status : ALL, ACTIVE, INACTIVE, DELETED<br>
start : First result (0-based index) to return<br>
limit : Maximum number of results to return<br>
sort : Property name<br>
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

List<JournalStep>

[{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
  "createdDate" : "1332216000000",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "objectStatus" : "ACTIVE",
  "name" : "CAPSession",
  "description" : "CAP Session.",
  "sortOrder" : 1},
 {"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
  "createdDate" : "1332216000000",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "objectStatus" : "ACTIVE",
  "name" : "Transition",
  "description" : "Transition."
  "sortOrder" : 1},
 ...
]


Get All Journal Steps for Track

GET /ssp/api/1/reference/journalTrack/{id}/journalSteps

Parameters

status : ALL, ACTIVE, INACTIVE, DELETED
start : First result (0-based index) to return
limit : Maximum number of results to return
sort : Property name
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

List<JournalStep>

[{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
  "createdDate" : "1332216000000",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "objectStatus" : "ACTIVE",
  "name" : "CAPSession",
  "description" : "CAP Session.",
  "sortOrder" : 1},
 {"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
  "createdDate" : "1332216000000",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "objectStatus" : "ACTIVE",
  "name" : "Transition",
  "description" : "Transition."
  "sortOrder" : 1},
 ...
]


Get one Journal Step

GET /ssp/api/1/reference/journalStep/{id}

Returns

JournalStep

{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : "1332216000000",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "objectStatus" : "ACTIVE",
 "name" : "CAPSession",
 "description" : "CAP Session.",
 "sortOrder" : 1}

 

Create a Journal Step

POST /ssp/api/1/reference/journalStep

Sample Post

{"name" : "CAPSession",
 "description" : "CAP Session.",
 "sortOrder" : 1}

Returns

JournalStep

{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : "1332216000000",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "objectStatus" : "ACTIVE",
 "name" : "CAPSession",
 "description" : "CAP Session.",
 "sortOrder" : 1}

 

Save a Journal Step

PUT /ssp/api/1/reference/journalStep/{id}

Sample Post

{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : "1332216000000",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "objectStatus" : "ACTIVE",
 "name" : "CAPSession",
 "description" : "CAP Session.",
 "sortOrder" : 1}

Returns

JournalStep

{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : "1332216000000",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "objectStatus" : "ACTIVE",
 "name" : "CAPSession",
 "description" : "CAP Session.",
 "sortOrder" : 1}

 

Delete a Journal Step

DELETE /ssp/api/1/reference/journalStep/{id}

Returns

{"success" : "true"}

or

{"success" : "false", 
 "message" : "Message when success is false."}
  • No labels