# Retrieve By Id MDL Events Get MDL Events By Id Endpoint: GET /rest/2.0/MDL_EVENT/{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.Id` (string) MDL Event Id: Primary key - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.HTTPEventId` (integer) HTTP Event Id - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.ActivityCollectorHistoryId` (integer) File Id: ID of usage file this collector stage belongs to - `retrieveResponse.Queued` (string) Queued On: Timestamp of when BP enqueued the file for MDL to process. - `retrieveResponse.Status` (string) MDL Status: PENDING: awaiting MDL pickup.IN PROGRESS: MDL processing.PROCESSED: successfully processed file (not the same as every record was free of errors).ERROR: file level failure. - `retrieveResponse.Ended` (string) Ended On: Timestamp of when MDL ended processing of this file. - `retrieveResponse.TotalRecords` (string) Total Records: Total number of records in the file. - `retrieveResponse.EventType` (string) Event Type: LOAD: parsed usage file grouped into collector stages but no rates.RATE: file with cost, account, invoice information.DELETE: file rollback or delete of activities. - `retrieveResponse.ErrorMessage` (string) Error Message - `retrieveResponse.Started` (string) Started On: Timestamp of when MDL started processing of this file. - `retrieveResponse.FailedRecords` (string) Failed Records: Number of records that MDL failed to process, not the same as records that errored during rating. - `retrieveResponse.DocumentId` (string) DocumentId: Id of Document (LOAD or RATE) ## 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