POST api/v1/StaffLeadStaff_ByLead/Update

Request Information

URI Parameters

None.

Body Parameters

Staff_Lead_StaffModel
NameDescriptionTypeAdditional information
Id

string

None.

StaffLeadId

string

None.

StaffLeadId_Name

string

None.

StaffMemberId

string

None.

StaffMemberId_Name

string

None.

StaffLead_DepartmentId

string

None.

StaffMember_DepartmentId

string

None.

IsPrivate

boolean

None.

ScreenCode

string

None.

ScreenCode_Name

string

None.

DepartmentId

string

None.

HRGroupId

string

None.

JobTitleId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "StaffLeadId": "sample string 2",
  "StaffLeadId_Name": "sample string 3",
  "StaffMemberId": "sample string 4",
  "StaffMemberId_Name": "sample string 5",
  "StaffLead_DepartmentId": "sample string 6",
  "StaffMember_DepartmentId": "sample string 7",
  "IsPrivate": true,
  "ScreenCode": "sample string 9",
  "ScreenCode_Name": "sample string 10",
  "DepartmentId": "sample string 11",
  "HRGroupId": "sample string 12",
  "JobTitleId": "sample string 13"
}

application/xml, text/xml

Sample:
<Staff_Lead_StaffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.APIService.AppSystemService.Models">
  <DepartmentId>sample string 11</DepartmentId>
  <HRGroupId>sample string 12</HRGroupId>
  <Id>sample string 1</Id>
  <IsPrivate>true</IsPrivate>
  <JobTitleId>sample string 13</JobTitleId>
  <ScreenCode>sample string 9</ScreenCode>
  <ScreenCode_Name>sample string 10</ScreenCode_Name>
  <StaffLeadId>sample string 2</StaffLeadId>
  <StaffLeadId_Name>sample string 3</StaffLeadId_Name>
  <StaffLead_DepartmentId>sample string 6</StaffLead_DepartmentId>
  <StaffMemberId>sample string 4</StaffMemberId>
  <StaffMemberId_Name>sample string 5</StaffMemberId_Name>
  <StaffMember_DepartmentId>sample string 7</StaffMember_DepartmentId>
</Staff_Lead_StaffModel>

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

Response Information

Resource Description

EzyResultObjectOfStaff_Lead_StaffModel
NameDescriptionTypeAdditional information
Data

Staff_Lead_StaffModel

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",
    "StaffLeadId": "sample string 2",
    "StaffLeadId_Name": "sample string 3",
    "StaffMemberId": "sample string 4",
    "StaffMemberId_Name": "sample string 5",
    "StaffLead_DepartmentId": "sample string 6",
    "StaffMember_DepartmentId": "sample string 7",
    "IsPrivate": true,
    "ScreenCode": "sample string 9",
    "ScreenCode_Name": "sample string 10",
    "DepartmentId": "sample string 11",
    "HRGroupId": "sample string 12",
    "JobTitleId": "sample string 13"
  },
  "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:
<EzyResultObjectOfStaff_Lead_StaffModelOtoXqmQY 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">
    <d2p1:DepartmentId>sample string 11</d2p1:DepartmentId>
    <d2p1:HRGroupId>sample string 12</d2p1:HRGroupId>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsPrivate>true</d2p1:IsPrivate>
    <d2p1:JobTitleId>sample string 13</d2p1:JobTitleId>
    <d2p1:ScreenCode>sample string 9</d2p1:ScreenCode>
    <d2p1:ScreenCode_Name>sample string 10</d2p1:ScreenCode_Name>
    <d2p1:StaffLeadId>sample string 2</d2p1:StaffLeadId>
    <d2p1:StaffLeadId_Name>sample string 3</d2p1:StaffLeadId_Name>
    <d2p1:StaffLead_DepartmentId>sample string 6</d2p1:StaffLead_DepartmentId>
    <d2p1:StaffMemberId>sample string 4</d2p1:StaffMemberId>
    <d2p1:StaffMemberId_Name>sample string 5</d2p1:StaffMemberId_Name>
    <d2p1:StaffMember_DepartmentId>sample string 7</d2p1:StaffMember_DepartmentId>
  </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>
</EzyResultObjectOfStaff_Lead_StaffModelOtoXqmQY>