PUT api/UpdateUser

Request Information

URI Parameters

None.

Body Parameters

UserAndWeight
NameDescriptionTypeAdditional information
UserID

integer

None.

UserFirstName

string

None.

UserSurname

string

None.

UserEmail

string

None.

UserPostcode

string

None.

UserRegistrationDate

date

None.

UserRegistrationExpiry

date

None.

UserLastRenewalDate

date

None.

UserMembershipLevel

integer

None.

UserPassword

string

None.

UserLat

decimal number

None.

UserLong

decimal number

None.

Sex

string

None.

DOB

date

None.

Height

decimal number

None.

WkStartOffset

byte

None.

MetricDist

boolean

None.

MetricWeight

boolean

None.

UserProfPic

string

None.

UserProfPicURL

string

None.

UserWeight

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserFirstName": "sample string 2",
  "UserSurname": "sample string 3",
  "UserEmail": "sample string 4",
  "UserPostcode": "sample string 5",
  "UserRegistrationDate": "2026-09-17T11:57:04.522067+00:00",
  "UserRegistrationExpiry": "2026-09-17T11:57:04.522067+00:00",
  "UserLastRenewalDate": "2026-09-17T11:57:04.522067+00:00",
  "UserMembershipLevel": 1,
  "UserPassword": "sample string 6",
  "UserLat": 1.1,
  "UserLong": 1.1,
  "Sex": "sample string 7",
  "DOB": "2026-09-17T11:57:04.522067+00:00",
  "Height": 1.1,
  "WkStartOffset": 64,
  "MetricDist": true,
  "MetricWeight": true,
  "UserProfPic": "sample string 10",
  "UserProfPicURL": "sample string 11",
  "UserWeight": 1.1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
UserID

integer

None.

UserFirstName

string

None.

UserSurname

string

None.

UserEmail

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

Town

string

None.

CountyID

integer

None.

UserPostcode

string

None.

NewsletterUser

boolean

None.

UserRegistrationDate

date

None.

UserRegistrationExpiry

date

None.

UserLastRenewalDate

date

None.

UserMembershipLevel

integer

None.

UserPassword

string

None.

UserLat

decimal number

None.

UserLong

decimal number

None.

MarketingSourceCode

integer

None.

Sex

string

None.

DOB

date

None.

Height

decimal number

None.

SSMA_TimeStamp

Collection of byte

None.

WkStartOffset

byte

None.

Barred

boolean

None.

BarredDate

date

None.

Nickname

string

None.

UserNotes

string

None.

Leagues

boolean

None.

ShareLB

boolean

None.

ShareSR

boolean

None.

ShareTP

boolean

None.

ShareGL

boolean

None.

ClubDisc

boolean

None.

ClubDiscDate

date

None.

ClubDiscClubID

integer

None.

RefCodeID

integer

None.

Widgets

string

None.

MetricDist

boolean

None.

MetricWeight

boolean

None.

DataPurged

boolean

None.

DateJoined

date

None.

PriceFixDate

date

None.

ExTrial

boolean

None.

WklyRoundup

boolean

None.

NotifyMT

boolean

None.

NotifyFT

boolean

None.

UserProfPic

string

None.

SecurityStamp

string

None.

Widgets_orig

string

None.

joinedviawebsite

string

None.

ShareRoutes

boolean

None.

splashscreenviews

integer

None.

UserPasswordNew

string

None.

binarypassword

Collection of byte

None.

UserPreferences

Collection of UserPreference

None.

Weights

Collection of Weight

None.

Logins

Collection of Login

None.

LoggedRuns

Collection of LoggedRun

None.

Response Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserFirstName": "sample string 2",
  "UserSurname": "sample string 3",
  "UserEmail": "sample string 4",
  "AddressLine1": "sample string 5",
  "AddressLine2": "sample string 6",
  "Town": "sample string 7",
  "CountyID": 1,
  "UserPostcode": "sample string 8",
  "NewsletterUser": true,
  "UserRegistrationDate": "2026-09-17T11:57:04.5360299+00:00",
  "UserRegistrationExpiry": "2026-09-17T11:57:04.5360299+00:00",
  "UserLastRenewalDate": "2026-09-17T11:57:04.5360299+00:00",
  "UserMembershipLevel": 1,
  "UserPassword": "sample string 10",
  "UserLat": 1.1,
  "UserLong": 1.1,
  "MarketingSourceCode": 1,
  "Sex": "sample string 11",
  "DOB": "2026-09-17T11:57:04.5370271+00:00",
  "Height": 1.1,
  "SSMA_TimeStamp": "QEA=",
  "WkStartOffset": 64,
  "Barred": true,
  "BarredDate": "2026-09-17T11:57:04.5370271+00:00",
  "Nickname": "sample string 13",
  "UserNotes": "sample string 14",
  "Leagues": true,
  "ShareLB": true,
  "ShareSR": true,
  "ShareTP": true,
  "ShareGL": true,
  "ClubDisc": true,
  "ClubDiscDate": "2026-09-17T11:57:04.5370271+00:00",
  "ClubDiscClubID": 1,
  "RefCodeID": 1,
  "Widgets": "sample string 21",
  "MetricDist": true,
  "MetricWeight": true,
  "DataPurged": true,
  "DateJoined": "2026-09-17T11:57:04.5370271+00:00",
  "PriceFixDate": "2026-09-17T11:57:04.5370271+00:00",
  "ExTrial": true,
  "WklyRoundup": true,
  "NotifyMT": true,
  "NotifyFT": true,
  "UserProfPic": "sample string 28",
  "SecurityStamp": "sample string 29",
  "Widgets_orig": "sample string 30",
  "joinedviawebsite": "sample string 31",
  "ShareRoutes": true,
  "splashscreenviews": 1,
  "UserPasswordNew": "sample string 32",
  "binarypassword": "QEA=",
  "UserPreferences": [
    {
      "PrefID": 1,
      "UserID": 2,
      "DistUnits": 3.1,
      "AutoPan": true,
      "DistMarkers": true,
      "Pace": 1,
      "LineColStr": "sample string 4",
      "LineColSat": "sample string 5",
      "AutoDir": true
    },
    {
      "PrefID": 1,
      "UserID": 2,
      "DistUnits": 3.1,
      "AutoPan": true,
      "DistMarkers": true,
      "Pace": 1,
      "LineColStr": "sample string 4",
      "LineColSat": "sample string 5",
      "AutoDir": true
    }
  ],
  "Weights": [
    {
      "WeightID": 1,
      "UserID": 2,
      "WeightType": "sample string 3",
      "WeightDate": "2026-09-17T11:57:04.5380244+00:00",
      "Weight1": 4.1,
      "Fat": 1.1,
      "Waist": 1.1,
      "GraphLabel": "sample string 5",
      "Notes": "sample string 6",
      "SSMA_TimeStamp": "QEA="
    },
    {
      "WeightID": 1,
      "UserID": 2,
      "WeightType": "sample string 3",
      "WeightDate": "2026-09-17T11:57:04.5380244+00:00",
      "Weight1": 4.1,
      "Fat": 1.1,
      "Waist": 1.1,
      "GraphLabel": "sample string 5",
      "Notes": "sample string 6",
      "SSMA_TimeStamp": "QEA="
    }
  ],
  "Logins": [
    {
      "LoginID": 1,
      "UserID": 2,
      "LoginDate": "2026-09-17T11:57:04.5390217+00:00"
    },
    {
      "LoginID": 1,
      "UserID": 2,
      "LoginDate": "2026-09-17T11:57:04.5390217+00:00"
    }
  ],
  "LoggedRuns": [
    {
      "RunID": 1,
      "UserID": 1,
      "RunName": "sample string 2",
      "Distance": 1.1,
      "Mins": 1,
      "Secs": 1,
      "DateRan": "2026-09-17T11:57:04.5390217+00:00",
      "Performance": 1.1,
      "Notes": "sample string 3",
      "RunType": 1,
      "CheckforPB": true,
      "IncludeinStats": true,
      "GRGRunNumber": 1,
      "GroupRunID": 1,
      "SSMA_TimeStamp": "QEA=",
      "RouteID": 1,
      "RouteType": "sample string 6",
      "AHR": 1,
      "ActivID": 1,
      "ShoeID": 1,
      "HRR": 1,
      "Exclude": true,
      "Terrain": 64,
      "Calories": 1,
      "ExtShare": true,
      "MultiSport": true,
      "GCUploadID": "sample string 8",
      "Caloriescalculated": 1,
      "ccc": 1,
      "tmpweight": 1.1,
      "tmpdist": 1.1,
      "DeviceDistance": 1.1,
      "DeviceTime": 1.1
    },
    {
      "RunID": 1,
      "UserID": 1,
      "RunName": "sample string 2",
      "Distance": 1.1,
      "Mins": 1,
      "Secs": 1,
      "DateRan": "2026-09-17T11:57:04.5390217+00:00",
      "Performance": 1.1,
      "Notes": "sample string 3",
      "RunType": 1,
      "CheckforPB": true,
      "IncludeinStats": true,
      "GRGRunNumber": 1,
      "GroupRunID": 1,
      "SSMA_TimeStamp": "QEA=",
      "RouteID": 1,
      "RouteType": "sample string 6",
      "AHR": 1,
      "ActivID": 1,
      "ShoeID": 1,
      "HRR": 1,
      "Exclude": true,
      "Terrain": 64,
      "Calories": 1,
      "ExtShare": true,
      "MultiSport": true,
      "GCUploadID": "sample string 8",
      "Caloriescalculated": 1,
      "ccc": 1,
      "tmpweight": 1.1,
      "tmpdist": 1.1,
      "DeviceDistance": 1.1,
      "DeviceTime": 1.1
    }
  ]
}