Get-WETSupplier
SYNOPSIS
Retrieve supplier information from the WET API.
SYNTAX
General (Default)
LeverancierId
DESCRIPTION
This function retrieves supplier information from the WET API. It supports searching for suppliers by name or retrieving a specific supplier by ID. Optionally, credentials can be provided for authentication.
EXAMPLES
EXAMPLE 1
Retrieves supplier information for suppliers matching the name "ExampleSupplier".
EXAMPLE 2
Retrieves information for the supplier with ID 123.
EXAMPLE 3
Retrieves supplier information for suppliers matching the name "ExampleSupplier" using the specified credentials.
PARAMETERS
-Search
A string to search for suppliers by name.
Type: String
Parameter Sets: General
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Id
The ID of the supplier to retrieve.
Type: Int32
Parameter Sets: LeverancierId
Aliases:
Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Credential
The PSCredential object to use for authentication. If not provided, default credentials will be used.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.