PUT api/Account/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateUserDtoIn
NameDescriptionTypeAdditional information
Id

string

Required

FirstName

string

Required

Data type: Text

String length: inclusive between 0 and 50

LastName

string

Required

Data type: Text

String length: inclusive between 0 and 50

PhoneNumber

string

Data type: PhoneNumber

String length: inclusive between 0 and 50

Roles

Collection of RoleDtoIn

Required

LinkUserDivisions

Collection of LinkUserToDivisionDtoIn

Required

LinkUserBusinessUnit

Collection of LinkUserToBusinessUnitDtoIn

Required

Active

boolean

Required

UserReports

Collection of UserReport

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "phoneNumber": "sample string 4",
  "roles": [
    {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  ],
  "linkUserDivisions": [
    {
      "userId": "sample string 1",
      "divisionId": 2
    },
    {
      "userId": "sample string 1",
      "divisionId": 2
    }
  ],
  "linkUserBusinessUnit": [
    {
      "userId": "sample string 1",
      "businessUnitId": 2
    },
    {
      "userId": "sample string 1",
      "businessUnitId": 2
    }
  ],
  "active": true,
  "userReports": [
    {
      "id": "9e24cfee-2e22-443b-8396-7ab468df2143",
      "isActive": true,
      "reportId": "72bc7f08-b56b-4a79-a10d-98e6ed02005f",
      "userName": "sample string 4",
      "isDeleted": true
    },
    {
      "id": "9e24cfee-2e22-443b-8396-7ab468df2143",
      "isActive": true,
      "reportId": "72bc7f08-b56b-4a79-a10d-98e6ed02005f",
      "userName": "sample string 4",
      "isDeleted": true
    }
  ]
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.