POST workday/dev/Employee/Deactivate

Request Information

URI Parameters

None.

Body Parameters

Collection of EmployeeDeactivate
NameDescriptionTypeAdditional information
Employee_ID

string

Required

Company_ID

string

Required

Company

string

None.

Local_Termination_Reason

string

None.

Termination_Reason

string

None.

Termination_Date

date

None.

Resignation_Date

date

None.

Pay_Through_Date

date

None.

Worker_Type_ID

string

None.

Worker_Type_Label

string

None.

Worker_Subtype_ID

string

None.

Worker_Subtype_Label

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Employee_ID": "sample string 1",
    "Company_ID": "sample string 2",
    "Company": "sample string 3",
    "Local_Termination_Reason": "sample string 4",
    "Termination_Reason": "sample string 5",
    "Termination_Date": "2025-05-28",
    "Resignation_Date": "2025-05-28",
    "Pay_Through_Date": "2025-05-28",
    "Worker_Type_ID": "sample string 6",
    "Worker_Type_Label": "sample string 7",
    "Worker_Subtype_ID": "sample string 8",
    "Worker_Subtype_Label": "sample string 9"
  },
  {
    "Employee_ID": "sample string 1",
    "Company_ID": "sample string 2",
    "Company": "sample string 3",
    "Local_Termination_Reason": "sample string 4",
    "Termination_Reason": "sample string 5",
    "Termination_Date": "2025-05-28",
    "Resignation_Date": "2025-05-28",
    "Pay_Through_Date": "2025-05-28",
    "Worker_Type_ID": "sample string 6",
    "Worker_Type_Label": "sample string 7",
    "Worker_Subtype_ID": "sample string 8",
    "Worker_Subtype_Label": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeDeactivate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CTRLWebApi.ModelsWorkday">
  <EmployeeDeactivate>
    <Company>sample string 3</Company>
    <Company_ID>sample string 2</Company_ID>
    <Employee_ID>sample string 1</Employee_ID>
    <Local_Termination_Reason>sample string 4</Local_Termination_Reason>
    <Pay_Through_Date>2025-05-28T00:14:28.7361875+01:00</Pay_Through_Date>
    <Resignation_Date>2025-05-28T00:14:28.7361875+01:00</Resignation_Date>
    <Termination_Date>2025-05-28T00:14:28.7361875+01:00</Termination_Date>
    <Termination_Reason>sample string 5</Termination_Reason>
    <Worker_Subtype_ID>sample string 8</Worker_Subtype_ID>
    <Worker_Subtype_Label>sample string 9</Worker_Subtype_Label>
    <Worker_Type_ID>sample string 6</Worker_Type_ID>
    <Worker_Type_Label>sample string 7</Worker_Type_Label>
  </EmployeeDeactivate>
  <EmployeeDeactivate>
    <Company>sample string 3</Company>
    <Company_ID>sample string 2</Company_ID>
    <Employee_ID>sample string 1</Employee_ID>
    <Local_Termination_Reason>sample string 4</Local_Termination_Reason>
    <Pay_Through_Date>2025-05-28T00:14:28.7361875+01:00</Pay_Through_Date>
    <Resignation_Date>2025-05-28T00:14:28.7361875+01:00</Resignation_Date>
    <Termination_Date>2025-05-28T00:14:28.7361875+01:00</Termination_Date>
    <Termination_Reason>sample string 5</Termination_Reason>
    <Worker_Subtype_ID>sample string 8</Worker_Subtype_ID>
    <Worker_Subtype_Label>sample string 9</Worker_Subtype_Label>
    <Worker_Type_ID>sample string 6</Worker_Type_ID>
    <Worker_Type_Label>sample string 7</Worker_Type_Label>
  </EmployeeDeactivate>
</ArrayOfEmployeeDeactivate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.