Get-ITGlueOrganization
SYNOPSIS
List all organizations in your account / Retrieve an organization
SYNTAX
List (Default)
Get-ITGlueOrganization [-FilterCreatedAt <string>] [-FilterExcludeId <long>]
[-FilterExcludeName <string>] [-FilterExcludeOrganizationStatusId <long>]
[-FilterExcludeOrganizationTypeId <long>] [-FilterGroupId <long>] [-FilterId <long>]
[-FilterMyGlueAccountId <long>] [-FilterName <string>] [-FilterOrganizationStatusId <long>]
[-FilterOrganizationTypeId <long>] [-FilterPrimary <string>] [-FilterPsaId <string>]
[-FilterPsaIntegrationType <string>] [-FilterRangeMyGlueAccountId <long>]
[-FilterUpdatedAt <string>] [-Include <string>] [-PageNumber <long>] [-PageSize <long>]
[-Sort <string>] [-AllResults] [-Raw]
ById
Get-ITGlueOrganization [-Id] <long> [-Include <string>] [-Raw]
ALIASES
This cmdlet has the following aliases,
- None
DESCRIPTION
Parameter set [ List ] - The Get-ITGlueOrganization cmdlet invokes the GET method of the /organizations endpoint (List all organizations in your account)
Returns a list of organizations in your account.
Any quick notes on an organization will be truncated to the first 250 characters. The full quick notes are available via the Show request.
Example return value:
{ “data”: [ { “id”: “2”, “type”: “organizations”, “attributes”: { “name”: “Happy Frog”, “alert”: null, “description”: null, “organization-type-id”: 86, “organization-type-name”: “Customer”, “organization-status-id”: 68, “organization-status-name”: “Active”, “primary”: false, “logo”: “”, “quick-notes”: null, “short-name”: “happy”, “created-at”: “2016-09-14T17:02:44.000Z”, “updated-at”: “2016-09-14T17:02:44.000Z”, “parent-id”: “1”, “ancestor-ids”: “[1,6]” } }, { “id”: “6”, “type”: “organizations”, “attributes”: { “name”: “Kraken Techs”, “alert”: null, “description”: null, “organization-type-id”: 15, “organization-type-name”: “Owner”, “organization-status-id”: 68, “organization-status-name”: “Active”, “primary”: true, “logo”: “”, “quick-notes”: null, “short-name”: “kraken”, “created-at”: “2016-09-14T17:02:44.000Z”, “updated-at”: “2016-09-14T17:02:44.000Z”, “parent-id”: “1”, “ancestor-ids”: “[1,6]” } }, { “id”: “9”, “type”: “organizations”, “attributes”: { “name”: “Dell Support”, “alert”: null, “description”: null, “organization-type-id”: 87, “organization-type-name”: “Vendor”, “organization-status-id”: 68, “organization-status-name”: “Active”, “primary”: false, “logo”: “”, “quick-notes”: null, “short-name”: “dell”, “created-at”: “2016-09-14T17:02:44.000Z”, “updated-at”: “2016-09-14T17:02:44.000Z”, “parent-id”: “1”, “ancestor-ids”: “[1,6]” } } ] }
Parameter set [ ById ] - The Get-ITGlueOrganization cmdlet invokes the GET method of the /organizations/{id} endpoint (Retrieve an organization)
Returns the details of an existing organization.
Example return value:
{ “data”: { “id”: “2”, “type”: “organizations”, “attributes”: { “name”: “Happy Frog”, “alert”: null, “description”: null, “organization-type-id”: 86, “organization-type-name”: “Customer”, “organization-status-id”: 68, “organization-status-name”: “Active”, “primary”: false, “logo”: “”, “quick-notes”: null, “short-name”: “happy”, “created-at”: “2016-09-14T17:02:44.000Z”, “updated-at”: “2016-09-14T17:02:44.000Z”, “parent-id”: “1”, “ancestor-ids”: “[1,6]” } } }
EXAMPLES
EXAMPLE 1
Get-ITGlueOrganization
Returns the result of the /organizations endpoint
EXAMPLE 2
Get-ITGlueOrganization -PageNumber 2 -PageSize 10
Returns the second page of 10 items from the /organizations endpoint
EXAMPLE 3
Get-ITGlueOrganization -AllResults
Returns every item from the /organizations endpoint by requesting every page of the results
EXAMPLE 4
Get-ITGlueOrganization -Id 12345
Returns the result of the /organizations/{id} endpoint
PARAMETERS
-AllResults
Returns all items from the endpoint by requesting every page of the results
When PageSize is not defined 1000 items are requested with each page
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterCreatedAt
The specified string must be a date range and comma-separated as ‘start_date, end_date’. The dates are UTC. Use ‘*’ for unspecified ‘start_date’ or ‘end_date’. Date ranges longer than a week may be disallowed for performance reasons.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterExcludeId
Filter by exclude id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterExcludeName
Filter by exclude name
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterExcludeOrganizationStatusId
Filter by exclude organization status id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterExcludeOrganizationTypeId
Filter by exclude organization type id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterGroupId
Filter by group id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterId
Filter by id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterMyGlueAccountId
Filter by my glue account id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterName
Filter by name
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterOrganizationStatusId
Filter by organization status id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterOrganizationTypeId
Filter by organization type id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterPrimary
Filter by primary
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterPsaId
Notes: This must be accompanied by the filter for psa_integration_type
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterPsaIntegrationType
Filter by psa integration type
Allowed values: ‘manage’, ‘autotask’, ‘tigerpaw’, ‘kaseya-bms’, ‘pulseway-psa’, ‘vorex’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterRangeMyGlueAccountId
Filter by range my glue account id
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-FilterUpdatedAt
The specified string must be a date range and comma-separated as ‘start_date, end_date’. The dates are UTC. Use ‘*’ for unspecified ‘start_date’ or ‘end_date’. Date ranges longer than a week may be disallowed for performance reasons.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Id
Defines the ID of the item
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Include
Notes: Comma separated values
Allowed values: ‘adapters_resources’, ‘attachments’, ‘rmm_companies’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PageNumber
Defines the page number to return
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PageSize
Defines the number of items to return with each page
The maximum page size is 1000
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Raw
Returns the full API response (data, meta, links, & included) instead of only the data
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Sort
Notes: To Invert order use -, eg: -name Comma separated values
Allowed values: ‘name’, ‘id’, ‘updated_at’, ‘organization_status_name’, ‘organization_type_name’, ‘created_at’, ‘short_name’, ‘my_glue_account_id’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.Int64
OUTPUTS
NOTES
Endpoint : GET /organizations Endpoint : GET /organizations/{id}