POST api/v1/persons/{id}/change_password_mobile

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

User
NameDescriptionTypeAdditional information
id

globally unique identifier

Required

image_id

globally unique identifier

None.

subject

CodeList

None.

position

string

None.

password

string

None.

first_name

string

None.

last_name

string

None.

code

string

None.

people_soft_id

string

None.

skype

string

None.

teams

string

None.

whatsup

string

None.

gender

CodeListSystem

None.

inactive

boolean

None.

rate

decimal number

None.

rate_date

date

None.

rate_description

string

None.

email

string

None.

phone

string

None.

birthdate

date

None.

deleted

boolean

Required

system_information

SystemInformation

None.

state_id

integer

Required

timesheet

boolean

Required

attendence

boolean

Required

agreement

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "id": "5ddef986-536a-4dcc-babf-7f3f3a779795",
  "image_id": "078081c9-bef3-498d-9d8d-00f60a8739b1",
  "subject": {
    "id": "dacf9bd3-4085-4249-b5a9-8bbaf2aab1da",
    "name": "sample string 2",
    "deleted": true,
    "system_information": {
      "creation": {
        "user": {
          "id": 1,
          "image_id": "5f7108bc-f9bc-411b-a26d-ac76a9bc5240",
          "code": "sample string 2",
          "title": "sample string 5",
          "introduction": "sample string 6",
          "first_name": "sample string 7",
          "last_name": "sample string 8",
          "full_name": "sample string 9",
          "note": "sample string 10"
        },
        "date": "2026-02-08T14:10:46Z"
      },
      "last_change": {
        "user": {
          "id": 1,
          "image_id": "5f7108bc-f9bc-411b-a26d-ac76a9bc5240",
          "code": "sample string 2",
          "title": "sample string 5",
          "introduction": "sample string 6",
          "first_name": "sample string 7",
          "last_name": "sample string 8",
          "full_name": "sample string 9",
          "note": "sample string 10"
        },
        "date": "2026-02-08T14:10:46Z"
      }
    }
  },
  "position": "sample string 2",
  "password": "sample string 3",
  "first_name": "sample string 4",
  "last_name": "sample string 5",
  "code": "sample string 6",
  "people_soft_id": "sample string 7",
  "skype": "sample string 8",
  "teams": "sample string 9",
  "whatsup": "sample string 10",
  "gender": {
    "code": "sample string 1",
    "is_cabel": true,
    "id": 3,
    "name": "sample string 4"
  },
  "inactive": true,
  "rate": 1.0,
  "rate_date": "2026-02-08T14:10:46Z",
  "rate_description": "sample string 12",
  "email": "sample string 13",
  "phone": "sample string 14",
  "birthdate": "2026-02-08T14:10:46Z",
  "deleted": true,
  "system_information": {
    "creation": {
      "user": {
        "id": 1,
        "image_id": "5f7108bc-f9bc-411b-a26d-ac76a9bc5240",
        "code": "sample string 2",
        "title": "sample string 5",
        "introduction": "sample string 6",
        "first_name": "sample string 7",
        "last_name": "sample string 8",
        "full_name": "sample string 9",
        "note": "sample string 10"
      },
      "date": "2026-02-08T14:10:46Z"
    },
    "last_change": {
      "user": {
        "id": 1,
        "image_id": "5f7108bc-f9bc-411b-a26d-ac76a9bc5240",
        "code": "sample string 2",
        "title": "sample string 5",
        "introduction": "sample string 6",
        "first_name": "sample string 7",
        "last_name": "sample string 8",
        "full_name": "sample string 9",
        "note": "sample string 10"
      },
      "date": "2026-02-08T14:10:46Z"
    }
  },
  "state_id": 1,
  "timesheet": true,
  "attendence": true,
  "agreement": true
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <agreement>true</agreement>
  <attendence>true</attendence>
  <birthdate>2026-02-08T15:10:46.173207+01:00</birthdate>
  <code>sample string 6</code>
  <deleted>true</deleted>
  <email>sample string 13</email>
  <first_name>sample string 4</first_name>
  <gender>
    <id>3</id>
    <name>sample string 4</name>
    <code>sample string 1</code>
    <is_cabel>true</is_cabel>
  </gender>
  <id>5ddef986-536a-4dcc-babf-7f3f3a779795</id>
  <image_id>078081c9-bef3-498d-9d8d-00f60a8739b1</image_id>
  <inactive>true</inactive>
  <last_name>sample string 5</last_name>
  <password>sample string 3</password>
  <people_soft_id>sample string 7</people_soft_id>
  <phone>sample string 14</phone>
  <position>sample string 2</position>
  <rate>1</rate>
  <rate_date>2026-02-08T15:10:46.173207+01:00</rate_date>
  <rate_description>sample string 12</rate_description>
  <skype>sample string 8</skype>
  <state_id>1</state_id>
  <subject>
    <deleted>true</deleted>
    <id>dacf9bd3-4085-4249-b5a9-8bbaf2aab1da</id>
    <name>sample string 2</name>
    <system_information>
      <creation>
        <date>2026-02-08T15:10:46.173207+01:00</date>
        <user>
          <code>sample string 2</code>
          <first_name>sample string 7</first_name>
          <full_name>sample string 9</full_name>
          <id>1</id>
          <image_id>5f7108bc-f9bc-411b-a26d-ac76a9bc5240</image_id>
          <introduction>sample string 6</introduction>
          <last_name>sample string 8</last_name>
          <note>sample string 10</note>
          <title>sample string 5</title>
        </user>
      </creation>
      <last_change>
        <date>2026-02-08T15:10:46.173207+01:00</date>
        <user>
          <code>sample string 2</code>
          <first_name>sample string 7</first_name>
          <full_name>sample string 9</full_name>
          <id>1</id>
          <image_id>5f7108bc-f9bc-411b-a26d-ac76a9bc5240</image_id>
          <introduction>sample string 6</introduction>
          <last_name>sample string 8</last_name>
          <note>sample string 10</note>
          <title>sample string 5</title>
        </user>
      </last_change>
    </system_information>
  </subject>
  <system_information>
    <creation>
      <date>2026-02-08T15:10:46.173207+01:00</date>
      <user>
        <code>sample string 2</code>
        <first_name>sample string 7</first_name>
        <full_name>sample string 9</full_name>
        <id>1</id>
        <image_id>5f7108bc-f9bc-411b-a26d-ac76a9bc5240</image_id>
        <introduction>sample string 6</introduction>
        <last_name>sample string 8</last_name>
        <note>sample string 10</note>
        <title>sample string 5</title>
      </user>
    </creation>
    <last_change>
      <date>2026-02-08T15:10:46.173207+01:00</date>
      <user>
        <code>sample string 2</code>
        <first_name>sample string 7</first_name>
        <full_name>sample string 9</full_name>
        <id>1</id>
        <image_id>5f7108bc-f9bc-411b-a26d-ac76a9bc5240</image_id>
        <introduction>sample string 6</introduction>
        <last_name>sample string 8</last_name>
        <note>sample string 10</note>
        <title>sample string 5</title>
      </user>
    </last_change>
  </system_information>
  <teams>sample string 9</teams>
  <timesheet>true</timesheet>
  <whatsup>sample string 10</whatsup>
</User>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'User'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
messages

Collection of ResultMessage

None.

count_of_errors

integer

None.

id

Object

None.

name

string

None.

data

Object

None.

url

string

None.

text

string

None.

inner_exception

string

None.

Response Formats

application/json, text/json

Sample:
{
  "messages": [
    {
      "type": 1,
      "code": 1,
      "message": "sample string 1",
      "field": "sample string 2"
    },
    {
      "type": 1,
      "code": 1,
      "message": "sample string 1",
      "field": "sample string 2"
    }
  ],
  "count_of_errors": 1,
  "id": {},
  "name": "sample string 3",
  "data": {},
  "url": "sample string 5",
  "text": "sample string 6",
  "inner_exception": "sample string 7"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
  <count_of_errors>1</count_of_errors>
  <data />
  <id />
  <inner_exception>sample string 7</inner_exception>
  <messages>
    <ResultMessage>
      <code>1</code>
      <field>sample string 2</field>
      <message>sample string 1</message>
      <type>1</type>
    </ResultMessage>
    <ResultMessage>
      <code>1</code>
      <field>sample string 2</field>
      <message>sample string 1</message>
      <type>1</type>
    </ResultMessage>
  </messages>
  <name>sample string 3</name>
  <text>sample string 6</text>
  <url>sample string 5</url>
</Result>