Products per contract

Get-ProductsPerContract

Synopsis

Get products per contract.

Syntax

Get-ProductsPerContract [-ContractID] <String> [[-From] <String>] [[-To] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets the IDs and names of the products associated with a contract for the time frame selected.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑ContractID
Required

Your contract's ID.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑From

The start date, in UTC, to use when looking for products associated with a contract. The search always begins at midnight (0:00) UTC of the specified date. The default start date is 30 days before the current date.

For current contracts, you can select a date within the past 15 months of the current date. For expired contracts, you are limited to a date range of 30 days within the 15-month window.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑To

The end date, in UTC, to use when looking for products associated with a contract. The search always ends at 23:59:59 UTC at the specified date. The default end date is the current date.

Related Links