Get-BillingNarrativeType
  • 1 Minute to read
  • Dark
    Light
  • PDF

Get-BillingNarrativeType

  • Dark
    Light
  • PDF

Article summary

Summary

Retrieves an existing billing narrative type.

Get-BillingNarrativeType
    -Id

Returns a billing narrative type object.

Parameters

Parameter

Type

Required?

Notes

Id

Int32

Yes

The billing narrative type id.

Examples

Get an existing billing narrative type

This example retrieves a specific billing narrative type and outputs it as JSON.

# Retrieve a specific billing narrative type by id
$data = Get-BillingNarrativeType -Id 3

Write-Output "Retrieved billing narrative type $($data.BillingNarrativeTypeId)"

# Convert the billing type to output as JSON
$jsonOutput = $data | ConvertTo-Json -Depth 10

# For debug purposes, convert the data to output as JSON so we can see all the fields
Write-Output ""
Write-Output "JSON Results:"

$jsonOutput = $data | ConvertTo-Json -Depth 10

# Output the data
Write-Output $jsonOutput

Results of executing the script:

Retrieved billing narrative type 3

JSON Results:
{
  "BillingNarrativeTypeId": 3,
  "Text": "Export production volume and provide download credentials to Opposing Counsel.",
  "CreatedByFullName": "Dillon Rivers",
  "CreatedById": "d8555513-3db6-451a-9af2-e5d45b57f031",
  "CreatedOn": "2019-07-02T10:46:38.8405292-05:00",
  "CreatedBy": null,
  "LastUpdatedByFullName": "Dillon Rivers",
  "LastUpdatedById": "d8555513-3db6-451a-9af2-e5d45b57f031",
  "LastUpdatedOn": "2019-07-02T10:46:38.8405292-05:00",
  "LastUpdatedBy": null
}