# Save Ledger Attributes Save Ledger Attributes Endpoint: POST /rest/2.0/FINANCIAL_CRITERIA_ATTR Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.DebitAttributeValue` (string) Debit Attribute Value: Defines logic for how the custom attribute field on General Ledger Transaction records (i.e. GL Entries) is populated for the Debit records that comprise the GL Journal Entry - `brmObjects.DefineUniqueAttributes` (integer) Define Unique Attributes: Enables user to define different ledger attribute values for the Debit and Credit sides of GL entries - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.EntityFieldId` (integer) Field: Select the custom field (attribute) on the GL entity that you wish to populate with a value using the Ledger Attribute rule - `brmObjects.FormulaValue` (string) Attribute Value: Defines logic for how the custom attribute field on General Ledger Transaction records (i.e. GL Entries) is populated for both the Debit and Credit records that comprise the GL Journal Entry - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.CreditAttributeValue` (string) Credit Attribute Value: Defines logic for how the custom attribute field on General Ledger Transaction records (i.e. GL Entries) is populated for the Credit records that comprise the GL Journal Entry - `brmObjects.Id` (string, required) Id: FINANCIAL_CRITERIA_ATTR_ID - `brmObjects.FinancialCriteriaId` (integer) FinancialCriteriaId - `brmObjects.ExternalKey` (string) ExternalKey ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.DebitAttributeValue` (string) Debit Attribute Value: Defines logic for how the custom attribute field on General Ledger Transaction records (i.e. GL Entries) is populated for the Debit records that comprise the GL Journal Entry - `retrieveResponse.DefineUniqueAttributes` (integer) Define Unique Attributes: Enables user to define different ledger attribute values for the Debit and Credit sides of GL entries - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.EntityFieldId` (integer) Field: Select the custom field (attribute) on the GL entity that you wish to populate with a value using the Ledger Attribute rule - `retrieveResponse.FormulaValue` (string) Attribute Value: Defines logic for how the custom attribute field on General Ledger Transaction records (i.e. GL Entries) is populated for both the Debit and Credit records that comprise the GL Journal Entry - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.CreditAttributeValue` (string) Credit Attribute Value: Defines logic for how the custom attribute field on General Ledger Transaction records (i.e. GL Entries) is populated for the Credit records that comprise the GL Journal Entry - `retrieveResponse.Id` (string) Id: FINANCIAL_CRITERIA_ATTR_ID - `retrieveResponse.FinancialCriteriaId` (integer) FinancialCriteriaId - `retrieveResponse.ExternalKey` (string) ExternalKey ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error