Get-ITGlueExport

SYNOPSIS

List all exports for current account / Retrieve a export

SYNTAX

List (Default)

Get-ITGlueExport [-FilterId <long>] [-PageNumber <long>] [-PageSize <long>] [-Sort <string>]
 [-AllResults] [-Raw]

ById

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

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

Parameter set [ List ] - The Get-ITGlueExport cmdlet invokes the GET method of the /exports endpoint (List all exports for current account)

Returns a list of exports in your account.

Example return value:

{ “data”: [ { “id”: “2”, “type”: “exports”, “attributes”: { “organization-id”: 7, “organization-name”: “Happy Frog”, “include-logs”: false, “export-all”: false, “encrypted-status”: true, “download-url”: “https://itglue.com/export.zip”, “created-at”: “2022-02-28T21:56:58.000Z”, “updated-at”: “2022-02-28T21:57:34.000Z” } }, { “id”: “3”, “type”: “exports”, “attributes”: { “organization-id”: null, “organization-name”: null, “include-logs”: true, “export-all”: true, “encrypted-status”: false, “download-url”: null, “created-at”: “2022-03-01T03:52:43.000Z”, “updated-at”: “2022-03-01T03:52:43.000Z” } } ] }

Parameter set [ ById ] - The Get-ITGlueExport cmdlet invokes the GET method of the /exports/{id} endpoint (Retrieve a export)

‘Retrieve a particular export for current account.’

Example return value:

{ “data”: { “id”: “2”, “type”: “exports”, “attributes”: { “organization-id”: 7, “organization-name”: “Happy Frog”, “include-logs”: false, “export-all”: false, “encrypted-status”: true, “download-url”: “https://itglue.com/export.zip”, “created-at”: “2022-02-28T21:56:58.000Z”, “updated-at”: “2022-02-28T21:57:34.000Z” } } }

EXAMPLES

EXAMPLE 1

Get-ITGlueExport

Returns the result of the /exports endpoint

EXAMPLE 2

Get-ITGlueExport -PageNumber 2 -PageSize 10

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

EXAMPLE 3

Get-ITGlueExport -AllResults

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

EXAMPLE 4

Get-ITGlueExport -Id 12345

Returns the result of the /exports/{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: ''

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

-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

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
  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: ‘created_at’, ‘updated_at’

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 /exports Endpoint : GET /exports/{id}