public SchedulePayload getScheduleById(String id)
{
Preconditions.checkArgument(!String.IsNullOrEmpty(id), "id should be set.");
jSetting = new JsonSerializerSettings();
jSetting.NullValueHandling = NullValueHandling.Ignore;
jSetting.DefaultValueHandling = DefaultValueHandling.Ignore;
String url = HOST_NAME_SSL;
url += PUSH_PATH;
url += "/";
url += id;
ResponseWrapper result = sendGet(url, Authorization(),id);
String schedule = result.responseContent;
SchedulePayload schedulepayload = JsonConvert.DeserializeObject<SchedulePayload>(schedule, jSetting);
return schedulepayload;
}