GET api/Users/ChangePwd?oldpwd={oldpwd}&newpwd={newpwd}&userid={userid}&_Credentials={_Credentials}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
oldpwd

string

Required

newpwd

string

Required

userid

integer

Required

_Credentials

string

Required

Body Parameters

None.

Response Information

Resource Description

cEntityPerson
NameDescriptionTypeAdditional information
id

integer

None.

user_name

string

None.

user_freshdesk_id

string

None.

user_freshdesk_group

string

None.

user_profile

integer

None.

user_company

integer

None.

user_local_company

integer

None.

user_role

integer

None.

user_profissional_category

integer

None.

user_department

integer

None.

user_department_sub

integer

None.

user_local_birth

string

None.

user_birthdate

string

None.

user_nacionality

string

None.

user_fiscal_number

string

None.

user_identification_card

string

None.

user_socialsecurity_number

string

None.

user_passport

string

None.

user_email

string

None.

user_company_email

string

None.

user_phone_number

string

None.

user_phone_local

string

None.

user_phone_extension

string

None.

user_phone_group

string

None.

user_adress

string

None.

user_local_adress

string

None.

user_zip_code

string

None.

user_district_birth

string

None.

user_concelho_birth

string

None.

user_freguesia_birth

string

None.

user_zip_adress

string

None.

user_concelho

string

None.

user_district

string

None.

user_freguesia

string

None.

user_start_date

string

None.

user_end_date

string

None.

user_status

integer

None.

user_degree

integer

None.

user_degree_name

string

None.

user_degree_school

string

None.

user_boss

integer

None.

user_internal

integer

None.

user_password

string

None.

user_whatsupbot

string

None.

user_isusingbot

integer

None.

user_about

string

None.

user_company_name

string

None.

user_role_name

string

None.

user_phone_company

string

None.

user_sex_type

integer

None.

user_married_state

integer

None.

user_children

integer

None.

user_isative

integer

None.

user_image_path

string

None.

user_totferias

integer

None.

user_totausencia

integer

None.

user_totteletrabalho

integer

None.

user_totfaltas

integer

None.

user_send_login_notification

integer

None.

_SendCredentials

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

_ContractData

cEntityUserContract

None.

_UserDocuments

Collection of cEntityUserDocuments

None.

_UserSchedule

Collection of cEntity_pro_users_schedule

None.

_UserMaterial

Collection of cEntity_pro_articles_movments_people

None.

Response Formats

application/json, text/json

Sample:
{
  "_ContractData": {
    "id": 1,
    "user_contract_start_date": "sample string 2",
    "user_contract_type": 3,
    "useer_contract_duration": 4,
    "user_contract_end_date": "sample string 5",
    "user_contract_why": "sample string 6",
    "user_contract_week_hours": 7.1,
    "user_contract_mon_hours": 8.1,
    "user_contract_tue_hours": 9.1,
    "user_contract_wed_hours": 10.1,
    "user_contract_thu_hours": 11.1,
    "user_contract_fri_hours": 12.1,
    "user_contract_sat_hours": 13.1,
    "user_contract_sun_hours": 14.1,
    "user_contract_start_hour": "sample string 15",
    "user_contract_stopmeal_hour": "sample string 16",
    "user_contract_startaftermeal_hour": "sample string 17",
    "user_contract_end_hour": "sample string 18",
    "user_id": 19,
    "user_contract_profissional_cat": 20,
    "user_contract_base_salary": 21.1,
    "user_contract_noschedule_salary": 22.1,
    "user_contract_meal_salary": 23.1,
    "user_contract_transportation_salary": 24.1,
    "user_contract_other_salary": 25.1,
    "_SendCredentials": "sample string 26",
    "_Action": "sample string 27",
    "hasError": true,
    "hasErrorMessage": "sample string 29"
  },
  "_UserDocuments": [
    {
      "id": 1,
      "user_id": 2,
      "user_document_type": 3,
      "user_document_name": "sample string 4",
      "user_document_path": "sample string 5",
      "_SendCredentials": "sample string 6",
      "_Action": "sample string 7",
      "hasError": true,
      "hasErrorMessage": "sample string 9"
    },
    {
      "id": 1,
      "user_id": 2,
      "user_document_type": 3,
      "user_document_name": "sample string 4",
      "user_document_path": "sample string 5",
      "_SendCredentials": "sample string 6",
      "_Action": "sample string 7",
      "hasError": true,
      "hasErrorMessage": "sample string 9"
    }
  ],
  "_UserSchedule": [
    {
      "id": 1,
      "userid": 2,
      "schedule_week_id": 3,
      "schedule_start": "sample string 4",
      "schedule_end": "sample string 5",
      "schedule_name": "sample string 6",
      "_Action": "sample string 7",
      "hasError": true,
      "hasErrorMessage": "sample string 9",
      "_SendCredentials": "sample string 10"
    },
    {
      "id": 1,
      "userid": 2,
      "schedule_week_id": 3,
      "schedule_start": "sample string 4",
      "schedule_end": "sample string 5",
      "schedule_name": "sample string 6",
      "_Action": "sample string 7",
      "hasError": true,
      "hasErrorMessage": "sample string 9",
      "_SendCredentials": "sample string 10"
    }
  ],
  "_UserMaterial": [
    {
      "id": 1,
      "main_id": 2,
      "mov_date": "sample string 3",
      "mov_people": 4,
      "mov_people_name": "sample string 5",
      "mov_obs": "sample string 6",
      "_Action": "sample string 7",
      "mov_type_name": "sample string 8",
      "mov_article_name": "sample string 9",
      "mov_serial_number": "sample string 10",
      "hasError": true,
      "hasErrorMessage": "sample string 12",
      "_SendCredentials": "sample string 13"
    },
    {
      "id": 1,
      "main_id": 2,
      "mov_date": "sample string 3",
      "mov_people": 4,
      "mov_people_name": "sample string 5",
      "mov_obs": "sample string 6",
      "_Action": "sample string 7",
      "mov_type_name": "sample string 8",
      "mov_article_name": "sample string 9",
      "mov_serial_number": "sample string 10",
      "hasError": true,
      "hasErrorMessage": "sample string 12",
      "_SendCredentials": "sample string 13"
    }
  ],
  "id": 1,
  "user_name": "sample string 2",
  "user_freshdesk_id": "sample string 3",
  "user_freshdesk_group": "sample string 4",
  "user_profile": 5,
  "user_company": 6,
  "user_local_company": 7,
  "user_role": 8,
  "user_profissional_category": 9,
  "user_department": 10,
  "user_department_sub": 11,
  "user_local_birth": "sample string 12",
  "user_birthdate": "sample string 13",
  "user_nacionality": "sample string 14",
  "user_fiscal_number": "sample string 15",
  "user_identification_card": "sample string 16",
  "user_socialsecurity_number": "sample string 17",
  "user_passport": "sample string 18",
  "user_email": "sample string 19",
  "user_company_email": "sample string 20",
  "user_phone_number": "sample string 21",
  "user_phone_local": "sample string 22",
  "user_phone_extension": "sample string 23",
  "user_phone_group": "sample string 24",
  "user_adress": "sample string 25",
  "user_local_adress": "sample string 26",
  "user_zip_code": "sample string 27",
  "user_district_birth": "sample string 28",
  "user_concelho_birth": "sample string 29",
  "user_freguesia_birth": "sample string 30",
  "user_zip_adress": "sample string 31",
  "user_concelho": "sample string 32",
  "user_district": "sample string 33",
  "user_freguesia": "sample string 34",
  "user_start_date": "sample string 35",
  "user_end_date": "sample string 36",
  "user_status": 37,
  "user_degree": 38,
  "user_degree_name": "sample string 39",
  "user_degree_school": "sample string 40",
  "user_boss": 41,
  "user_internal": 42,
  "user_password": "sample string 43",
  "user_whatsupbot": "sample string 44",
  "user_isusingbot": 45,
  "user_about": "sample string 46",
  "user_company_name": "sample string 47",
  "user_role_name": "sample string 48",
  "user_phone_company": "sample string 49",
  "user_sex_type": 50,
  "user_married_state": 51,
  "user_children": 52,
  "user_isative": 53,
  "user_image_path": "sample string 54",
  "user_totferias": 55,
  "user_totausencia": 56,
  "user_totteletrabalho": 57,
  "user_totfaltas": 58,
  "user_send_login_notification": 59,
  "_SendCredentials": "sample string 60",
  "_Action": "sample string 61",
  "hasError": true,
  "hasErrorMessage": "sample string 63"
}

application/xml, text/xml

Sample:
<RhClass.cEntityPerson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <_Action>sample string 61</_Action>
  <_ContractData>
    <_Action>sample string 27</_Action>
    <_SendCredentials>sample string 26</_SendCredentials>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 29</hasErrorMessage>
    <id>1</id>
    <useer_contract_duration>4</useer_contract_duration>
    <user_contract_base_salary>21.1</user_contract_base_salary>
    <user_contract_end_date>sample string 5</user_contract_end_date>
    <user_contract_end_hour>sample string 18</user_contract_end_hour>
    <user_contract_fri_hours>12.1</user_contract_fri_hours>
    <user_contract_meal_salary>23.1</user_contract_meal_salary>
    <user_contract_mon_hours>8.1</user_contract_mon_hours>
    <user_contract_noschedule_salary>22.1</user_contract_noschedule_salary>
    <user_contract_other_salary>25.1</user_contract_other_salary>
    <user_contract_profissional_cat>20</user_contract_profissional_cat>
    <user_contract_sat_hours>13.1</user_contract_sat_hours>
    <user_contract_start_date>sample string 2</user_contract_start_date>
    <user_contract_start_hour>sample string 15</user_contract_start_hour>
    <user_contract_startaftermeal_hour>sample string 17</user_contract_startaftermeal_hour>
    <user_contract_stopmeal_hour>sample string 16</user_contract_stopmeal_hour>
    <user_contract_sun_hours>14.1</user_contract_sun_hours>
    <user_contract_thu_hours>11.1</user_contract_thu_hours>
    <user_contract_transportation_salary>24.1</user_contract_transportation_salary>
    <user_contract_tue_hours>9.1</user_contract_tue_hours>
    <user_contract_type>3</user_contract_type>
    <user_contract_wed_hours>10.1</user_contract_wed_hours>
    <user_contract_week_hours>7.1</user_contract_week_hours>
    <user_contract_why>sample string 6</user_contract_why>
    <user_id>19</user_id>
  </_ContractData>
  <_SendCredentials>sample string 60</_SendCredentials>
  <_UserDocuments>
    <RhClass.cEntityUserDocuments>
      <_Action>sample string 7</_Action>
      <_SendCredentials>sample string 6</_SendCredentials>
      <hasError>true</hasError>
      <hasErrorMessage>sample string 9</hasErrorMessage>
      <id>1</id>
      <user_document_name>sample string 4</user_document_name>
      <user_document_path>sample string 5</user_document_path>
      <user_document_type>3</user_document_type>
      <user_id>2</user_id>
    </RhClass.cEntityUserDocuments>
    <RhClass.cEntityUserDocuments>
      <_Action>sample string 7</_Action>
      <_SendCredentials>sample string 6</_SendCredentials>
      <hasError>true</hasError>
      <hasErrorMessage>sample string 9</hasErrorMessage>
      <id>1</id>
      <user_document_name>sample string 4</user_document_name>
      <user_document_path>sample string 5</user_document_path>
      <user_document_type>3</user_document_type>
      <user_id>2</user_id>
    </RhClass.cEntityUserDocuments>
  </_UserDocuments>
  <_UserMaterial>
    <cTables.cEntity_pro_articles_movments_people>
      <_Action>sample string 7</_Action>
      <_SendCredentials>sample string 13</_SendCredentials>
      <hasError>true</hasError>
      <hasErrorMessage>sample string 12</hasErrorMessage>
      <id>1</id>
      <main_id>2</main_id>
      <mov_article_name>sample string 9</mov_article_name>
      <mov_date>sample string 3</mov_date>
      <mov_obs>sample string 6</mov_obs>
      <mov_people>4</mov_people>
      <mov_people_name>sample string 5</mov_people_name>
      <mov_serial_number>sample string 10</mov_serial_number>
      <mov_type_name>sample string 8</mov_type_name>
    </cTables.cEntity_pro_articles_movments_people>
    <cTables.cEntity_pro_articles_movments_people>
      <_Action>sample string 7</_Action>
      <_SendCredentials>sample string 13</_SendCredentials>
      <hasError>true</hasError>
      <hasErrorMessage>sample string 12</hasErrorMessage>
      <id>1</id>
      <main_id>2</main_id>
      <mov_article_name>sample string 9</mov_article_name>
      <mov_date>sample string 3</mov_date>
      <mov_obs>sample string 6</mov_obs>
      <mov_people>4</mov_people>
      <mov_people_name>sample string 5</mov_people_name>
      <mov_serial_number>sample string 10</mov_serial_number>
      <mov_type_name>sample string 8</mov_type_name>
    </cTables.cEntity_pro_articles_movments_people>
  </_UserMaterial>
  <_UserSchedule>
    <cTables.cEntity_pro_users_schedule>
      <_Action>sample string 7</_Action>
      <_SendCredentials>sample string 10</_SendCredentials>
      <hasError>true</hasError>
      <hasErrorMessage>sample string 9</hasErrorMessage>
      <id>1</id>
      <schedule_end>sample string 5</schedule_end>
      <schedule_name>sample string 6</schedule_name>
      <schedule_start>sample string 4</schedule_start>
      <schedule_week_id>3</schedule_week_id>
      <userid>2</userid>
    </cTables.cEntity_pro_users_schedule>
    <cTables.cEntity_pro_users_schedule>
      <_Action>sample string 7</_Action>
      <_SendCredentials>sample string 10</_SendCredentials>
      <hasError>true</hasError>
      <hasErrorMessage>sample string 9</hasErrorMessage>
      <id>1</id>
      <schedule_end>sample string 5</schedule_end>
      <schedule_name>sample string 6</schedule_name>
      <schedule_start>sample string 4</schedule_start>
      <schedule_week_id>3</schedule_week_id>
      <userid>2</userid>
    </cTables.cEntity_pro_users_schedule>
  </_UserSchedule>
  <hasError>true</hasError>
  <hasErrorMessage>sample string 63</hasErrorMessage>
  <id>1</id>
  <user_about>sample string 46</user_about>
  <user_adress>sample string 25</user_adress>
  <user_birthdate>sample string 13</user_birthdate>
  <user_boss>41</user_boss>
  <user_children>52</user_children>
  <user_company>6</user_company>
  <user_company_email>sample string 20</user_company_email>
  <user_company_name>sample string 47</user_company_name>
  <user_concelho>sample string 32</user_concelho>
  <user_concelho_birth>sample string 29</user_concelho_birth>
  <user_degree>38</user_degree>
  <user_degree_name>sample string 39</user_degree_name>
  <user_degree_school>sample string 40</user_degree_school>
  <user_department>10</user_department>
  <user_department_sub>11</user_department_sub>
  <user_district>sample string 33</user_district>
  <user_district_birth>sample string 28</user_district_birth>
  <user_email>sample string 19</user_email>
  <user_end_date>sample string 36</user_end_date>
  <user_fiscal_number>sample string 15</user_fiscal_number>
  <user_freguesia>sample string 34</user_freguesia>
  <user_freguesia_birth>sample string 30</user_freguesia_birth>
  <user_freshdesk_group>sample string 4</user_freshdesk_group>
  <user_freshdesk_id>sample string 3</user_freshdesk_id>
  <user_identification_card>sample string 16</user_identification_card>
  <user_image_path>sample string 54</user_image_path>
  <user_internal>42</user_internal>
  <user_isative>53</user_isative>
  <user_isusingbot>45</user_isusingbot>
  <user_local_adress>sample string 26</user_local_adress>
  <user_local_birth>sample string 12</user_local_birth>
  <user_local_company>7</user_local_company>
  <user_married_state>51</user_married_state>
  <user_nacionality>sample string 14</user_nacionality>
  <user_name>sample string 2</user_name>
  <user_passport>sample string 18</user_passport>
  <user_password>sample string 43</user_password>
  <user_phone_company>sample string 49</user_phone_company>
  <user_phone_extension>sample string 23</user_phone_extension>
  <user_phone_group>sample string 24</user_phone_group>
  <user_phone_local>sample string 22</user_phone_local>
  <user_phone_number>sample string 21</user_phone_number>
  <user_profile>5</user_profile>
  <user_profissional_category>9</user_profissional_category>
  <user_role>8</user_role>
  <user_role_name>sample string 48</user_role_name>
  <user_send_login_notification>59</user_send_login_notification>
  <user_sex_type>50</user_sex_type>
  <user_socialsecurity_number>sample string 17</user_socialsecurity_number>
  <user_start_date>sample string 35</user_start_date>
  <user_status>37</user_status>
  <user_totausencia>56</user_totausencia>
  <user_totfaltas>58</user_totfaltas>
  <user_totferias>55</user_totferias>
  <user_totteletrabalho>57</user_totteletrabalho>
  <user_whatsupbot>sample string 44</user_whatsupbot>
  <user_zip_adress>sample string 31</user_zip_adress>
  <user_zip_code>sample string 27</user_zip_code>
</RhClass.cEntityPerson>