Return the entire list of TimeOffReasons for the Company

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  {
 "ErrorMessage": "Success",
 "Items": [
	  {
	   "SortValue": "0000000016",
	   "Active": "True",
	   "CategoryName": "Vacation",
	   "ShowEmployee": "False",
	   "MonthlyViewName": "v",
	   "CatNo": "5",
	   "CatItemID": "16"
	  },{
	   "Color": "FF9900",
	   "SortValue": "0000000017",
	   "Active": "False",
	   "CategoryName": "Medical Leave",
	   "ShowEmployee": "False",
	   "CatNo": "5",
	   "CatItemID": "17"
	  },{
	   "SortValue": "0000000018",
	   "Active": "True",
	   "CategoryName": "Jury",
	   "ShowEmployee": "True",
	   "CatNo": "5",
	   "CatItemID": "18"
	  },{
	   "Color": "339966",
	   "SortValue": "0000000019",
	   "Active": "True",
	   "CategoryName": "Sick",
	   "ShowEmployee": "False",
	   "CatNo": "5",
	   "CatItemID": "19"
	  },{
	   "Color": "3366FF",
	   "SortValue": "0000000020",
	   "Active": "True",
	   "CategoryName": "Other PTO",
	   "ShowEmployee": "False",
	   "CatNo": "5",
	   "CatItemID": "20"
	  }],
	 "ErrorCode": "0"
	}  

Resource Information

Response Format JSON
Request Type POST