@Override
@POST
public ScheduledServiceResourceStatusResponse post(Context context, Request request, Response response, Object payload)
throws ResourceException
{
ScheduledServiceResourceResponse serviceRequest = (ScheduledServiceResourceResponse) payload;
ScheduledServiceResourceStatusResponse result = null;
if (serviceRequest != null) {
ScheduledServiceBaseResource serviceResource = serviceRequest.getData();
try {
Schedule schedule = getModelSchedule(serviceRequest.getData());
ScheduledTask<?> task = null;
final NexusTask<?> nexusTask = getModelNexusTask(serviceResource, request);
if (getLogger().isDebugEnabled()) {