Get specified list of Category Items.

Query Parameters

ParameterTypeRequiredNotes
CatNoIntegerTrue

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  {
 "ErrorMessage": "Success",
 "Items": [
  {
   "Color": "339966",
   "SortValue": "0000000013",
   "Notes": "TestNote",
   "Active": "True",
   "CategoryName": "Category",
   "ShowEmployee": "False",
   "CatNo": "1",
   "CatItemID": "1"
  },{
   "Color": "99CCFF",
   "SortValue": "0000000004",
   "Active": "False",
   "CategoryName": "Category2",
   "ShowEmployee": "False",
   "CatNo": "1",
   "CatItemID": "2"
  },{
   "Color": "FF9900",
   "SortValue": "0000000010",
   "Active": "False",
   "CategoryName": "Category3",
   "ShowEmployee": "False",
   "CatNo": "1",
   "CatItemID": "3"
  }
	]
}  

XML Response

 <WSDN>
  <ErrorMessage>Success</ErrorMessage>
  <Items>
	<ArrayItem>
	  <Color>339966</Color>
	  <SortValue>0000000013</SortValue>
	  <Notes>TestNote</Notes>
	  <Active>True</Active>
	  <CategoryName>Category</CategoryName>
	  <ShowEmployee>False</ShowEmployee>
	  <CatNo>1</CatNo>
	  <CatItemID>1</CatItemID>
	</ArrayItem>
	<ArrayItem>
	  <Color>99CCFF</Color>
	  <SortValue>0000000004</SortValue>
	  <Active>False</Active>
	  <CategoryName>Category2</CategoryName>
	  <ShowEmployee>False</ShowEmployee>
	  <CatNo>1</CatNo>
	  <CatItemID>2</CatItemID>
	</ArrayItem>
	<ArrayItem>
	  <Color>FF9900</Color>
	  <SortValue>0000000010</SortValue>
	  <Active>False</Active>
	  <CategoryName>Category3</CategoryName>
	  <ShowEmployee>False</ShowEmployee>
	  <CatNo>1</CatNo>
	  <CatItemID>3</CatItemID>
	</ArrayItem>
  </Items>
</WSDN> 

Resource Information

Response Format JSON/XML
Request Type POST