Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

Overview

Request for User’s to update their own user information.

Details

Type

POST

Endpoint

{{url}}/api/User/SetData

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"
  },
  "DateFormat": "dd/MM/yyyy",
  "24hrTimeFormat": boolean,
}

Response

Example

{
  "Updated" true
}
  • No labels