powergate:code_reference:commandlets

Commandlets

All Commandlets are supporting OData Version v1, v2, v3, v4.

The cmdlets try to perform as less server requests as possible, in order to ensure high performance. when communicating over the network or the internet.

Metadata

This means that metadata such as the service metadata will be retrieved only when required and only for the required services.
When services are not available, powerGate will try to retrieve there metadata as long, as they become available! Warning will be logged in order to inform the user about the downtime of the server.

After retrieving metadata once, no further metadata request is required as the server results are cached by the product.

Connection related cmdlets.

NameDescription
Connect-ERPConnects to a ERP-System.
Disconnect-ERPDisconnects from a ERP-System.

Cmdlets to read metadata from the services.

NameDescription
Get-ERPServicesReturns information about the connected services
Get-ERPEntitySetsReturns information about the available entitySets
Get-ERPEntityTypesReturns information about the available EntityTypes.

Cmdlets for reading, adding, updating and removing entities.

NameDescription
Get-ERPObjectReturns a specific entity from the ERP-System.
Get-ERPObjectsSearches for entities depending on the passed arguments.
Update-ERPObjectUpdates an existing entity on the ERP-System.
Add-ERPObjectCreates a new entity and transfers it to a ERP-System.
Remove-ERPObjectDeletes a specific entity from the ERP-System.
New-ERPObjectCreate a new and empty instance of the required entity from the ERP-System.

Cmdlets for downloading, uploading and updating media (e.g Files…).

NameDescription
Add-ERPMediaUploads media (e.g Files..) to the ERP-System.
Get-ERPMediaDownloads media (e.g Files..) from the ERP-System.
Update-ERPMediaUpdates media on the ERP-System.