Return the entire list of departments for the Company

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  {
	"ErrorMessage": "Success",
	"Items": [
	{
	"Color": "339966",
	"SortValue": "0000000013",
	"Notes": "Weekends",
	"Active": "False",
	"CategoryName": "Downtown",
	"ShowEmployee": "False",
	"CatNo": "1",
	"CatItemID": "1"
	}
		]
}  

Resource Information

Response Format JSON
Request Type POST