POST
http://appapi.sunhouse.com.vn/api/KPI/SaveKPIPunish?loginUser={loginUser}
Lưu dữ liệu bắt lỗi 360
Yêu cầu
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
loginUser | string |
Required |
Body Parameters
KPI_GetPunish_ViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Costcenter | string |
None. |
|
EmpTarget | string |
None. |
|
EmpPenalties | string |
None. |
|
PunishDate | date |
None. |
|
CatType | string |
None. |
|
strPunishDate | string |
None. |
|
disPunishDate | string |
None. |
|
PunishReason | string |
None. |
|
PunishDetail | string |
None. |
|
DeadlinePardon | date |
None. |
|
strDeadlinePardon | string |
None. |
|
AllowPardon | boolean |
None. |
|
Pardoned | boolean |
None. |
|
PardonedTime | date |
None. |
|
strPardonedTime | string |
None. |
|
PunishGrade | integer |
None. |
|
Division | integer |
None. |
|
CreatedBy | string |
None. |
|
EmpTargetName | string |
None. |
|
EmpPenaltiesName | string |
None. |
|
PunishCatId | string |
None. |
|
SubtractMoney | decimal number |
None. |
|
AutoPunishCode | string |
None. |
|
LoginUser | string |
None. |
|
PunishTypeString | string |
None. |
|
PunishGroupCode | string |
None. |
|
PunishGroupName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Costcenter": "sample string 2", "EmpTarget": "sample string 3", "EmpPenalties": "sample string 4", "PunishDate": "2024-10-30T19:12:43.6204306+07:00", "CatType": "sample string 6", "strPunishDate": "2024-10-30", "disPunishDate": "30/10/2024", "PunishReason": "sample string 7", "PunishDetail": "sample string 8", "DeadlinePardon": "2024-10-30T19:12:43.6204306+07:00", "strDeadlinePardon": "2024-10-30", "AllowPardon": true, "Pardoned": true, "PardonedTime": "2024-10-30T19:12:43.6204306+07:00", "strPardonedTime": "2024-10-30 07:12", "PunishGrade": 1, "Division": 11, "CreatedBy": "sample string 12", "EmpTargetName": "sample string 13", "EmpPenaltiesName": "sample string 14", "PunishCatId": "sample string 15", "SubtractMoney": 1.1, "AutoPunishCode": "sample string 16", "LoginUser": "sample string 17", "PunishTypeString": "sample string 6", "PunishGroupCode": "sample string 18", "PunishGroupName": "sample string 19" }
application/xml, text/xml
Sample:
<KPI_GetPunish_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.KPI.Model"> <AllowPardon>true</AllowPardon> <AutoPunishCode>sample string 16</AutoPunishCode> <CatType>sample string 6</CatType> <Costcenter>sample string 2</Costcenter> <CreatedBy>sample string 12</CreatedBy> <DeadlinePardon>2024-10-30T19:12:43.6204306+07:00</DeadlinePardon> <Division>11</Division> <EmpPenalties>sample string 4</EmpPenalties> <EmpPenaltiesName>sample string 14</EmpPenaltiesName> <EmpTarget>sample string 3</EmpTarget> <EmpTargetName>sample string 13</EmpTargetName> <Id>sample string 1</Id> <LoginUser>sample string 17</LoginUser> <Pardoned>true</Pardoned> <PardonedTime>2024-10-30T19:12:43.6204306+07:00</PardonedTime> <PunishCatId>sample string 15</PunishCatId> <PunishDate>2024-10-30T19:12:43.6204306+07:00</PunishDate> <PunishDetail>sample string 8</PunishDetail> <PunishGrade>1</PunishGrade> <PunishGroupCode>sample string 18</PunishGroupCode> <PunishGroupName>sample string 19</PunishGroupName> <PunishReason>sample string 7</PunishReason> <SubtractMoney>1.1</SubtractMoney> </KPI_GetPunish_ViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |