companyUid 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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supporters/employees?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "createdOn": "2019-08-24T14:15:22Z",
- "supportCompany": {
- "createdOn": "2019-08-24T14:15:22Z",
- "latitude": 0,
- "longitude": 0,
- "sessions": 0,
- "rating": 0,
- "numberOfSupporters": 0,
- "minPricePerHour": 0,
- "maxPricePerHour": 0,
- "hasFreeSupport": true,
- "isMarkedAsFavorite": true,
- "name": "string",
- "cvr": "string",
- "logoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "pricePerHour": 0,
- "isActive": true,
- "hasFreeSupport": true,
- "rating": 0,
- "sessions": 0,
- "isMarkedAsFavorite": true,
- "name": "string",
- "user": {
- "email": "string",
- "name": "string",
- "photoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}
companyUid required | string <uuid> |
employeeSupporterUid 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 EmployeeSupporterUid = "YOUR_employeeSupporterUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supporters/employees/" + EmployeeSupporterUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "contactEmail": "string",
- "contactPhone": "string",
- "address": "string",
- "city": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "supportCompany": {
- "createdOn": "2019-08-24T14:15:22Z",
- "latitude": 0,
- "longitude": 0,
- "sessions": 0,
- "rating": 0,
- "numberOfSupporters": 0,
- "minPricePerHour": 0,
- "maxPricePerHour": 0,
- "hasFreeSupport": true,
- "isMarkedAsFavorite": true,
- "name": "string",
- "cvr": "string",
- "logoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "pricePerHour": 0,
- "isActive": true,
- "hasFreeSupport": true,
- "rating": 0,
- "sessions": 0,
- "isMarkedAsFavorite": true,
- "name": "string",
- "user": {
- "email": "string",
- "name": "string",
- "photoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
api-version | string |
required | Array of objects (Zalary.Models.Employee.Supporter.EmployeeSupporterDto) |
{- "supporters": [
- {
- "competences": [
- {
- "name": "string",
- "type": 1,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "pricePerHour": 0,
- "isActive": true,
- "hasFreeSupport": true,
- "rating": 0,
- "sessions": 0,
- "isMarkedAsFavorite": true,
- "name": "string",
- "user": {
- "email": "string",
- "name": "string",
- "photoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}