List Promotion Schedules for Day

This API lists the promotion schedules for the specified design.

URI Method Parameters Returns
/codar/app/scheduler/listPromoteSchedulersForDay/{designId} POST designId - The id of the application design

200 - updated
400 - bad request
404 - not found

{

"date":"08/09/2016"

}

     

Examples

The following URL was sent:

https://localhost:8444/csa/api/codar/app/scheduler/listPromoteSchedulersForDay/cfc40fe6-7884-4e74-93c1-a8f91e02e422

The following JSON was returned:
{
"promotionSchedule": [
{
"name": "Scheduler2",
"modelType": "TOPOLOGY",
"packageName": "package",
"scheduledOn": "2016/07/01 03:03:00",
"status": "PENDING",
"lifeCycleStageName": "DEVELOPMENT",
"scheduleId": "92201fe5-2b90-43c1-ab86-bf880a4a0b43"
},
{
"name": "Scheduler1",
"modelType": "TOPOLOGY",
"packageName": "package",
"scheduledOn": "2016/07/01 03:03:00",
"status": "COMPLETED",
"lifeCycleStageName": "DEVELOPMENT",
"scheduleId": "e4a44e1b-8d15-443f-acb9-0db58df60ab1"
}
]
}