Return the entire list of areas for the Company

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  {
 "ErrorMessage": "Success",
 "Items": [
  {
   "Color": "800000",
   "SortValue": "0000000074",
   "Active": "False",
   "CategoryName": "Cashier",
   "ShowEmployee": "False",
   "CatNo": "3",
   "CatItemID": "8"
  },{
   "Color": "FF8080",
   "SortValue": "0000000008",
   "Active": "False",
   "CategoryName": "Manager",
   "ShowEmployee": "False",
   "CatNo": "3",
   "CatItemID": "9"
  }
	]
}  

XML Response

 <WSDN>
  <ErrorMessage>Success</ErrorMessage>
  <Items>
	<ArrayItem>
	  <Color>800000</Color>
	  <SortValue>0000000074</SortValue>
	  <Active>False</Active>
	  <CategoryName>Cashier</CategoryName>
	  <ShowEmployee>False</ShowEmployee>
	  <CatNo>3</CatNo>
	  <CatItemID>8</CatItemID>
	</ArrayItem>
	<ArrayItem>
	  <Color>FF8080</Color>
	  <SortValue>0000000008</SortValue>
	  <Active>False</Active>
	  <CategoryName>Manager</CategoryName>
	  <ShowEmployee>False</ShowEmployee>
	  <CatNo>3</CatNo>
	  <CatItemID>9</CatItemID>
	</ArrayItem>
  </Items>
</WSDN> 

Resource Information

Response Format JSON/XML
Request Type POST