All URIs are relative to https://saapi.realgreen.com
| Method | HTTP request | Description |
|---|---|---|
| Invoke-RGSADiscountCodeAvailableAvailableGet | GET /DiscountCode/Available/{available} | Returns a list of discount codes that are or are not available based on the supplied value. |
| Invoke-RGSADiscountCodeAvailableOnHandheldHandheldGet | GET /DiscountCode/AvailableOnHandheld/{handheld} | Returns a list of discount codes that are or are not available on handhelds based on the supplied value. |
| Invoke-RGSADiscountCodeAvailableOnWebWebavailGet | GET /DiscountCode/AvailableOnWeb/{webavail} | Returns a lit of discount codes that are or are not available on CAW based on the supplied value. |
| Invoke-RGSADiscountCodeDollarDiscountDollardiscGet | GET /DiscountCode/DollarDiscount/{dollardisc} | Retruns a list of discount codes that are either a dollar discount (1) or percentage discount (0). |
| Invoke-RGSADiscountCodeGet | GET /DiscountCode | Returns all discount codes in the database. |
| Invoke-RGSADiscountCodeIdGet | GET /DiscountCode/{id} | Returns a single discount code record that corresponds to the provided ID. |
| Invoke-RGSADiscountCodeIsSurchargeSurchargeGet | GET /DiscountCode/IsSurcharge/{surcharge} | Returns a list of discount codes that correspond with the supplied surcharge value. |
| Invoke-RGSADiscountCodePermanentPermanentGet | GET /DiscountCode/Permanent/{permanent} | Returns a list of discount codes that are or are not permanent based on the supplied value. |
DiscountCode[] Invoke-RGSADiscountCodeAvailableAvailableGet
[-Available]
[-ApiKey]
Returns a list of discount codes that are or are not available based on the supplied value.
$Available = $true # Boolean |
$ApiKey = "MyApiKey" # String | API Key
# Returns a list of discount codes that are or are not available based on the supplied value.
try {
$Result = Invoke-RGSADiscountCodeAvailableAvailableGet -Available $Available -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeAvailableAvailableGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Available | Boolean | ||
| ApiKey | String | API Key |
DiscountCode[] (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]
DiscountCode[] Invoke-RGSADiscountCodeAvailableOnHandheldHandheldGet
[-Handheld]
[-ApiKey]
Returns a list of discount codes that are or are not available on handhelds based on the supplied value.
$Handheld = $true # Boolean |
$ApiKey = "MyApiKey" # String | API Key
# Returns a list of discount codes that are or are not available on handhelds based on the supplied value.
try {
$Result = Invoke-RGSADiscountCodeAvailableOnHandheldHandheldGet -Handheld $Handheld -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeAvailableOnHandheldHandheldGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Handheld | Boolean | ||
| ApiKey | String | API Key |
DiscountCode[] (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]
DiscountCode[] Invoke-RGSADiscountCodeAvailableOnWebWebavailGet
[-Webavail]
[-ApiKey]
Returns a lit of discount codes that are or are not available on CAW based on the supplied value.
$Webavail = $true # Boolean |
$ApiKey = "MyApiKey" # String | API Key
# Returns a lit of discount codes that are or are not available on CAW based on the supplied value.
try {
$Result = Invoke-RGSADiscountCodeAvailableOnWebWebavailGet -Webavail $Webavail -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeAvailableOnWebWebavailGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Webavail | Boolean | ||
| ApiKey | String | API Key |
DiscountCode[] (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]
DiscountCode[] Invoke-RGSADiscountCodeDollarDiscountDollardiscGet
[-Dollardisc]
[-ApiKey]
Retruns a list of discount codes that are either a dollar discount (1) or percentage discount (0).
$Dollardisc = 1.2 # Double |
$ApiKey = "MyApiKey" # String | API Key
# Retruns a list of discount codes that are either a dollar discount (1) or percentage discount (0).
try {
$Result = Invoke-RGSADiscountCodeDollarDiscountDollardiscGet -Dollardisc $Dollardisc -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeDollarDiscountDollardiscGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Dollardisc | Double | ||
| ApiKey | String | API Key |
DiscountCode[] (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]
DiscountCode[] Invoke-RGSADiscountCodeGet
[-ApiKey]
Returns all discount codes in the database.
$ApiKey = "MyApiKey" # String | API Key
# Returns all discount codes in the database.
try {
$Result = Invoke-RGSADiscountCodeGet -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | String | API Key |
DiscountCode[] (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]
DiscountCode Invoke-RGSADiscountCodeIdGet
[-Id]
[-ApiKey]
Returns a single discount code record that corresponds to the provided ID.
$Id = "MyId" # String |
$ApiKey = "MyApiKey" # String | API Key
# Returns a single discount code record that corresponds to the provided ID.
try {
$Result = Invoke-RGSADiscountCodeIdGet -Id $Id -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeIdGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Id | String | ||
| ApiKey | String | API Key |
DiscountCode (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]
DiscountCode[] Invoke-RGSADiscountCodeIsSurchargeSurchargeGet
[-Surcharge]
[-ApiKey]
Returns a list of discount codes that correspond with the supplied surcharge value.
$Surcharge = $true # Boolean |
$ApiKey = "MyApiKey" # String | API Key
# Returns a list of discount codes that correspond with the supplied surcharge value.
try {
$Result = Invoke-RGSADiscountCodeIsSurchargeSurchargeGet -Surcharge $Surcharge -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodeIsSurchargeSurchargeGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Surcharge | Boolean | ||
| ApiKey | String | API Key |
DiscountCode[] (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]
DiscountCode[] Invoke-RGSADiscountCodePermanentPermanentGet
[-Permanent]
[-ApiKey]
Returns a list of discount codes that are or are not permanent based on the supplied value.
$Permanent = $true # Boolean |
$ApiKey = "MyApiKey" # String | API Key
# Returns a list of discount codes that are or are not permanent based on the supplied value.
try {
$Result = Invoke-RGSADiscountCodePermanentPermanentGet -Permanent $Permanent -ApiKey $ApiKey
} catch {
Write-Host ("Exception occurred when calling Invoke-RGSADiscountCodePermanentPermanentGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}| Name | Type | Description | Notes |
|---|---|---|---|
| Permanent | Boolean | ||
| ApiKey | String | API Key |
DiscountCode[] (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]