POST workday/v1/Employee/Compensation
Request Information
URI Parameters
None.
Body Parameters
Collection of EmployeeCompensationName | Description | Type | Additional information |
---|---|---|---|
Employee_ID | string |
Required |
|
Company_ID | string |
Required |
|
Company | string |
None. |
|
Compensation_Start_date | date |
None. |
|
Tier | string |
None. |
|
Salary_Currency | string |
None. |
|
Base_salary | decimal number |
None. |
|
Allowances | Collection of Allowances |
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", "Compensation_Start_date": "2025-05-28", "Tier": "sample string 4", "Salary_Currency": "sample string 5", "Base_salary": 6.1, "Allowances": [ { "Name": "sample string 1", "Amount": 2.1 }, { "Name": "sample string 1", "Amount": 2.1 } ], "Worker_Type_ID": "sample string 7", "Worker_Type_Label": "sample string 8", "Worker_Subtype_ID": "sample string 9", "Worker_Subtype_Label": "sample string 10" }, { "Employee_ID": "sample string 1", "Company_ID": "sample string 2", "Company": "sample string 3", "Compensation_Start_date": "2025-05-28", "Tier": "sample string 4", "Salary_Currency": "sample string 5", "Base_salary": 6.1, "Allowances": [ { "Name": "sample string 1", "Amount": 2.1 }, { "Name": "sample string 1", "Amount": 2.1 } ], "Worker_Type_ID": "sample string 7", "Worker_Type_Label": "sample string 8", "Worker_Subtype_ID": "sample string 9", "Worker_Subtype_Label": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeCompensation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CTRLWebApi.ModelsWorkday"> <EmployeeCompensation> <Allowances> <Allowances> <Amount>2.1</Amount> <Name>sample string 1</Name> </Allowances> <Allowances> <Amount>2.1</Amount> <Name>sample string 1</Name> </Allowances> </Allowances> <Base_salary>6.1</Base_salary> <Company>sample string 3</Company> <Company_ID>sample string 2</Company_ID> <Compensation_Start_date>2025-05-28T05:08:11.2565793+01:00</Compensation_Start_date> <Employee_ID>sample string 1</Employee_ID> <Salary_Currency>sample string 5</Salary_Currency> <Tier>sample string 4</Tier> <Worker_Subtype_ID>sample string 9</Worker_Subtype_ID> <Worker_Subtype_Label>sample string 10</Worker_Subtype_Label> <Worker_Type_ID>sample string 7</Worker_Type_ID> <Worker_Type_Label>sample string 8</Worker_Type_Label> </EmployeeCompensation> <EmployeeCompensation> <Allowances> <Allowances> <Amount>2.1</Amount> <Name>sample string 1</Name> </Allowances> <Allowances> <Amount>2.1</Amount> <Name>sample string 1</Name> </Allowances> </Allowances> <Base_salary>6.1</Base_salary> <Company>sample string 3</Company> <Company_ID>sample string 2</Company_ID> <Compensation_Start_date>2025-05-28T05:08:11.2565793+01:00</Compensation_Start_date> <Employee_ID>sample string 1</Employee_ID> <Salary_Currency>sample string 5</Salary_Currency> <Tier>sample string 4</Tier> <Worker_Subtype_ID>sample string 9</Worker_Subtype_ID> <Worker_Subtype_Label>sample string 10</Worker_Subtype_Label> <Worker_Type_ID>sample string 7</Worker_Type_ID> <Worker_Type_Label>sample string 8</Worker_Type_Label> </EmployeeCompensation> </ArrayOfEmployeeCompensation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |