POST api/edit/WkTypeOfWork

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
WkTypeOfWorkInfoAPPDTO
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 1",
  "Icon": "sample string 2",
  "cinput": "sample string 3",
  "ddate": "2025-12-09T18:48:25.2036934+08:00",
  "TypeOfWorkIds": "sample string 4",
  "WkTypeOfWorkDetailList": {
    "TotalCount": 1,
    "WkTypeOfWorkDetails": [
      {
        "Id": 1,
        "PId": 1,
        "TypeOfWorkId": 1,
        "Name": "sample string 1",
        "cinput": "sample string 2",
        "ddate": "2025-12-09T18:48:25.2056522+08:00"
      },
      {
        "Id": 1,
        "PId": 1,
        "TypeOfWorkId": 1,
        "Name": "sample string 1",
        "cinput": "sample string 2",
        "ddate": "2025-12-09T18:48:25.2056522+08:00"
      },
      {
        "Id": 1,
        "PId": 1,
        "TypeOfWorkId": 1,
        "Name": "sample string 1",
        "cinput": "sample string 2",
        "ddate": "2025-12-09T18:48:25.2056522+08:00"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<WkTypeOfWork xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <Name>sample string 1</Name>
  <Icon>sample string 2</Icon>
  <cinput>sample string 3</cinput>
  <ddate>2025-12-09T18:48:25.2036934+08:00</ddate>
  <TypeOfWorkIds>sample string 4</TypeOfWorkIds>
  <WkTypeOfWorkDetailList>
    <TotalCount>1</TotalCount>
    <WkTypeOfWorkDetails>
      <WkTypeOfWorkDetail>
        <Id>1</Id>
        <PId>1</PId>
        <TypeOfWorkId>1</TypeOfWorkId>
        <Name>sample string 1</Name>
        <cinput>sample string 2</cinput>
        <ddate>2025-12-09T18:48:25.2056522+08:00</ddate>
      </WkTypeOfWorkDetail>
      <WkTypeOfWorkDetail>
        <Id>1</Id>
        <PId>1</PId>
        <TypeOfWorkId>1</TypeOfWorkId>
        <Name>sample string 1</Name>
        <cinput>sample string 2</cinput>
        <ddate>2025-12-09T18:48:25.2056522+08:00</ddate>
      </WkTypeOfWorkDetail>
      <WkTypeOfWorkDetail>
        <Id>1</Id>
        <PId>1</PId>
        <TypeOfWorkId>1</TypeOfWorkId>
        <Name>sample string 1</Name>
        <cinput>sample string 2</cinput>
        <ddate>2025-12-09T18:48:25.2056522+08:00</ddate>
      </WkTypeOfWorkDetail>
    </WkTypeOfWorkDetails>
  </WkTypeOfWorkDetailList>
</WkTypeOfWork>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": 1,
  "Data": {},
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<HttpResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Result>1</Result>
  <Data />
  <Message>sample string 3</Message>
</HttpResult>