# Save Statement Sections Save Statement Sections Endpoint: POST /rest/2.0/STATEMENT_GROUP Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.NamePrefix` (string) Header Prefix - `brmObjects.NameSuffix` (string) Header Suffix - `brmObjects.EntityFieldId` (string, required) Custom Field - `brmObjects.GroupPreviewRows` (string) Sections in Preview - `brmObjects.GroupName` (string) Name - `brmObjects.Type` (string) Type - `brmObjects.FilterLogic` (string) FilterLogic - `brmObjects.FieldLabel` (string) Header Label - `brmObjects.GroupOrder` (string) GroupOrder - `brmObjects.Id` (string, required) Id: Statement Template Group Id - `brmObjects.Description` (string) Description - `brmObjects.StatementTemplateId` (integer) StatementTemplateId - `brmObjects.ShowGroupingDetail` (string) ShowGroupingDetail - `brmObjects.DetailPriviewRows` (string) DetailPriviewRows - `brmObjects.InsertPageBreak` (string) InsertPageBreak - `brmObjects.InsertPageGroupFlag` (string) InsertPageGroupFlag - `brmObjects.BaseEntityId` (integer) BaseEntityId - `brmObjects.ValueSql` (string) ValueSql - `brmObjects.ValueSqlOver` (string) ValueSqlOver - `brmObjects.ParentGroupId` (string) ParentGroupId - `brmObjects.AccountId` (integer) AccountId - `brmObjects.HideEmptyGroupFlag` (string) HideEmptyGroupFlag - `brmObjects.ValueSqlPreview` (string) ValueSqlPreview - `brmObjects.ExternalKey` (string) ExternalKey ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.NamePrefix` (string) Header Prefix - `retrieveResponse.NameSuffix` (string) Header Suffix - `retrieveResponse.EntityFieldId` (string) Custom Field - `retrieveResponse.GroupPreviewRows` (string) Sections in Preview - `retrieveResponse.GroupName` (string) Name - `retrieveResponse.Type` (string) Type - `retrieveResponse.FilterLogic` (string) FilterLogic - `retrieveResponse.FieldLabel` (string) Header Label - `retrieveResponse.GroupOrder` (string) GroupOrder - `retrieveResponse.Id` (string) Id: Statement Template Group Id - `retrieveResponse.Description` (string) Description - `retrieveResponse.StatementTemplateId` (integer) StatementTemplateId - `retrieveResponse.ShowGroupingDetail` (string) ShowGroupingDetail - `retrieveResponse.DetailPriviewRows` (string) DetailPriviewRows - `retrieveResponse.InsertPageBreak` (string) InsertPageBreak - `retrieveResponse.InsertPageGroupFlag` (string) InsertPageGroupFlag - `retrieveResponse.BaseEntityId` (integer) BaseEntityId - `retrieveResponse.ValueSql` (string) ValueSql - `retrieveResponse.ValueSqlOver` (string) ValueSqlOver - `retrieveResponse.ParentGroupId` (string) ParentGroupId - `retrieveResponse.AccountId` (integer) AccountId - `retrieveResponse.HideEmptyGroupFlag` (string) HideEmptyGroupFlag - `retrieveResponse.ValueSqlPreview` (string) ValueSqlPreview - `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