PUT api/EmployeeComWorkfromhome?MID={MID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| MID | integer |
Required |
Body Parameters
EmployeeComWorkfromhome| Name | Description | Type | Additional information |
|---|---|---|---|
| MID | integer |
None. |
|
| EMP_NAME | string |
None. |
|
| EMP_LOCATION | string |
None. |
|
| EMP_DEPT | string |
None. |
|
| WORKED_ON | string |
None. |
|
| APPROVED_BY | string |
None. |
|
| REASON | string |
None. |
|
| WORKING_DURING | string |
None. |
|
| CHECK_IN_TIME | date |
None. |
|
| CHECK_OUT_TIME | date |
None. |
|
| HALF_FULL_DAY | string |
None. |
|
| TIME_DURATION | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MID": 1,
"EMP_NAME": "sample string 2",
"EMP_LOCATION": "sample string 3",
"EMP_DEPT": "sample string 4",
"WORKED_ON": "sample string 5",
"APPROVED_BY": "sample string 6",
"REASON": "sample string 7",
"WORKING_DURING": "sample string 8",
"CHECK_IN_TIME": "2026-02-04T06:56:47.197542+04:00",
"CHECK_OUT_TIME": "2026-02-04T06:56:47.197542+04:00",
"HALF_FULL_DAY": "sample string 10",
"TIME_DURATION": "sample string 11"
}
text/html
Sample:
{"MID":1,"EMP_NAME":"sample string 2","EMP_LOCATION":"sample string 3","EMP_DEPT":"sample string 4","WORKED_ON":"sample string 5","APPROVED_BY":"sample string 6","REASON":"sample string 7","WORKING_DURING":"sample string 8","CHECK_IN_TIME":"2026-02-04T06:56:47.197542+04:00","CHECK_OUT_TIME":"2026-02-04T06:56:47.197542+04:00","HALF_FULL_DAY":"sample string 10","TIME_DURATION":"sample string 11"}
application/xml, text/xml
Sample:
<EmployeeComWorkfromhome xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Communicators"> <APPROVED_BY>sample string 6</APPROVED_BY> <CHECK_IN_TIME>2026-02-04T06:56:47.197542+04:00</CHECK_IN_TIME> <CHECK_OUT_TIME>2026-02-04T06:56:47.197542+04:00</CHECK_OUT_TIME> <EMP_DEPT>sample string 4</EMP_DEPT> <EMP_LOCATION>sample string 3</EMP_LOCATION> <EMP_NAME>sample string 2</EMP_NAME> <HALF_FULL_DAY>sample string 10</HALF_FULL_DAY> <MID>1</MID> <REASON>sample string 7</REASON> <TIME_DURATION>sample string 11</TIME_DURATION> <WORKED_ON>sample string 5</WORKED_ON> <WORKING_DURING>sample string 8</WORKING_DURING> </EmployeeComWorkfromhome>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="MID" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EMP_NAME" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EMP_LOCATION" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EMP_DEPT" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WORKED_ON" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="APPROVED_BY" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="REASON" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WORKING_DURING" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CHECK_IN_TIME" 2026-02-04T06:56:47.1975420+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CHECK_OUT_TIME" 2026-02-04T06:56:47.1975420+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HALF_FULL_DAY" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TIME_DURATION" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
EmployeeComWorkfromhomeApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | string |
None. |
|
| Response | EmployeeComWorkfromhome |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": "sample string 2",
"Response": {
"MID": 1,
"EMP_NAME": "sample string 2",
"EMP_LOCATION": "sample string 3",
"EMP_DEPT": "sample string 4",
"WORKED_ON": "sample string 5",
"APPROVED_BY": "sample string 6",
"REASON": "sample string 7",
"WORKING_DURING": "sample string 8",
"CHECK_IN_TIME": "2026-02-04T06:56:47.197542+04:00",
"CHECK_OUT_TIME": "2026-02-04T06:56:47.197542+04:00",
"HALF_FULL_DAY": "sample string 10",
"TIME_DURATION": "sample string 11"
}
}
text/html
Sample:
{"Message":"sample string 1","Status":"sample string 2","Response":{"MID":1,"EMP_NAME":"sample string 2","EMP_LOCATION":"sample string 3","EMP_DEPT":"sample string 4","WORKED_ON":"sample string 5","APPROVED_BY":"sample string 6","REASON":"sample string 7","WORKING_DURING":"sample string 8","CHECK_IN_TIME":"2026-02-04T06:56:47.197542+04:00","CHECK_OUT_TIME":"2026-02-04T06:56:47.197542+04:00","HALF_FULL_DAY":"sample string 10","TIME_DURATION":"sample string 11"}}
application/xml, text/xml
Sample:
<EmployeeComWorkfromhomeApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Communicators">
<Message>sample string 1</Message>
<Response>
<APPROVED_BY>sample string 6</APPROVED_BY>
<CHECK_IN_TIME>2026-02-04T06:56:47.197542+04:00</CHECK_IN_TIME>
<CHECK_OUT_TIME>2026-02-04T06:56:47.197542+04:00</CHECK_OUT_TIME>
<EMP_DEPT>sample string 4</EMP_DEPT>
<EMP_LOCATION>sample string 3</EMP_LOCATION>
<EMP_NAME>sample string 2</EMP_NAME>
<HALF_FULL_DAY>sample string 10</HALF_FULL_DAY>
<MID>1</MID>
<REASON>sample string 7</REASON>
<TIME_DURATION>sample string 11</TIME_DURATION>
<WORKED_ON>sample string 5</WORKED_ON>
<WORKING_DURING>sample string 8</WORKING_DURING>
</Response>
<Status>sample string 2</Status>
</EmployeeComWorkfromhomeApiResponse>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Status" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.MID" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.EMP_NAME" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.EMP_LOCATION" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.EMP_DEPT" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.WORKED_ON" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.APPROVED_BY" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.REASON" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.WORKING_DURING" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.CHECK_IN_TIME" 2026-02-04T06:56:47.1975420+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.CHECK_OUT_TIME" 2026-02-04T06:56:47.1975420+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.HALF_FULL_DAY" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Response.TIME_DURATION" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e--