Return the entire list of users for the company.

Parameters

ParameterTypeRequiredNotes
None

Example Query

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

Sample JSON Input

  None  

JSON Response

  
{
 "ErrorMessage": "Success",
 "ItemResponses": [],
 "Items": [
  {
   "LastName": "Everret",
   "YearHired": "2000",
   "Permissions": {
	"UserType": "U",
	"DoNotSchedule": "False"
   },
   "UserName": "MEverret",
   "Email": "MEverret@test.com",
   "UserID": "59",
   "FirstName": "Mark"
  },{
   "LastName": "Castle",
   "DoB": "6-6-1993",
   "CellPhone": "1234567891",
   "YearHired": "1993",
   "HomePhone": "123 123 1234",
   "Permissions": {
	"UserType": "U",
	"DoNotSchedule": "False"
   },
   "UserName": "LCastle",
   "WorkPhone": "5715715711",
   "Email": "LCast@test.net",
   "UserID": "1",
   "FirstName": "Li"
  }
}  

XML Response

 <WSDN>
  <ErrorMessage>Success</ErrorMessage>
  <Items>
	<ArrayItem>
	  <LastName>Everret</LastName>
	  <YearHired>2000</YearHired>
	  <Permissions>
		<UserType>U</UserType>
		<DoNotSchedule>False</DoNotSchedule>
	  </Permissions>
	  <UserName>MEverret</UserName>
	  <Email>MEverret@test.com</Email>
	  <UserID>59</UserID>
	  <FirstName>Mark</FirstName>
	</ArrayItem>
	<ArrayItem>
	  <LastName>Castle</LastName>
	  <DoB>6-6-1993</DoB>
	  <CellPhone>1234567891</CellPhone>
	  <YearHired>1993</YearHired>
	  <HomePhone>123 123 1234</HomePhone>
	  <Permissions>
		<UserType>U</UserType>
		<DoNotSchedule>False</DoNotSchedule>
	  </Permissions>
	  <UserName>LCastle</UserName>
	  <WorkPhone>5715715711</WorkPhone>
	  <Email>LCast@test.net</Email>
	  <UserID>1</UserID>
	  <FirstName>Li</FirstName>
	</ArrayItem>
  </Items>
</WSDN> 

Resource Information

Response Format JSON/XML
Request Type POST