Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
  "Id": 13,
  "FirstName": "string",
  "LastName": "string", 
  "EmailAddress": Object{
    "Value": "string", 
    "Locked": false
  },
  "TelNumber": Object{
    "Value": "string", 
    "Locked": false
  },
  "JobTitle": Object{
    "Value": "string", 
    "Locked": true
  },
  "UserImage": Object{
    "Value": "string", 
    "Locked": false
  },
  "EventsToday": int, // number of events user has today
  "DefaultLocation": Object{
    "LocationId": int,
    "Country": "string",
    "City": "string",
    "Site": "string",
    "Building": "string",
    "Floor": "string",
    "Zone": "string",
    "Locked": false
  },
  "AssignedWorkspace": Array[
    "Id": int,
    "ResName": "string",
    "Locked"
  ],
  "Departments": Array[
    Object{
      "Id": int,
      "Name": "string",
      "Manager": int (User Id),
      "Members": [int (User Id),int (User Id)],
      "Teams": [int,int,int]
    }
  ],
  "Teams": Array[
    Object{
      "Id": int,
      "Name": "string",
      "TeamLeader": int (User Id),
      "Members": [int (User Id),int (User Id)]
    }
  ],
  "BookableLocations": Array[
    Object{
      "LocationId": int,
      "Country": "string",
      "City": "string",
      "Site": "string",
      "Building": "string",
      "Floor": "string",
      "Zone": "string"
    }
  ],
  "ViewableLocations": Array[
    Object{
      "LocationId": int,
      "Country": "string",
      "City": "string",
      "Site": "string",
      "Building": "string",
      "Floor": "string",
      "Zone": "string"
    }
  ],
  "DateFormat": "dd/MM/yyyy",
  "24hrTimeFormat": boolean
}