Get-ERPServices

Cmdlet to retrieve metadata informations about the services.

Syntax

1
Get-ERPServices [-Available] [<CommonParameters>]

Parameters

Type

Name

Description

Optional

SwitchParamter

Available

Retrieves only the available services

yes

Return type

ErpService [] ← on success
empty array ← on failure. Exception/ErrorMessage can be accessed using $Error.

Remarks

When calling the Get-ERPServices without arguments all the services are retrieved.

Examples

In the following examples we are using public OData Services (http://services.odata.org) for demonstration purposes:

Get all services

1
$services = Get-ERPServices

Get all available services

1
$availableServices = Get-ERPServices -Available

Get all operations of the connected services

1
2
3
Get-ERPServices | ForEach-Object {
	$_.Operations | Select-Object Name, Namespace, IsFunction, BindingTarget, Parameters, ReturnType
}