# Upsert Statement Template

Upsert Statement Template

Endpoint: PATCH /rest/2.0/STATEMENT_TEMPLATE
Version: 1.0
Security: JWT

## Header parameters:

  - `sessionId` (string, required)

## Request fields (application/json; charset=utf-8):

  - `brmObjects` (object)

  - `brmObjects.AccountId` (any)
    AccountId

  - `brmObjects.BaseEntityId` (any)
    BaseEntityId

  - `brmObjects.Created` (any)
    System controlled field: Date and time the record was created

  - `brmObjects.CreatedUserId` (any)
    System controlled field: Id of the user that created the record

  - `brmObjects.DateFormat` (any)
    DateFormat

  - `brmObjects.DefaultFlag` (any)
    Set as Default

  - `brmObjects.EbppUrl` (any)
    Online Bill-pay URL

  - `brmObjects.EmailTemplateId` (any)
    Email Template

  - `brmObjects.FileStorageId` (any)
    File Storage Id

  - `brmObjects.Id` (any, required)
    Statement Template ID

  - `brmObjects.LanguageCode` (any)
    Language

  - `brmObjects.LogoFilePath` (any)
    LogoFilePath

  - `brmObjects.PreviewXsd` (any)
    Statement XSD Model

  - `brmObjects.ShowAging` (any)
    Include Aging Section?

  - `brmObjects.ShowCreditAdjDetail` (any)
    Include 'Credits and Adjustments' Detail Section?

  - `brmObjects.ShowPastDueStatements` (any)
    Include Past Due Statements?

  - `brmObjects.ShowTaxFeeDetail` (any)
    Include 'Taxes and Fees' Detail Section?

  - `brmObjects.StatementTemplateName` (any, required)
    Statement Template Name

  - `brmObjects.StatementXslId` (any)
    XSL Template

  - `brmObjects.Status` (any)
    Status

  - `brmObjects.SupportMessage` (any)
    Support Message

  - `brmObjects.SupportMessage1` (any)
    Legal Information

  - `brmObjects.SupportNumber` (any)
    Support Number

  - `brmObjects.SystemLogoFileName` (any)
    SystemLogoFileName

  - `brmObjects.Type` (any)
    Type

  - `brmObjects.Updated` (any)
    System controlled field: Date and time the record was last updated

  - `brmObjects.UpdatedUserId` (any)
    System controlled field: Id of the last user that updated the record

  - `externalIDFieldName` (string)
    Enum: "StatementTemplateName"

## Response 200 fields (application/json):

  - `upsertResponse` (array)

  - `upsertResponse.Id` (any)

  - `upsertResponse.success` (boolean)

  - `upsertResponse.ErrorText` (string)

  - `upsertResponse.ErrorElementField` (string)

  - `upsertResponse.created` (boolean)


