Return the entire list of TimesOfDay for the Company

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  {
 "ErrorMessage": "Success",
 "ItemResponses": [],
 "Items": [
  {
   "EndTime": "6:00:00 PM",
   "SortValue": "0000000001",
   "Active": "False",
   "CatItemID": "12",
   "ShowEmployee": "False",
   "Name": "Morning",
   "StartTime": "6:45:00 AM",
   "CatNo": "4"
  },{
   "EndTime": "2:00:00 PM",
   "SortValue": "0000000013",
   "Active": "False",
   "CatItemID": "13",
   "ShowEmployee": "False",
   "Name": "CNN Newshour 1p-2p",
   "StartTime": "1:00:00 PM",
   "CatNo": "4"
  },{
   "EndTime": "12:00:00 AM",
   "SortValue": "0000000015",
   "Active": "False",
   "CatItemID": "14",
   "ShowEmployee": "False",
   "Name": "Evening",
   "StartTime": "7:00:00 PM",
   "CatNo": "4"
  },{
   "EndTime": "6:00:00 AM",
   "SortValue": "0000000016",
   "Active": "False",
   "CatItemID": "15",
   "ShowEmployee": "False",
   "Name": "Overnight",
   "StartTime": "12:00:00 AM",
   "CatNo": "4"
  },{
   "EndTime": "12:00:00 AM",
   "SortValue": "0000000014",
   "Active": "False",
   "CatItemID": "25",
   "ShowEmployee": "False",
   "Name": "mid",
   "StartTime": "12:00:00 AM",
   "CatNo": "4"
  }],
 "ErrorCode": "0"
}  

XML Response

 <WSDN>
  <ErrorMessage>Success</ErrorMessage>
  <Items>
	<ArrayItem>
	  <EndTime>6:00:00 PM</EndTime>
	  <SortValue>0000000001</SortValue>
	  <Active>False</Active>
	  <CatItemID>12</CatItemID>
	  <ShowEmployee>False</ShowEmployee>
	  <Name>Morning</Name>
	  <StartTime>6:45:00 AM</StartTime>
	  <CatNo>4</CatNo>
	</ArrayItem>
	<ArrayItem>
	  <EndTime>2:00:00 PM</EndTime>
	  <SortValue>0000000013</SortValue>
	  <Active>False</Active>
	  <CatItemID>13</CatItemID>
	  <ShowEmployee>False</ShowEmployee>
	  <Name>CNN Newshour 1p-2p</Name>
	  <StartTime>1:00:00 PM</StartTime>
	  <CatNo>4</CatNo>
	</ArrayItem>
	<ArrayItem>
	  <EndTime>12:00:00 AM</EndTime>
	  <SortValue>0000000015</SortValue>
	  <Active>False</Active>
	  <CatItemID>14</CatItemID>
	  <ShowEmployee>False</ShowEmployee>
	  <Name>Evening</Name>
	  <StartTime>7:00:00 PM</StartTime>
	  <CatNo>4</CatNo>
	</ArrayItem>
	<ArrayItem>
	  <EndTime>6:00:00 AM</EndTime>
	  <SortValue>0000000016</SortValue>
	  <Active>False</Active>
	  <CatItemID>15</CatItemID>
	  <ShowEmployee>False</ShowEmployee>
	  <Name>Overnight</Name>
	  <StartTime>12:00:00 AM</StartTime>
	  <CatNo>4</CatNo>
	</ArrayItem>
	<ArrayItem>
	  <EndTime>12:00:00 AM</EndTime>
	  <SortValue>0000000014</SortValue>
	  <Active>False</Active>
	  <CatItemID>25</CatItemID>
	  <ShowEmployee>False</ShowEmployee>
	  <Name>mid</Name>
	  <StartTime>12:00:00 AM</StartTime>
	  <CatNo>4</CatNo>
	</ArrayItem>
  </Items>
  <ErrorCode>0</ErrorCode>
</WSDN> 

Resource Information

Response Format JSON/XML
Request Type POST