POST api/v1/ConfigProjectRecipientSetting/Update

Request Information

URI Parameters

None.

Body Parameters

ProjectRecipientSettingModel
NameDescriptionTypeAdditional information
Id

string

None.

Key

string

None.

IsAllowAdmin

boolean

None.

IsAllowPMOfProject

boolean

None.

IsAllowPMLeadPM

boolean

None.

IsAllowUserLeadUser

boolean

None.

Note

string

None.

DepartmentId

string

None.

HRGroupId

string

None.

JobTitleId

string

None.

StaffId

string

None.

StaffEmails

Collection of ProjectRecipientSettingStaffEmailModel

None.

UserLeadUserScreenCode

string

None.

IsAllowAll

boolean

None.

GroupName

string

None.

ProjectId

string

None.

ProjectName

string

None.

IsDisable

boolean

None.

ApplyFromDate

decimal number

None.

ApplyToDate

decimal number

None.

TemplateId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Key": "sample string 2",
  "IsAllowAdmin": true,
  "IsAllowPMOfProject": true,
  "IsAllowPMLeadPM": true,
  "IsAllowUserLeadUser": true,
  "Note": "sample string 7",
  "DepartmentId": "sample string 8",
  "HRGroupId": "sample string 9",
  "JobTitleId": "sample string 10",
  "StaffId": "sample string 11",
  "StaffEmails": [
    {
      "Email": "sample string 1",
      "StaffName": "sample string 2"
    },
    {
      "Email": "sample string 1",
      "StaffName": "sample string 2"
    }
  ],
  "UserLeadUserScreenCode": "sample string 12",
  "IsAllowAll": true,
  "GroupName": "sample string 14",
  "ProjectId": "sample string 15",
  "ProjectName": "sample string 16",
  "IsDisable": true,
  "ApplyFromDate": 1.1,
  "ApplyToDate": 1.1,
  "TemplateId": "sample string 18"
}

application/xml, text/xml

Sample:
<ProjectRecipientSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <ApplyFromDate>1.1</ApplyFromDate>
  <ApplyToDate>1.1</ApplyToDate>
  <DepartmentId>sample string 8</DepartmentId>
  <GroupName>sample string 14</GroupName>
  <HRGroupId>sample string 9</HRGroupId>
  <Id>sample string 1</Id>
  <IsAllowAdmin>true</IsAllowAdmin>
  <IsAllowAll>true</IsAllowAll>
  <IsAllowPMLeadPM>true</IsAllowPMLeadPM>
  <IsAllowPMOfProject>true</IsAllowPMOfProject>
  <IsAllowUserLeadUser>true</IsAllowUserLeadUser>
  <IsDisable>true</IsDisable>
  <JobTitleId>sample string 10</JobTitleId>
  <Key>sample string 2</Key>
  <Note>sample string 7</Note>
  <ProjectId>sample string 15</ProjectId>
  <ProjectName>sample string 16</ProjectName>
  <StaffEmails>
    <ProjectRecipientSettingStaffEmailModel>
      <Email>sample string 1</Email>
      <StaffName>sample string 2</StaffName>
    </ProjectRecipientSettingStaffEmailModel>
    <ProjectRecipientSettingStaffEmailModel>
      <Email>sample string 1</Email>
      <StaffName>sample string 2</StaffName>
    </ProjectRecipientSettingStaffEmailModel>
  </StaffEmails>
  <StaffId>sample string 11</StaffId>
  <TemplateId>sample string 18</TemplateId>
  <UserLeadUserScreenCode>sample string 12</UserLeadUserScreenCode>
</ProjectRecipientSettingModel>

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 'ProjectRecipientSettingModel'.

Response Information

Resource Description

EzyResultObjectOfProjectRecipientSettingModel
NameDescriptionTypeAdditional information
Data

ProjectRecipientSettingModel

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",
    "Key": "sample string 2",
    "IsAllowAdmin": true,
    "IsAllowPMOfProject": true,
    "IsAllowPMLeadPM": true,
    "IsAllowUserLeadUser": true,
    "Note": "sample string 7",
    "DepartmentId": "sample string 8",
    "HRGroupId": "sample string 9",
    "JobTitleId": "sample string 10",
    "StaffId": "sample string 11",
    "StaffEmails": [
      {
        "Email": "sample string 1",
        "StaffName": "sample string 2"
      },
      {
        "Email": "sample string 1",
        "StaffName": "sample string 2"
      }
    ],
    "UserLeadUserScreenCode": "sample string 12",
    "IsAllowAll": true,
    "GroupName": "sample string 14",
    "ProjectId": "sample string 15",
    "ProjectName": "sample string 16",
    "IsDisable": true,
    "ApplyFromDate": 1.1,
    "ApplyToDate": 1.1,
    "TemplateId": "sample string 18"
  },
  "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:
<EzyResultObjectOfProjectRecipientSettingModel3BwjWE5f 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:ApplyFromDate>1.1</d2p1:ApplyFromDate>
    <d2p1:ApplyToDate>1.1</d2p1:ApplyToDate>
    <d2p1:DepartmentId>sample string 8</d2p1:DepartmentId>
    <d2p1:GroupName>sample string 14</d2p1:GroupName>
    <d2p1:HRGroupId>sample string 9</d2p1:HRGroupId>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsAllowAdmin>true</d2p1:IsAllowAdmin>
    <d2p1:IsAllowAll>true</d2p1:IsAllowAll>
    <d2p1:IsAllowPMLeadPM>true</d2p1:IsAllowPMLeadPM>
    <d2p1:IsAllowPMOfProject>true</d2p1:IsAllowPMOfProject>
    <d2p1:IsAllowUserLeadUser>true</d2p1:IsAllowUserLeadUser>
    <d2p1:IsDisable>true</d2p1:IsDisable>
    <d2p1:JobTitleId>sample string 10</d2p1:JobTitleId>
    <d2p1:Key>sample string 2</d2p1:Key>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:ProjectId>sample string 15</d2p1:ProjectId>
    <d2p1:ProjectName>sample string 16</d2p1:ProjectName>
    <d2p1:StaffEmails>
      <d2p1:ProjectRecipientSettingStaffEmailModel>
        <d2p1:Email>sample string 1</d2p1:Email>
        <d2p1:StaffName>sample string 2</d2p1:StaffName>
      </d2p1:ProjectRecipientSettingStaffEmailModel>
      <d2p1:ProjectRecipientSettingStaffEmailModel>
        <d2p1:Email>sample string 1</d2p1:Email>
        <d2p1:StaffName>sample string 2</d2p1:StaffName>
      </d2p1:ProjectRecipientSettingStaffEmailModel>
    </d2p1:StaffEmails>
    <d2p1:StaffId>sample string 11</d2p1:StaffId>
    <d2p1:TemplateId>sample string 18</d2p1:TemplateId>
    <d2p1:UserLeadUserScreenCode>sample string 12</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>
</EzyResultObjectOfProjectRecipientSettingModel3BwjWE5f>