POST user/updatemanpower

Request Information

URI Parameters

None.

Body Parameters

RequestManPowerModel
NameDescriptionTypeAdditional information
ManPowerId

integer

None.

MachineId

integer

None.

MachineSerialNoId

integer

None.

Name

string

None.

MobileNo

string

None.

Salary

decimal number

None.

SalaryForMonth

date

None.

UserDetailId

integer

None.

ManPowerRoleId

integer

None.

Month

integer

None.

Year

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ManPowerId": 1,
  "MachineId": 1,
  "MachineSerialNoId": 2,
  "Name": "sample string 3",
  "MobileNo": "sample string 4",
  "Salary": 5.1,
  "SalaryForMonth": "2025-12-28T14:53:22.8974145-06:00",
  "UserDetailId": 6,
  "ManPowerRoleId": 7,
  "Month": 8,
  "Year": 9
}

application/xml, text/xml

Sample:
<RequestManPowerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes">
  <MachineId>1</MachineId>
  <MachineSerialNoId>2</MachineSerialNoId>
  <ManPowerId>1</ManPowerId>
  <ManPowerRoleId>7</ManPowerRoleId>
  <MobileNo>sample string 4</MobileNo>
  <Month>8</Month>
  <Name>sample string 3</Name>
  <Salary>5.1</Salary>
  <SalaryForMonth>2025-12-28T14:53:22.8974145-06:00</SalaryForMonth>
  <UserDetailId>6</UserDetailId>
  <Year>9</Year>
</RequestManPowerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseAddManPowerModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ManPowerDetail

ManPowerModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ManPowerDetail": {
    "ManPowerId": 1,
    "MachineId": 1,
    "MachineSerialNoId": 1,
    "MachineSerialNo": "sample string 2",
    "ManPowerRoleId": 3,
    "Salary": 4.1,
    "Name": "sample string 5",
    "MobileNo": "sample string 6",
    "Createdby": 7,
    "Role": "sample string 8",
    "Active": true,
    "SalaryForMonth": "sample string 10",
    "CreatedOn": "2025-12-28T14:53:22.9130244-06:00",
    "UpdatedOn": "2025-12-28T14:53:22.9130244-06:00",
    "MachineName": "sample string 11",
    "Month": 12,
    "Year": 13
  }
}

application/xml, text/xml

Sample:
<ResponseAddManPowerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes">
  <ManPowerDetail>
    <Active>true</Active>
    <CreatedOn>2025-12-28T14:53:22.9130244-06:00</CreatedOn>
    <Createdby>7</Createdby>
    <MachineId>1</MachineId>
    <MachineName>sample string 11</MachineName>
    <MachineSerialNo>sample string 2</MachineSerialNo>
    <MachineSerialNoId>1</MachineSerialNoId>
    <ManPowerId>1</ManPowerId>
    <ManPowerRoleId>3</ManPowerRoleId>
    <MobileNo>sample string 6</MobileNo>
    <Month>12</Month>
    <Name>sample string 5</Name>
    <Role>sample string 8</Role>
    <Salary>4.1</Salary>
    <SalaryForMonth>sample string 10</SalaryForMonth>
    <UpdatedOn>2025-12-28T14:53:22.9130244-06:00</UpdatedOn>
    <Year>13</Year>
  </ManPowerDetail>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseAddManPowerModel>