All URIs are relative to https://saapi.realgreen.com
| Method | HTTP request | Description |
|---|---|---|
| Invoke-RGSABatchIdGet | GET /Batch/{id} | Get a single batch record by ID. |
| Invoke-RGSABatchSearchGet | GET /Batch/Search | Search for one or many batches. |
| Invoke-RGSABatchSearchPost | POST /Batch/Search | Search for one or many batches. |
Batch Invoke-RGSABatchIdGet
[-Id]
[-ApiKey]
[-Fields]
Get a single batch record by ID.
$Id = 56 # Int32 |
$ApiKey = "MyApiKey" # String | API Key
$Fields = "MyFields" # String | (optional)
# Get a single batch record by ID.
try {
$Result = Invoke-RGSABatchIdGet -Id $Id -ApiKey $ApiKey -Fields $Fields
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSABatchIdGet: {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 | |
| Fields | String | [optional] |
Batch (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]
Batch[] Invoke-RGSABatchSearchGet
[-ApiKey]
[-BatchDateMinValue] <System.Nullable[System.DateTime]>
[-BatchDateMaxValue] <System.Nullable[System.DateTime]>
[-BatchType]
[-PrintedBy]
[-Fields]
Search for one or many batches.
$ApiKey = "MyApiKey" # String | API Key
$BatchDateMinValue = (Get-Date) # System.DateTime | (optional)
$BatchDateMaxValue = (Get-Date) # System.DateTime | (optional)
$BatchType = "None" # BatchType | (optional)
$PrintedBy = "MyPrintedBy" # String | (optional)
$Fields = "MyFields" # String | (optional)
# Search for one or many batches.
try {
$Result = Invoke-RGSABatchSearchGet -ApiKey $ApiKey -BatchDateMinValue $BatchDateMinValue -BatchDateMaxValue $BatchDateMaxValue -BatchType $BatchType -PrintedBy $PrintedBy -Fields $Fields
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSABatchSearchGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | String | API Key | |
| BatchDateMinValue | System.DateTime | [optional] | |
| BatchDateMaxValue | System.DateTime | [optional] | |
| BatchType | BatchType | [optional] | |
| PrintedBy | String | [optional] | |
| Fields | String | [optional] |
Batch[] (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]
Batch[] Invoke-RGSABatchSearchPost
[-ApiKey]
[-Fields]
[-BatchLookup]
Search for one or many batches.
$ApiKey = "MyApiKey" # String | API Key
$Fields = "MyFields" # String | (optional)
$DateTimeRange = Initialize-DateTimeRange -MinValue (Get-Date) -MaxValue (Get-Date)
$BatchLookup = Initialize-BatchLookup -BatchDate $DateTimeRange -BatchType "None" -PrintedBy "MyPrintedBy" # BatchLookup | (optional)
# Search for one or many batches.
try {
$Result = Invoke-RGSABatchSearchPost -ApiKey $ApiKey -Fields $Fields -BatchLookup $BatchLookup
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSABatchSearchPost: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | String | API Key | |
| Fields | String | [optional] | |
| BatchLookup | BatchLookup | [optional] |
Batch[] (PSCustomObject)
No authorization required
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]