POST api/StaffWorkType/UpdateStaffWorkType

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "WorkType": "sample string 1",
  "WorkName": "sample string 2",
  "CDate": "2025-04-14T19:37:54.6829485+07:00",
  "Percentage": 4.0,
  "BranchId": "sample string 5",
  "BranchName": "sample string 6",
  "BranchIndex": "sample string 7",
  "CreatedDate": "2025-04-14T19:37:54.6829485+07:00",
  "CreatedUser": "sample string 9",
  "InUse": 10,
  "UpdatedDate": "2025-04-14T19:37:54.6829485+07:00",
  "UpdatedUser": "sample string 11",
  "DeletedUser": "sample string 12",
  "DeletedDate": "2025-04-14T19:37:54.6829485+07:00"
}

application/xml, text/xml

Sample:
<StaffWorkTypeBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO">
  <CreatedDate>2025-04-14T19:37:54.6829485+07:00</CreatedDate>
  <CreatedUser>sample string 9</CreatedUser>
  <DeletedDate>2025-04-14T19:37:54.6829485+07:00</DeletedDate>
  <DeletedUser>sample string 12</DeletedUser>
  <InUse>10</InUse>
  <UpdatedDate>2025-04-14T19:37:54.6829485+07:00</UpdatedDate>
  <UpdatedUser>sample string 11</UpdatedUser>
  <BranchId>sample string 5</BranchId>
  <BranchIndex>sample string 7</BranchIndex>
  <BranchName>sample string 6</BranchName>
  <CDate>2025-04-14T19:37:54.6829485+07:00</CDate>
  <Percentage>4</Percentage>
  <WorkName>sample string 2</WorkName>
  <WorkType>sample string 1</WorkType>
</StaffWorkTypeBO>

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 'StaffWorkTypeBO'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO">
  <Data />
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResultObject>