All URIs are relative to https://saapi.realgreen.com
| Method | HTTP request | Description |
|---|---|---|
| Invoke-RGSACompanyBranchNumberBranchnoGet | GET /Company/BranchNumber/{branchno} | Returns a single company record that corresponds with the provided branch number. |
| Invoke-RGSACompanyCountryGet | GET /Company/Country | |
| Invoke-RGSACompanyEmployeeEmployeeIdGet | GET /Company/Employee/{employeeId} | Returns all companies the supplied user can access. |
| Invoke-RGSACompanyGet | GET /Company | Returns all companies in the database. |
| Invoke-RGSACompanyIdGet | GET /Company/{id} | Returns a single company record that corresponds with the provided ID. |
Company Invoke-RGSACompanyBranchNumberBranchnoGet
[-Branchno]
[-ApiKey]
Returns a single company record that corresponds with the provided branch number.
$Branchno = "MyBranchno" # String |
$ApiKey = "MyApiKey" # String | API Key
# Returns a single company record that corresponds with the provided branch number.
try {
$Result = Invoke-RGSACompanyBranchNumberBranchnoGet -Branchno $Branchno -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSACompanyBranchNumberBranchnoGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Branchno | String | ||
| ApiKey | String | API Key |
Company (PSCustomObject)
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void Invoke-RGSACompanyCountryGet
[-ApiKey]
$ApiKey = "MyApiKey" # String | API Key
try {
$Result = Invoke-RGSACompanyCountryGet -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSACompanyCountryGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | String | API Key |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Company[] Invoke-RGSACompanyEmployeeEmployeeIdGet
[-EmployeeId]
[-ApiKey]
Returns all companies the supplied user can access.
$EmployeeId = "MyEmployeeId" # String |
$ApiKey = "MyApiKey" # String | API Key
# Returns all companies the supplied user can access.
try {
$Result = Invoke-RGSACompanyEmployeeEmployeeIdGet -EmployeeId $EmployeeId -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSACompanyEmployeeEmployeeIdGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| EmployeeId | String | ||
| ApiKey | String | API Key |
Company[] (PSCustomObject)
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Company[] Invoke-RGSACompanyGet
[-ApiKey]
Returns all companies in the database.
$ApiKey = "MyApiKey" # String | API Key
# Returns all companies in the database.
try {
$Result = Invoke-RGSACompanyGet -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSACompanyGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | String | API Key |
Company[] (PSCustomObject)
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Company Invoke-RGSACompanyIdGet
[-Id]
[-ApiKey]
Returns a single company record that corresponds with the provided ID.
$Id = 56 # Int32 |
$ApiKey = "MyApiKey" # String | API Key
# Returns a single company record that corresponds with the provided ID.
try {
$Result = Invoke-RGSACompanyIdGet -Id $Id -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSACompanyIdGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Id | Int32 | ||
| ApiKey | String | API Key |
Company (PSCustomObject)
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]