Add-BT_TaskTarget

Syntax

Add-BT_TaskTarget -Ticket <Ticket> -TaskInstanceId <guid> -ReferenceEntityType <string> -ReferenceEntityId <guid> [-Environment <string>] [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-SystemUserId <guid>] [-OrganizationId <guid>] [-Name <string>] [-DataId <string>] [-Type <TargetType>] [-GeneratedByInformation <string>] [-Validity <TargetValidity>] [-ValidityMessage <string>] [-ValidationCode <ErrorCode>] [-OriginTaskInstanceId <guid>] [-AccessLevel <AccessLevel>] [<CommonParameters>]

Add-BT_TaskTarget -Ticket <Ticket> -EndpointUrl <string> -TaskInstanceId <guid> -ReferenceEntityType <string> -ReferenceEntityId <guid> [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-SystemUserId <guid>] [-OrganizationId <guid>] [-Name <string>] [-DataId <string>] [-Type <TargetType>] [-GeneratedByInformation <string>] [-Validity <TargetValidity>] [-ValidityMessage <string>] [-ValidationCode <ErrorCode>] [-OriginTaskInstanceId <guid>] [-AccessLevel <AccessLevel>] [<CommonParameters>]

Detailed Description

Add-BT_TaskTarget adds a(an) BT_TaskTarget. Tracks entity records that will be used as a source or as a target for the task action (ex: user, device, anything).

Parameters

Total Parameters: 33

EndpointUrl

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ReferenceEntityId

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ReferenceEntityType

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

TaskInstanceId

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Ticket

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

AccessLevel

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Created

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

DataId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Environment

Available values are listed below.

Value Description
BT Represents BT
Beta Represents Beta
Develop Represents Develop
Release Represents Release
Test Represents Test
China Represents China
Germany Represents Germany
Alpha Represents Alpha
Today Represents Today
Sandbox-02 Represents Sandbox-02
Sandbox-03 Represents Sandbox-03

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

GeneratedByInformation

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Id

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsDeleted

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Name

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

OrganizationId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

OriginTaskInstanceId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SystemUserId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Type

Available values are listed below.

Value Description
Source Source.
Target Target.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Updated

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ValidationCode

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Validity

Available values are listed below.

Value Description
NotValidated Not validated.
Valid Valid.
ValidWithWarnings Warning.
Invalid Invalid.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ValidityMessage

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Version

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Outputs

System.Object

Notes

Examples