# Retrieve By Id Electronic File Subscription Get Electronic File Subscription By Id Endpoint: GET /rest/2.0/EFILE/{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.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.SchedulerDay` (string) Scheduler Day - `retrieveResponse.EfileStatus` (string) Status - `retrieveResponse.FtpDir` (string) Directory - `retrieveResponse.NextRunDate` (string) Scheduler Next Run Date - `retrieveResponse.EfileDeliveryMethod` (string) Delivery Method - `retrieveResponse.EfileFormat` (string) E-File Format - `retrieveResponse.LastRunDate` (string) Last Run Date - `retrieveResponse.RecipientCc` (string) Recipient Cc - `retrieveResponse.EfileNamePattern` (string) E-File Naming Pattern: Efile Name Pattern can be specified with the following tags: {DD},{MM},{YY},{YYYY},{FROM_ID},{TO_ID},{UNIQUE_EFILE_ID}. Example: efile_invoice_{FROM_ID}_{MM}/{DD}/{YYYY}.csv - `retrieveResponse.Id` (string) Electronic File Setup ID: EFILE_ID - `retrieveResponse.FtpIp` (string) IP or Server Name - `retrieveResponse.IncludeHierarchyFlag` (integer) Include Hierarchy - `retrieveResponse.RecipientBcc` (string) Recipient Bcc - `retrieveResponse.AccountId` (integer) Account - `retrieveResponse.RecipientTo` (string) Recipient - `retrieveResponse.EfileDeliveryCycle` (string) Deliver For - `retrieveResponse.EfileTemplateId` (integer) E-File Template Name - `retrieveResponse.CompressionFlag` (integer) Compress Output - `retrieveResponse.EmailTemplateId` (string) Email Template - `retrieveResponse.FtpUsername` (string) Username - `retrieveResponse.SchedulerPeriod` (string) E-File Period - `retrieveResponse.Description` (string) Description - `retrieveResponse.LastId` (string) LastId - `retrieveResponse.IncludeHeaderFlag` (integer) IncludeHeaderFlag ## 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