< Back

New-ApiRequest

Mon Jan 13, 2020 9:02 am

NAME New-ApiRequest



SYNOPSIS

Makes a API request.





SYNTAX

New-ApiRequest [-apiMethod] <String> [-apiRequest] <String> [[-apiRequestBody] <String>] [<CommonParameters>]





DESCRIPTION

Returns the API response.





PARAMETERS

-apiMethod <String>

Provide API Method GET, PUT or POST



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-apiRequest <String>

See Datto RMM API swagger UI



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-apiRequestBody <String>

Only used with PUT and POST request



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

API response







RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Set-DrmmAlertMute; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-DrmmAlertMute [-alertUid] <Object> [<CommonParameters>]



ModuleName : DattoRMM

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-DrmmAlertMute

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Set-DrmmAlertResolve; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-DrmmAlertResolve [-alertUid] <Object> [<CommonParameters>]



ModuleName : DattoRMM

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-DrmmAlertResolve

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Set-DrmmAlertUnmute; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-DrmmAlertUnmute [-alertUid] <Object> [<CommonParameters>]



ModuleName : DattoRMM

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-DrmmAlertUnmute

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Set-DrmmDeviceUdf; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-DrmmDeviceUdf [-deviceUid] <Object> [[-udf1] <Object>] [[-udf2] <Object>] [[-udf3]

<Object>] [[-udf4] <Object>] [[-udf5] <Object>] [[-udf6] <Object>] [[-udf7] <Object>]

[[-udf8] <Object>] [[-udf9] <Object>] [[-udf10] <Object>] [[-udf11] <Object>] [[-udf12]

<Object>] [[-udf13] <Object>] [[-udf14] <Object>] [[-udf15] <Object>] [[-udf16] <Object>]

[[-udf17] <Object>] [[-udf18] <Object>] [[-udf19] <Object>] [[-udf20] <Object>] [[-udf21]

<Object>] [[-udf22] <Object>] [[-udf23] <Object>] [[-udf24] <Object>] [[-udf25] <Object>]

[[-udf26] <Object>] [[-udf27] <Object>] [[-udf28] <Object>] [[-udf29] <Object>] [[-udf30]

<Object>] [<CommonParameters>]



ModuleName : DattoRMM

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-DrmmDeviceUdf

Category : Function

Component :

Role :

Functionality :