Return the entire list of categories for the Company

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  {
 "ErrorMessage": "Success",
 "ItemResponses": [],
 "Items": [
  {
   "AllowNotes": "True",
   "DontShowInMonthlyView": "False",
   "SingularName": "Department",
   "RankEmployees": "True",
   "MultipleSelectionOn": "False",
   "ShowInCrossSection": "True",
   "DisableCategory": "False",
   "Payroll": "True",
   "AddOnFly": "False",
   "QualEmployees": "True",
   "PluralName": "Departments",
   "TypeNo": "4",
   "Type": "Department",
   "DontShowInWeeklyView": "False",
   "CatNo": "1"
  },{
   "AllowNotes": "True",
   "DontShowInMonthlyView": "False",
   "SingularName": "Restaurant",
   "RankEmployees": "True",
   "MultipleSelectionOn": "True",
   "ShowInCrossSection": "True",
   "DisableCategory": "False",
   "Payroll": "False",
   "AddOnFly": "True",
   "QualEmployees": "True",
   "PluralName": "Restaurants",
   "TypeNo": "5",
   "Type": "Task",
   "DontShowInWeeklyView": "False",
   "CatNo": "2"
  }
 ]
}  

XML Response

 
	<WSDN>
	  <ErrorMessage>Success</ErrorMessage>
	  <Items>
		<ArrayItem>
		  <AllowNotes>True</AllowNotes>
		  <DontShowInMonthlyView>False</DontShowInMonthlyView>
		  <SingularName>Department</SingularName>
		  <RankEmployees>True</RankEmployees>
		  <MultipleSelectionOn>False</MultipleSelectionOn>
		  <ShowInCrossSection>True</ShowInCrossSection>
		  <DisableCategory>False</DisableCategory>
		  <Payroll>True</Payroll>
		  <AddOnFly>False</AddOnFly>
		  <QualEmployees>True</QualEmployees>
		  <PluralName>Departments</PluralName>
		  <TypeNo>4</TypeNo>
		  <Type>Department</Type>
		  <DontShowInWeeklyView>False</DontShowInWeeklyView>
		  <CatNo>1</CatNo>
		</ArrayItem>
		<ArrayItem>
		  <AllowNotes>True</AllowNotes>
		  <DontShowInMonthlyView>False</DontShowInMonthlyView>
		  <SingularName>Restaurant</SingularName>
		  <RankEmployees>True</RankEmployees>
		  <MultipleSelectionOn>True</MultipleSelectionOn>
		  <ShowInCrossSection>True</ShowInCrossSection>
		  <DisableCategory>False</DisableCategory>
		  <Payroll>False</Payroll>
		  <AddOnFly>True</AddOnFly>
		  <QualEmployees>True</QualEmployees>
		  <PluralName>Restaurants</PluralName>
		  <TypeNo>5</TypeNo>
		  <Type>Task</Type>
		  <DontShowInWeeklyView>False</DontShowInWeeklyView>
		  <CatNo>2</CatNo>
		</ArrayItem>
	  </Items>
	</WSDN> 

Resource Information

Response Format JSON/XML
Request Type POST