POST api/v1/StaffLeadStaff/CopyPermission

Request Information

URI Parameters

None.

Body Parameters

Staff_Lead_Staff_AddScreenCodeForStaffNotLeadModel
NameDescriptionTypeAdditional information
StaffLeadId

string

None.

StaffNotLeadId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffLeadId": "sample string 1",
  "StaffNotLeadId": "sample string 2"
}

application/xml, text/xml

Sample:
<Staff_Lead_Staff_AddScreenCodeForStaffNotLeadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.APIService.AppSystemService.Models">
  <StaffLeadId>sample string 1</StaffLeadId>
  <StaffNotLeadId>sample string 2</StaffNotLeadId>
</Staff_Lead_Staff_AddScreenCodeForStaffNotLeadModel>

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

Response Information

Resource Description

EzyResultObjectOfString
NameDescriptionTypeAdditional information
Data

string

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": "sample string 1",
  "ExtraData": null,
  "StartTime": 2.1,
  "EndTime": 3.1,
  "TotalMili": 4.1,
  "StatusCode": 5,
  "Msg": "sample string 6",
  "MsgShowInUI": "sample string 7"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 6</Msg>
  <MsgShowInUI>sample string 7</MsgShowInUI>
  <StatusCode>5</StatusCode>
  <Data>sample string 1</Data>
  <EndTime>3.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>2.1</StartTime>
  <TotalMili>4.1</TotalMili>
</EzyResultObjectOfstring>