Set User Settings
Overview
Request for User’s to update their own user information.
Details
Type
POST
Endpoint
{{url}}/api/Users/SetSettings
Request
The request will contain all information that users can update about their profile.
Id
and EmailAddress
fields are used to identify the user to update.
Example
{
"Id": int,
"EmailAddress": "string",
"FirstName": "string",
"LastName": "string",
"TelNumber": "+00000000000",
"UserImage": "string",
"DefaultLocation": Object{
"LocationId": int,
"Country": "string",
"City": "string",
"Site": "string",
"Building": "string",
"Floor": "string",
"Zone": "string"
},
"WorkingDays": {
"Monday": true,
"Tuesday": true,
"Wednesday": true,
"Thursday": true,
"Friday": true,
"Saturday": false,
"Sunday": false
},
"DefaultWorkPlaces": Object{
"Monday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Tuesday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Wednesday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Thursday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Friday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Saturday": Array[],
"Sunday": Array[],
},
"WorkPlaceVisibility": "Organisation" // (Organisation, Department, Team, Only Me)
"DateFormat": "dd/MM/yyyy",
"Is24hrFormat": boolean,
"FirstDayOfWeek": "Monday", // (Monday, Tuesday, ...)
}
Response
Example
{
"Updated" true
}
, multiple selections available,