# Retrieve By Id Entities Get Entities By Id Endpoint: GET /rest/2.0/ENTITY/{id} Version: 1.0 Security: JWT ## Path parameters: - `id` (integer, required) Id of the record ## Header parameters: - `sessionId` (string, required) ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.CascadeDeleteFlag` (string) Enable Cascade Delete: If selected, deleting a record that has a child record will delete the child record as well. - `retrieveResponse.BaseEntityId` (integer) Base Entity: Select the base Entity based on which the View Entity will be constructed. - `retrieveResponse.SystemFlag` (integer) System Entity - `retrieveResponse.RelatedListFlag` (string) Enable Related List: Select this option (default) to allow using the new entity as a field in a Related List. - `retrieveResponse.LongHelpDescription` (string) Long Help Content: A detailed description of the entity that will appear in the Long Help Content field of the Help System section in the entity profile. - `retrieveResponse.ListSingleResultBehavior` (string) List Single Result Behavior: List Single Result Behavior - `retrieveResponse.Id` (string) Entity ID - `retrieveResponse.HistoryFlag` (string) Enable History: Select this option to automatically store in system logs the details about the changes made to the new entity. - `retrieveResponse.ViewEntity` (integer) View Based Entity: Select this box to create a virtual read-only entity that returns non-editable data. - `retrieveResponse.IsApplicationDeployable` (integer) Is Application Deployable: Application deployable entities can be bundled and then deployed into other organizations. - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.EnableAutoSearch` (string) Enable Auto Search: If this option is selected (default), the corresponding records will be automatically loaded when the entity is opened in the UI. Otherwise, you will need to manually load the records by using search or clicking Refresh. - `retrieveResponse.CascadePermitionsFlag` (string) Cascade Permissions to Entity Fields - `retrieveResponse.RevenueRecognitionEligible` (integer) Revenue Recognition Eligible: When checked, Revenue Recognition Eligible field enables use of the entity as a transaction source for GL Rules (default unchecked) - `retrieveResponse.EntityName` (string) Entity Name: Specify the name that will be associated with the new entity in the system and in the API. It cannot include spaces or start with a number or punctuation mark. - `retrieveResponse.LookupEnabledFlag` (string) Enable Lookup: Select this option to use the new entity as a Lookup Field. Lookup Fields allow you to quickly look up information while inputting new records instead of switching between tabs to find customer information that may reside elsewhere in the application. - `retrieveResponse.AfterNode` (string) Position in Tree Menu: After Node_Id. (-1) - as first-child of the parent node; NULL - as last-child of the parent node - `retrieveResponse.CreateSearchForm` (string) Create Search Form: Select this option to enable search form. (default checked) - `retrieveResponse.HistoryRetentionDays` (string) History Retention Days: Select the number of days you want to retain records in History. Records will be deleted after Retention Days. - `retrieveResponse.EntityLabel` (string) Entity Label: Specify the name that will designate the new entity in the user interface. - `retrieveResponse.RetentionDays` (string) Recycle Bin Retention Days: If Enable Recycle Bin is selected, specify how long the platform will keep the deleted records in the system before they are purged or permanently deleted. Once they are purged, they can no longer be restored or undeleted. - `retrieveResponse.RecycleBinFlag` (string) Enable Recycle Bin: If selected, deleted records will be retained in the Recycle Bin for the duration defined in Recycle Bin Retention Days. During this period you will be able to restore or undelete them. If deselected (default), records will be permanently deleted. - `retrieveResponse.TableName` (string) Table Name - `retrieveResponse.Widget` (integer) Page: Select a widget to override the entity default interface. - `retrieveResponse.AllowCache` (integer) Allow Cache - `retrieveResponse.ShortHelpLabel` (string) ShortHelpLabel: A short description of the entity that will appear in the Short Help Content field of the Help System section in the entity profile. - `retrieveResponse.AllowAttributeTable` (string) AllowAttributeTable - `retrieveResponse.ApiEnabled` (string) ApiEnabled - `retrieveResponse.CustomLayout` (string) CustomLayout - `retrieveResponse.ParentEntityId` (integer) ParentEntityId - `retrieveResponse.VisibleFlag` (string) VisibleFlag - `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.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.ExternalHelpTarget` (string) ExternalHelpTarget - `retrieveResponse.HelpLanguage` (string) HelpLanguage - `retrieveResponse.CreateDefaultFields` (string) CreateDefaultFields: Create default fileds (Id, Created, Updated, etc.) - `retrieveResponse.ParentNode` (string) ParentNode - `retrieveResponse.Node` (string) Node: Node_Id - `retrieveResponse.BaseEntity` (string) BaseEntity: Base Entity Name - `retrieveResponse.ViewFilterLogic` (string) ViewFilterLogic - `retrieveResponse.InputForm` (string) InputForm: Input Form Id - `retrieveResponse.LabelId` (string) LabelId - `retrieveResponse.VirtualEntityFlag` (integer) VirtualEntityFlag - `retrieveResponse.HideFromTreeMenu` (string) HideFromTreeMenu: If this option is selected, the entity will not appear in the UI as a separate node, regardless of being a parent or a child node. ## 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