Public/Get-NCStandardPsaCustomerMapping.ps1

<#
.SYNOPSIS
Retrieves standard-PSA customer mappings for a given customer.

.DESCRIPTION
GET /api/standard-psa/customer-mapping/{customerId}.

.EXAMPLE
Get-NCStandardPsaCustomerMapping -CustomerId 100
#>

function Get-NCStandardPsaCustomerMapping {
    [CmdletBinding()]
    [OutputType([pscustomobject])]
    param (
        [Parameter(Mandatory, ValueFromPipelineByPropertyName)]
        [ValidateNotNullOrEmpty()]
        [string]$CustomerId
    )
    begin { $api = Get-NCRestApiInstance }
    process {
        $api.Get("api/standard-psa/customer-mapping/$CustomerId")
    }
}