POST api/v1/KPIDetailTemplate/Duplicate/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
EzyResultObjectOfKPIDetailTemplateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | KPIDetailTemplateModel |
None. |
|
| ExtraData | Dictionary of string [key] and Object [value] |
None. |
|
| StartTime | decimal number |
None. |
|
| EndTime | decimal number |
None. |
|
| TotalMili | decimal number |
None. |
|
| StatusCode | integer |
None. |
|
| Msg | string |
None. |
|
| MsgShowInUI | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"Id": "sample string 1",
"KPITemplateId": "sample string 2",
"RateValue": 1,
"Name": "sample string 3",
"ColorCode": "sample string 4",
"OrderNo": 5,
"IsDisable": true,
"Note": "sample string 7",
"FunctionProcess": "sample string 8",
"Criterion": 1,
"IsNegative": true,
"HRGroup_Permissions": [
{
"Key": "sample string 1",
"GroupName": "sample string 2",
"HRGroupName": "",
"UserLeadUserScreenCode": "sample string 3",
"Note": "sample string 4",
"ParentType": "sample string 5",
"ParentId": "sample string 6",
"Id": "sample string 7",
"IsAllowAdmin": true,
"IsAllowPMOfProject": true,
"IsAllowPMLeadPM": true,
"IsAllowUserLeadUser": true,
"IsAllowAll": true,
"IsAllowBD": true,
"IsAllowCM": true,
"IsAllowTK": true,
"IsAllowTM": true,
"IsAllowPA": true,
"IsAllowQC": true,
"IsAllowMT": true,
"IsAllowTK3D": true,
"DepartmentId": "sample string 21",
"HRGroupId": "sample string 22",
"JobTitleId": "sample string 23",
"StaffId": "sample string 24",
"StaffEmails": [
{
"Email": "sample string 1",
"StaffName": "sample string 2"
},
{
"Email": "sample string 1",
"StaffName": "sample string 2"
}
],
"OtherStaffIds": [
{
"Id": "sample string 1",
"StaffName": "sample string 2"
},
{
"Id": "sample string 1",
"StaffName": "sample string 2"
}
]
},
{
"Key": "sample string 1",
"GroupName": "sample string 2",
"HRGroupName": "",
"UserLeadUserScreenCode": "sample string 3",
"Note": "sample string 4",
"ParentType": "sample string 5",
"ParentId": "sample string 6",
"Id": "sample string 7",
"IsAllowAdmin": true,
"IsAllowPMOfProject": true,
"IsAllowPMLeadPM": true,
"IsAllowUserLeadUser": true,
"IsAllowAll": true,
"IsAllowBD": true,
"IsAllowCM": true,
"IsAllowTK": true,
"IsAllowTM": true,
"IsAllowPA": true,
"IsAllowQC": true,
"IsAllowMT": true,
"IsAllowTK3D": true,
"DepartmentId": "sample string 21",
"HRGroupId": "sample string 22",
"JobTitleId": "sample string 23",
"StaffId": "sample string 24",
"StaffEmails": [
{
"Email": "sample string 1",
"StaffName": "sample string 2"
},
{
"Email": "sample string 1",
"StaffName": "sample string 2"
}
],
"OtherStaffIds": [
{
"Id": "sample string 1",
"StaffName": "sample string 2"
},
{
"Id": "sample string 1",
"StaffName": "sample string 2"
}
]
}
],
"SettingType": "sample string 10"
},
"ExtraData": null,
"StartTime": 1.1,
"EndTime": 2.1,
"TotalMili": 3.1,
"StatusCode": 4,
"Msg": "sample string 5",
"MsgShowInUI": "sample string 6"
}
application/xml, text/xml
Sample:
<EzyResultObjectOfKPIDetailTemplateModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
<Msg>sample string 5</Msg>
<MsgShowInUI>sample string 6</MsgShowInUI>
<StatusCode>4</StatusCode>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
<d2p1:ColorCode>sample string 4</d2p1:ColorCode>
<d2p1:Criterion>1</d2p1:Criterion>
<d2p1:FunctionProcess>sample string 8</d2p1:FunctionProcess>
<d2p1:HRGroup_Permissions xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ezy.APIService.AppSystemService.Models">
<d3p1:SystemFunctionSettingModel>
<DepartmentId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 21</DepartmentId>
<HRGroupId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 22</HRGroupId>
<Id xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 7</Id>
<IsAllowAdmin xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowAdmin>
<IsAllowAll xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowAll>
<IsAllowBD xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowBD>
<IsAllowCM xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowCM>
<IsAllowMT xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowMT>
<IsAllowPA xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowPA>
<IsAllowPMLeadPM xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowPMLeadPM>
<IsAllowPMOfProject xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowPMOfProject>
<IsAllowQC xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowQC>
<IsAllowTK xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowTK>
<IsAllowTK3D xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowTK3D>
<IsAllowTM xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowTM>
<IsAllowUserLeadUser xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowUserLeadUser>
<JobTitleId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 23</JobTitleId>
<OtherStaffIds xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">
<StaffIdModel>
<Id>sample string 1</Id>
<StaffName>sample string 2</StaffName>
</StaffIdModel>
<StaffIdModel>
<Id>sample string 1</Id>
<StaffName>sample string 2</StaffName>
</StaffIdModel>
</OtherStaffIds>
<StaffEmails xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">
<StaffEmailModel>
<Email>sample string 1</Email>
<StaffName>sample string 2</StaffName>
</StaffEmailModel>
<StaffEmailModel>
<Email>sample string 1</Email>
<StaffName>sample string 2</StaffName>
</StaffEmailModel>
</StaffEmails>
<StaffId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 24</StaffId>
<d3p1:GroupName>sample string 2</d3p1:GroupName>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Note>sample string 4</d3p1:Note>
<d3p1:ParentId>sample string 6</d3p1:ParentId>
<d3p1:ParentType>sample string 5</d3p1:ParentType>
<d3p1:UserLeadUserScreenCode>sample string 3</d3p1:UserLeadUserScreenCode>
</d3p1:SystemFunctionSettingModel>
<d3p1:SystemFunctionSettingModel>
<DepartmentId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 21</DepartmentId>
<HRGroupId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 22</HRGroupId>
<Id xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 7</Id>
<IsAllowAdmin xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowAdmin>
<IsAllowAll xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowAll>
<IsAllowBD xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowBD>
<IsAllowCM xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowCM>
<IsAllowMT xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowMT>
<IsAllowPA xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowPA>
<IsAllowPMLeadPM xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowPMLeadPM>
<IsAllowPMOfProject xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowPMOfProject>
<IsAllowQC xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowQC>
<IsAllowTK xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowTK>
<IsAllowTK3D xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowTK3D>
<IsAllowTM xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowTM>
<IsAllowUserLeadUser xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsAllowUserLeadUser>
<JobTitleId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 23</JobTitleId>
<OtherStaffIds xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">
<StaffIdModel>
<Id>sample string 1</Id>
<StaffName>sample string 2</StaffName>
</StaffIdModel>
<StaffIdModel>
<Id>sample string 1</Id>
<StaffName>sample string 2</StaffName>
</StaffIdModel>
</OtherStaffIds>
<StaffEmails xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">
<StaffEmailModel>
<Email>sample string 1</Email>
<StaffName>sample string 2</StaffName>
</StaffEmailModel>
<StaffEmailModel>
<Email>sample string 1</Email>
<StaffName>sample string 2</StaffName>
</StaffEmailModel>
</StaffEmails>
<StaffId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 24</StaffId>
<d3p1:GroupName>sample string 2</d3p1:GroupName>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Note>sample string 4</d3p1:Note>
<d3p1:ParentId>sample string 6</d3p1:ParentId>
<d3p1:ParentType>sample string 5</d3p1:ParentType>
<d3p1:UserLeadUserScreenCode>sample string 3</d3p1:UserLeadUserScreenCode>
</d3p1:SystemFunctionSettingModel>
</d2p1:HRGroup_Permissions>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:IsDisable>true</d2p1:IsDisable>
<d2p1:IsNegative>true</d2p1:IsNegative>
<d2p1:KPITemplateId>sample string 2</d2p1:KPITemplateId>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Note>sample string 7</d2p1:Note>
<d2p1:OrderNo>5</d2p1:OrderNo>
<d2p1:RateValue>1</d2p1:RateValue>
<d2p1:SettingType>sample string 10</d2p1:SettingType>
</Data>
<EndTime>2.1</EndTime>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<StartTime>1.1</StartTime>
<TotalMili>3.1</TotalMili>
</EzyResultObjectOfKPIDetailTemplateModel3BwjWE5f>