New-PostBody
SYNOPSIS
Function to create a "Easit GO" formatted body for web requests.
SYNTAX
New-PostBody [-InstallerSettings] <PSObject> [<CommonParameters>]
DESCRIPTION
This functions takes a "settings object" as input and uses the settings there to create a json body that can be used with Invoke-RestMethod.
EXAMPLES
EXAMPLE 1
$body = New-PostBody -InstallerSettings $installerSettings
PARAMETERS
-InstallerSettings
Settings object holding a FeedbackSettings.postBody property with an array of properties and a importHandlerIdentifier.
```json "FeedbackSettings":{ "postBody":{ "importHandlerIdentifier":"", "properties":["Property1","Property2"] } } ```
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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.