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 + "/countries?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "name": "string",
- "code": "string",
- "countryId": "string",
- "taxPercentage": 0,
- "isPredefined": true,
- "countryWageTypes": [
- {
- "companyWageType": "string",
- "wageCodeDescription": "string",
- "wageCode": "string",
- "wageCodeResult": "string",
- "hasOverride": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
companyUid required | string <uuid> |
api-version | string |
name required | string [ 0 .. 60 ] characters |
code required | string 2 characters |
countryId | string [ 0 .. 20 ] characters |
taxPercentage | number <double> [ 0 .. 100 ] |
Array of objects (Zalary.Models.CountryWageType.CountryWageTypeBase) |
{- "name": "string",
- "code": "st",
- "countryId": "string",
- "taxPercentage": 0,
- "countryWageTypes": [
- {
- "companyWageType": "string",
- "wageCodeDescription": "string",
- "wageCode": "string",
- "wageCodeResult": "string",
- "hasOverride": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}
companyUid required | string <uuid> |
companyCountryUid 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 CompanyCountryUid = "YOUR_companyCountryUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/countries/" + CompanyCountryUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "name": "string",
- "code": "string",
- "countryId": "string",
- "taxPercentage": 0,
- "isPredefined": true,
- "countryWageTypes": [
- {
- "companyWageType": "string",
- "wageCodeDescription": "string",
- "wageCode": "string",
- "wageCodeResult": "string",
- "hasOverride": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
companyCountryUid 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 CompanyCountryUid = "YOUR_companyCountryUid_PARAMETER"; var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/countries/" + CompanyCountryUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
companyUid required | string <uuid> |
companyCountryUid required | string <uuid> |
api-version | string |
name required | string [ 0 .. 60 ] characters |
code required | string 2 characters |
countryId | string [ 0 .. 20 ] characters |
taxPercentage | number <double> [ 0 .. 100 ] |
Array of objects (Zalary.Models.CountryWageType.CountryWageTypeBase) |
{- "name": "string",
- "code": "st",
- "countryId": "string",
- "taxPercentage": 0,
- "countryWageTypes": [
- {
- "companyWageType": "string",
- "wageCodeDescription": "string",
- "wageCode": "string",
- "wageCodeResult": "string",
- "hasOverride": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}
companyUid required | string <uuid> |
api-version | string |
skip | integer <int32> |
take | integer <int32> |
searchPhrase | string |
object (Zalary.Models.CompanyCountry.CompanyCountryOrderBy) |
{- "skip": 0,
- "take": 0,
- "searchPhrase": "string",
- "orderBy": { }
}
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "name": "string",
- "code": "string",
- "countryId": "string",
- "taxPercentage": 0,
- "isPredefined": true,
- "countryWageTypes": [
- {
- "companyWageType": "string",
- "wageCodeDescription": "string",
- "wageCode": "string",
- "wageCodeResult": "string",
- "hasOverride": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}
companyUid required | string <uuid> |
api-version | string |
companyCountriesUids required | Array of strings <uuid> |
{- "companyCountriesUids": [
- "00000000-0000-0000-0000-000000000000"
]
}
{- "isPartialSuccess": true
}