POST api/v1/ConfigAppScreen_ReadOnlyUser/AddOtherStaff
Request Information
URI Parameters
None.
Body Parameters
StaffEmailAddModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Emails | Collection of string |
None. |
|
| FunctionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Emails": [
"sample string 1",
"sample string 2"
],
"FunctionId": "sample string 1"
}
application/xml, text/xml
Sample:
<StaffEmailAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.APIService.Shared.Models">
<Emails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Emails>
<FunctionId>sample string 1</FunctionId>
</StaffEmailAddModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EzyResultObjectOfConfigAppScreen_ReadOnlyUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ConfigAppScreen_ReadOnlyUserModel |
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": {
"ScreenId": "sample string 1",
"GroupName": "sample string 2",
"UserLeadUserScreenCode": "sample string 3",
"Note": "sample string 4",
"ScreenCode": "sample string 5",
"Id": "sample string 6",
"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 20",
"HRGroupId": "sample string 21",
"JobTitleId": "sample string 22",
"StaffId": "sample string 23",
"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:
<EzyResultObjectOfConfigAppScreen_ReadOnlyUserModelOtoXqmQY 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 20</DepartmentId>
<HRGroupId xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 21</HRGroupId>
<Id xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 6</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 22</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 23</StaffId>
<d2p1:GroupName>sample string 2</d2p1:GroupName>
<d2p1:Note>sample string 4</d2p1:Note>
<d2p1:ScreenCode>sample string 5</d2p1:ScreenCode>
<d2p1:ScreenId>sample string 1</d2p1:ScreenId>
<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>
</EzyResultObjectOfConfigAppScreen_ReadOnlyUserModelOtoXqmQY>