Skip to content

New-IvantiBusinessObject

SYNOPSIS

Creates a new business object in Ivanti ITSM.

SYNTAX

params

New-IvantiBusinessObject -params <Hashtable> -body <Hashtable> [<CommonParameters>]

businessObject

New-IvantiBusinessObject -businessObject <String> -body <Hashtable> [<CommonParameters>]

DESCRIPTION

Creates a new business object in Ivanti ITSM by specifying the business object type and a set of parameters along with the fields to be set in the new business object.

EXAMPLES

EXAMPLE 1

New-BusinessObject -businessObject 'incident' -body @{ 'Status' = 'New'; 'Owner' = 'JohnDoe' }

Creates a new incident with the specified details.

EXAMPLE 2

New-BusinessObject -params @{ 'businessObject' = 'incident' } -body @{ 'Status' = 'New'; 'Owner' = 'JohnDoe' }

Creates a new incident with the specified parameters and details.

PARAMETERS

-params

A hashtable of parameters to specify the business object to be created.

Type: Hashtable
Parameter Sets: params
Aliases: Parameters

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-businessObject

The type of the business object to be created.

Type: String
Parameter Sets: businessObject
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-body

A hashtable of fields to be set in the new business object.

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
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.

INPUTS

OUTPUTS

NOTES

https://help.ivanti.com/ht/help/en_US/ISM/2022/admin/Content/Configure/API/Create-a-Business-Object.htm