Get-ITGlueChecklist

SYNOPSIS

List all checklists in your account / List all checklists for a particular organization / Retrieve a checklist / Retrieve a checklist for a particular organization

SYNTAX

List (Default)

Get-ITGlueChecklist [-FilterId <long>] [-FilterOrganizationId <long>] [-Include <string>]
 [-PageNumber <long>] [-PageSize <long>] [-Sort <string>] [-AllResults] [-Raw]

ByOrganizationById

Get-ITGlueChecklist [-OrganizationId] <long> [-Id] <long> [-Include <string>] [-Raw]

ByOrganization

Get-ITGlueChecklist [-OrganizationId] <long> [-FilterId <long>] [-FilterOrganizationId <long>]
 [-Include <string>] [-PageNumber <long>] [-PageSize <long>] [-Sort <string>] [-AllResults] [-Raw]

ById

Get-ITGlueChecklist [-Id] <long> [-Include <string>] [-Raw]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

Parameter set [ List ] - The Get-ITGlueChecklist cmdlet invokes the GET method of the /checklists endpoint (List all checklists in your account)

Returns a list of checklists in your account.

Parameter set [ ByOrganization ] - The Get-ITGlueChecklist cmdlet invokes the GET method of the /organizations/{organization_id}/relationships/checklists endpoint (List all checklists for a particular organization)

Returns a list of checklists in your account.

Parameter set [ ById ] - The Get-ITGlueChecklist cmdlet invokes the GET method of the /checklists/{id} endpoint (Retrieve a checklist)

Returns the details of an existing checklist.

Parameter set [ ByOrganizationById ] - The Get-ITGlueChecklist cmdlet invokes the GET method of the /organizations/{organization_id}/relationships/checklists/{id} endpoint (Retrieve a checklist for a particular organization)

Returns the details of an existing checklist.

EXAMPLES

EXAMPLE 1

Get-ITGlueChecklist

Returns the result of the /checklists endpoint

EXAMPLE 2

Get-ITGlueChecklist -PageNumber 2 -PageSize 10

Returns the second page of 10 items from the /checklists endpoint

EXAMPLE 3

Get-ITGlueChecklist -AllResults

Returns every item from the /checklists endpoint by requesting every page of the results

EXAMPLE 4

Get-ITGlueChecklist -OrganizationId 12345

Returns the result of the /organizations/{organization_id}/relationships/checklists endpoint

EXAMPLE 5

Get-ITGlueChecklist -OrganizationId 12345 -PageNumber 2 -PageSize 10

Returns the second page of 10 items from the /organizations/{organization_id}/relationships/checklists endpoint

EXAMPLE 6

Get-ITGlueChecklist -OrganizationId 12345 -AllResults

Returns every item from the /organizations/{organization_id}/relationships/checklists endpoint by requesting every page of the results

EXAMPLE 7

Get-ITGlueChecklist -Id 12345

Returns the result of the /checklists/{id} endpoint

EXAMPLE 8

Get-ITGlueChecklist -OrganizationId 12345 -Id 12345

Returns the result of the /organizations/{organization_id}/relationships/checklists/{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: ByOrganization
  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: ''

-FilterId

Filter by id

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  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: ''

-FilterOrganizationId

Filter by organization id

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  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: ''

-Id

Defines the ID of the item

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganizationById
  Position: 1
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ById
  Position: 0
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Include

Notes: Comma separated values

Allowed values: ‘attachments’, ‘checklist_tasks’, ‘user_resource_accesses’, ‘group_resource_accesses’

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganizationById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ByOrganization
  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: ''

-OrganizationId

Only required for nested relationships route

Notes: Must be a valid Organization Id in your Account

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases:
- organization_id
ParameterSets:
- Name: ByOrganizationById
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
- Name: ByOrganization
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-PageNumber

Defines the page number to return

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  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: ''

-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: ByOrganization
  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: ''

-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: ‘completed’, ‘created_at’, ‘updated_at’

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  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: ''

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 /checklists Endpoint : GET /organizations/{organization_id}/relationships/checklists Endpoint : GET /checklists/{id} Endpoint : GET /organizations/{organization_id}/relationships/checklists/{id}