POST api/v1/SystemFunctionSetting/Update

Request Information

URI Parameters

None.

Body Parameters

SystemFunctionSettingModel
NameDescriptionTypeAdditional information
Key

string

None.

GroupName

string

None.

HRGroupName

string

None.

UserLeadUserScreenCode

string

None.

Note

string

None.

ParentType

string

None.

ParentId

string

None.

Id

string

None.

IsAllowAdmin

boolean

None.

IsAllowPMOfProject

boolean

None.

IsAllowPMLeadPM

boolean

None.

IsAllowUserLeadUser

boolean

None.

IsAllowAll

boolean

None.

IsAllowBD

boolean

None.

IsAllowCM

boolean

None.

IsAllowTK

boolean

None.

IsAllowTM

boolean

None.

IsAllowPA

boolean

None.

IsAllowQC

boolean

None.

IsAllowMT

boolean

None.

IsAllowTK3D

boolean

None.

DepartmentId

string

None.

HRGroupId

string

None.

JobTitleId

string

None.

StaffId

string

None.

StaffEmails

Collection of StaffEmailModel

None.

OtherStaffIds

Collection of StaffIdModel

None.

Request Formats

application/json, text/json

Sample:
{
  "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"
    }
  ]
}

application/xml, text/xml

Sample:
<SystemFunctionSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.APIService.AppSystemService.Models">
  <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>
  <GroupName>sample string 2</GroupName>
  <Key>sample string 1</Key>
  <Note>sample string 4</Note>
  <ParentId>sample string 6</ParentId>
  <ParentType>sample string 5</ParentType>
  <UserLeadUserScreenCode>sample string 3</UserLeadUserScreenCode>
</SystemFunctionSettingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SystemFunctionSettingModel'.

Response Information

Resource Description

EzyResultObjectOfSystemFunctionSettingModel
NameDescriptionTypeAdditional information
Data

SystemFunctionSettingModel

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": {
    "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"
      }
    ]
  },
  "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:
<EzyResultObjectOfSystemFunctionSettingModelOtoXqmQY 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/Ezy.APIService.AppSystemService.Models">
    <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>
    <d2p1:GroupName>sample string 2</d2p1:GroupName>
    <d2p1:Key>sample string 1</d2p1:Key>
    <d2p1:Note>sample string 4</d2p1:Note>
    <d2p1:ParentId>sample string 6</d2p1:ParentId>
    <d2p1:ParentType>sample string 5</d2p1:ParentType>
    <d2p1:UserLeadUserScreenCode>sample string 3</d2p1:UserLeadUserScreenCode>
  </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>
</EzyResultObjectOfSystemFunctionSettingModelOtoXqmQY>