Returns a list of all TimeBlock Editors and their encompassing information. Type == 1 (Recurring Template) Type == 2 (Current Template)

Parameters

ParameterTypeRequiredNotes
None

Example Query

POST https://API.workschedule.net/WS.exe?Module=API&SessionID=123&SP=12345678&Method=getTimeBlockEditors

Sample JSON Input

  None  

JSON Response

  {
 "ErrorMessage": "Success",
 "Items": [
  {
   "NumDays": "7",
   "Type": "1",
   "StartDate": "12-20-2006",
   "ScheduleName": "Template B",
   "ScheduleID": "1165"
  },{
   "NumDays": "6",
   "Type": "1",
   "StartDate": "9-26-2006",
   "ScheduleName": "Template A",
   "ScheduleID": "1172"
  },{
   "NumDays": "28",
   "Type": "1",
   "StartDate": "7-6-2009",
   "ScheduleName": "Tester",
   "ScheduleID": "3004"
  }],
 "ErrorCode": "0"
}  

XML Response

 <WSDN>
  <ErrorMessage>Success</ErrorMessage>
  <Items>
	<ArrayItem>
	  <NumDays>7</NumDays>
	  <Type>1</Type>
	  <StartDate>12-20-2006</StartDate>
	  <ScheduleName>Template B</ScheduleName>
	  <ScheduleID>1165</ScheduleID>
	</ArrayItem>
	<ArrayItem>
	  <NumDays>6</NumDays>
	  <Type>1</Type>
	  <StartDate>9-26-2006</StartDate>
	  <ScheduleName>Template A</ScheduleName>
	  <ScheduleID>1172</ScheduleID>
	</ArrayItem>
	<ArrayItem>
	  <NumDays>28</NumDays>
	  <Type>1</Type>
	  <StartDate>7-6-2009</StartDate>
	  <ScheduleName>Tester</ScheduleName>
	  <ScheduleID>3004</ScheduleID>
	</ArrayItem>
  </Items>
  <ErrorCode>0</ErrorCode>
</WSDN> 

Resource Information

Response Format JSON/XML
Request Type POST