POST api/cong-viec/gui-mail-cong-viec
Request Information
URI Parameters
None.
Body Parameters
Email| Name | Description | Type | Additional information |
|---|---|---|---|
| IDNguoiNhan | integer |
None. |
|
| Body | string |
None. |
|
| Sub | string |
None. |
|
| MaQuyen | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idNguoiNhan": 1,
"body": "sample string 2",
"sub": "sample string 3",
"maQuyen": "sample string 4"
}
application/xml, text/xml
Sample:
<Email xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API"> <Body>sample string 2</Body> <IDNguoiNhan>1</IDNguoiNhan> <MaQuyen>sample string 4</MaQuyen> <Sub>sample string 3</Sub> </Email>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Status>true</Status> </ResponseObjectOfstring>