companyUid required | string <uuid> |
employeeUid required | string <uuid> |
employeeValueUid required | string <uuid> |
api-version | string |
using System; using System.Net.Http; using System.Threading.Tasks; public class Program { public static async Task Main(string[] args) { using (var client = new HttpClient()) { client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>"); var CompanyUid = "YOUR_companyUid_PARAMETER"; var EmployeeUid = "YOUR_employeeUid_PARAMETER"; var EmployeeValueUid = "YOUR_employeeValueUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/values/" + EmployeeValueUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "employeeName": "string",
- "type": 0,
- "effectiveFrom": "2019-08-24T14:15:22Z",
- "effectiveFromExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveFromType": "string",
- "effectiveFromPoint": "string",
- "effectiveFromUnit": "string",
- "effectiveFromAmount": 0,
- "effectiveFromConditionAmount": 0,
- "effectiveFromConditionPoint": "string",
- "effectiveTo": "2019-08-24T14:15:22Z",
- "effectiveToExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveToType": "string",
- "effectiveToPoint": "string",
- "effectiveToUnit": "string",
- "effectiveToAmount": 0,
- "value": "string",
- "source": "string",
- "sourceUid": "string",
- "shouldLockEffectiveDateFields": true,
- "isAssignedInSet": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
employeeValueUid required | string <uuid> |
api-version | string |
using System; using System.Net.Http; using System.Threading.Tasks; public class Program { public static async Task Main(string[] args) { using (var client = new HttpClient()) { client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>"); var CompanyUid = "YOUR_companyUid_PARAMETER"; var EmployeeUid = "YOUR_employeeUid_PARAMETER"; var EmployeeValueUid = "YOUR_employeeValueUid_PARAMETER"; var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/values/" + EmployeeValueUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
employeeValueUid required | string <uuid> |
api-version | string |
type | string |
source | string |
sourceUid | string <uuid> |
value | string |
referenceUid | string <uuid> |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) | |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) |
{- "type": "string",
- "source": "string",
- "sourceUid": "00000000-0000-0000-0000-000000000000",
- "value": "string",
- "referenceUid": "00000000-0000-0000-0000-000000000000",
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
{- "employeeName": "string",
- "type": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "effectiveFrom": "2019-08-24T14:15:22Z",
- "effectiveFromExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveFromType": "string",
- "effectiveFromPoint": "string",
- "effectiveFromUnit": "string",
- "effectiveFromAmount": 0,
- "effectiveFromConditionAmount": 0,
- "effectiveFromConditionPoint": "string",
- "effectiveTo": "2019-08-24T14:15:22Z",
- "effectiveToExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveToType": "string",
- "effectiveToPoint": "string",
- "effectiveToUnit": "string",
- "effectiveToAmount": 0,
- "value": "string",
- "source": "string",
- "valueName": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
valueType required | integer <int32> |
api-version | string |
using System; using System.Net.Http; using System.Threading.Tasks; public class Program { public static async Task Main(string[] args) { using (var client = new HttpClient()) { client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>"); var CompanyUid = "YOUR_companyUid_PARAMETER"; var EmployeeUid = "YOUR_employeeUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/profile/values?valueType=0&api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "employeeName": "string",
- "type": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "effectiveFrom": "2019-08-24T14:15:22Z",
- "effectiveFromExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveFromType": "string",
- "effectiveFromPoint": "string",
- "effectiveFromUnit": "string",
- "effectiveFromAmount": 0,
- "effectiveFromConditionAmount": 0,
- "effectiveFromConditionPoint": "string",
- "effectiveTo": "2019-08-24T14:15:22Z",
- "effectiveToExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveToType": "string",
- "effectiveToPoint": "string",
- "effectiveToUnit": "string",
- "effectiveToAmount": 0,
- "value": "string",
- "source": "string",
- "valueName": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
companyUid required | string <uuid> |
api-version | string |
employeeUids | Array of strings <uuid> |
object (Zalary.Models.EmployeeValue.EmployeeValueRequest) |
{- "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
], - "employeeValueRequest": {
- "type": "string",
- "source": "string",
- "sourceUid": "00000000-0000-0000-0000-000000000000",
- "value": "string",
- "referenceUid": "00000000-0000-0000-0000-000000000000",
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
api-version | string |
type | string |
source | string |
sourceUid | string <uuid> |
value | string |
referenceUid | string <uuid> |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) | |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) |
{- "type": "string",
- "source": "string",
- "sourceUid": "00000000-0000-0000-0000-000000000000",
- "value": "string",
- "referenceUid": "00000000-0000-0000-0000-000000000000",
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
api-version | string |
skip | integer <int32> |
take | integer <int32> |
types | Array of integers <int32> |
object (Zalary.Models.DateBase.DateRange) | |
object (Zalary.Models.DateBase.DateRange) |
{- "skip": 0,
- "take": 0,
- "types": [
- 0
], - "effectiveFrom": {
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "effectiveTo": {
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}
}
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "employeeName": "string",
- "type": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "effectiveFrom": "2019-08-24T14:15:22Z",
- "effectiveFromExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveFromType": "string",
- "effectiveFromPoint": "string",
- "effectiveFromUnit": "string",
- "effectiveFromAmount": 0,
- "effectiveFromConditionAmount": 0,
- "effectiveFromConditionPoint": "string",
- "effectiveTo": "2019-08-24T14:15:22Z",
- "effectiveToExecutedOn": "2019-08-24T14:15:22Z",
- "effectiveToType": "string",
- "effectiveToPoint": "string",
- "effectiveToUnit": "string",
- "effectiveToAmount": 0,
- "value": "string",
- "source": "string",
- "valueName": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
api-version | string |
[- "00000000-0000-0000-0000-000000000000"
]