POST api/Account/updateUserProfileWithMultipleRoles

Request Information

URI Parameters

None.

Body Parameters

EmployeeMdl
NameDescriptionTypeAdditional information
email

string

None.

employeeId

integer

None.

employeeNum

string

None.

firstName

string

None.

lastName

string

None.

FullName

string

None.

phone

string

None.

jobTitleId

integer

None.

jobTitle

string

None.

dob

date

None.

createdDate

date

None.

userRoleId

integer

None.

userRoleIds

Collection of integer

None.

Roles

Collection of UserRoleMdl

None.

userRoleType

string

None.

profileActivated

boolean

None.

userId

string

None.

profileImage

string

None.

badge

integer

None.

ReportApproved

boolean

None.

ReportReturnedforEdits

boolean

None.

SafetyMemoPolicyFaq

boolean

None.

ApplicationUpdate

boolean

None.

PerformanceCategorizationID

integer

None.

BaseID

integer

None.

RankID

integer

None.

HireDate

string

None.

TotalTimeAtCompany

string

None.

ApprovedAndRejectedReportStatus

ApprovedAndRejectedReportStatusMdl

None.

AcknowledgeStatus

AcknowledgeStatusMdl

None.

Group

Collection of integer

None.

Groups

Collection of UserGroupsMdl

None.

PerformanceCategorizationName

string

None.

BaseName

string

None.

RankName

string

None.

status

string

None.

isActive

boolean

None.

ReportPermission

Collection of ReportPermission

None.

ReportListForUser

Collection of ReportListForUserMdl

None.

LastLoginStamp

date

None.

IsListViewForSafetyMemo

boolean

None.

IsListViewForSafetyLibrary

boolean

None.

BaseUrl

string

None.

phoneExt

integer

None.

activeCompanyId

integer

None.

EmployeeDesignation

string

None.

NewJobTitle

string

None.

NewJobDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "employeeId": 2,
  "employeeNum": "sample string 3",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "FullName": "sample string 6",
  "phone": "sample string 7",
  "jobTitleId": 1,
  "jobTitle": "sample string 8",
  "dob": "2024-11-22T21:35:55.7484728-06:00",
  "createdDate": "2024-11-22T21:35:55.7484728-06:00",
  "userRoleId": 9,
  "userRoleIds": [
    1,
    2
  ],
  "Roles": [
    {
      "RoleId": 1,
      "RoleName": "sample string 2",
      "RoleAlias": "sample string 3"
    },
    {
      "RoleId": 1,
      "RoleName": "sample string 2",
      "RoleAlias": "sample string 3"
    }
  ],
  "userRoleType": "sample string 10",
  "profileActivated": true,
  "userId": "sample string 11",
  "profileImage": "sample string 12",
  "badge": 1,
  "ReportApproved": true,
  "ReportReturnedforEdits": true,
  "SafetyMemoPolicyFaq": true,
  "ApplicationUpdate": true,
  "PerformanceCategorizationID": 1,
  "BaseID": 1,
  "RankID": 1,
  "HireDate": "sample string 17",
  "TotalTimeAtCompany": "sample string 18",
  "ApprovedAndRejectedReportStatus": {
    "ReportFromYear": 1,
    "ApprovedReports": [
      {
        "Year": 1,
        "ReportCount": 2
      },
      {
        "Year": 1,
        "ReportCount": 2
      }
    ],
    "RejectedReports": [
      {
        "Year": 1,
        "ReportCount": 2
      },
      {
        "Year": 1,
        "ReportCount": 2
      }
    ]
  },
  "AcknowledgeStatus": {
    "SafetyMemo": {
      "TotalItems": 1,
      "AcknowledgeItems": 2
    },
    "SafetyLibrary": {
      "TotalItems": 1,
      "AcknowledgeItems": 2
    }
  },
  "Group": [
    1,
    2
  ],
  "Groups": [
    {
      "GroupId": 1,
      "GroupName": "sample string 2"
    },
    {
      "GroupId": 1,
      "GroupName": "sample string 2"
    }
  ],
  "PerformanceCategorizationName": "sample string 19",
  "BaseName": "sample string 20",
  "RankName": "sample string 21",
  "status": "sample string 22",
  "isActive": true,
  "ReportPermission": [
    {
      "ReportTypeID": 1,
      "ReportType": "sample string 2"
    },
    {
      "ReportTypeID": 1,
      "ReportType": "sample string 2"
    }
  ],
  "ReportListForUser": [
    {
      "ReportTypeID": 1,
      "ReportType": "sample string 2"
    },
    {
      "ReportTypeID": 1,
      "ReportType": "sample string 2"
    }
  ],
  "LastLoginStamp": "2024-11-22T21:35:55.7484728-06:00",
  "IsListViewForSafetyMemo": true,
  "IsListViewForSafetyLibrary": true,
  "BaseUrl": "https://accopsapi.aircar.com/",
  "phoneExt": 1,
  "activeCompanyId": 1,
  "EmployeeDesignation": "sample string 24",
  "NewJobTitle": "sample string 25",
  "NewJobDescription": "sample string 26"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseMdl
NameDescriptionTypeAdditional information
Status

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Data": {},
  "Message": "sample string 3"
}