> ## Documentation Index > Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt > Use this file to discover all available pages before exploring further. # Waste Log by ID > Retrieves a specified waste log **Security** The requesting user must have the following permission to retrieve a waste log: - Food → Waste Logs → View Waste Logs ## OpenAPI ````json GET /public/v1/inventory/waste-logs/{id} { "openapi": "3.0.1", "info": { "title": "R365 Public API", "contact": { "name": "R365 Services Team", "email": "r365@restaurant365.com" }, "version": "1.0" }, "security": [ { "Bearer": [] } ], "paths": { "/public/v1/inventory/waste-logs/{id}": { "get": { "tags": [ "inventory" ], "summary": "Waste Log by ID", "description": "Retrieves a specified waste log\n\n**Security**\n\nThe requesting user must have the following permission to retrieve a waste log:\n\n- Food → Waste Logs → View Waste Logs", "parameters": [ { "$ref": "#/components/parameters/TenantId" }, { "name": "id", "in": "path", "description": "Identifier of the waste log", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "waste log entity", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/WasteLog" } }, "application/json": { "schema": { "$ref": "#/components/schemas/WasteLog" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WasteLog" } } } }, "400": { "description": "Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range." }, "401": { "description": "Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant." }, "403": { "description": "Forbidden — the caller lacks the permission required for this operation." }, "404": { "description": "Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired." }, "409": { "description": "Conflict — the request conflicts with the current state of the resource and cannot be applied." }, "422": { "description": "Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid." }, "429": { "description": "Too Many Requests — the caller has exceeded the rate limit; retry after a short delay." }, "500": { "description": "Internal Server Error — an unexpected error occurred while processing the request." } } } } }, "components": { "parameters": { "TenantId": { "name": "x-r365-context-tenant-id", "in": "header", "required": true, "description": "Identifies the R365 tenant the request applies to. Required on every request.", "schema": { "type": "string" } } }, "schemas": { "WasteLog": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique identifier for the Waste Log.", "format": "int64" }, "number": { "type": "string", "description": "Waste Log Number.", "nullable": true }, "template": { "$ref": "#/components/schemas/WasteLogTemplateReference" }, "date": { "type": "string", "description": "Waste Log Date.", "format": "date-time" }, "location": { "$ref": "#/components/schemas/InventoryLocationReference" }, "totalAmount": { "type": "number", "description": "Total Amount.", "format": "double" }, "lastComment": { "type": "string", "description": "Last Comment.", "nullable": true }, "status": { "type": "string", "description": "status.", "nullable": true }, "transactionId": { "type": "string", "description": "The transaction id for the Waste Log.", "format": "uuid", "nullable": true }, "details": { "type": "array", "items": { "$ref": "#/components/schemas/WasteLogDetail" }, "description": "List of Waste Log Details.", "nullable": true }, "completedBy": { "$ref": "#/components/schemas/GlAccountUserReference", "description": "User who completed the waste log." }, "completedOn": { "type": "string", "description": "The date and time the waste log was completed.", "format": "date-time", "nullable": true }, "createdBy": { "$ref": "#/components/schemas/GlAccountUserReference", "description": "User who created the waste log." }, "createdOn": { "type": "string", "description": "The date and time the waste log was created.", "format": "date-time" }, "modifiedBy": { "$ref": "#/components/schemas/GlAccountUserReference", "description": "User who last modified the waste log." }, "modifiedOn": { "type": "string", "description": "The date and time the waste log was last modified.", "format": "date-time", "nullable": true }, "approvedBy": { "$ref": "#/components/schemas/GlAccountUserReference", "description": "User who approved the waste log." }, "approvedOn": { "type": "string", "description": "The date and time the waste log was approved.", "format": "date-time", "nullable": true } }, "additionalProperties": false, "description": "Waste Log" }, "WasteLogTemplateReference": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "Unique identifier of the waste log template." }, "name": { "type": "string", "nullable": true, "description": "Display name of the waste log template." } }, "additionalProperties": false, "description": "A reference to a Waste Log Template." }, "InventoryLocationReference": { "type": "object", "properties": { "id": { "type": "string", "description": "The id of the location.", "format": "uuid" }, "name": { "type": "string", "description": "The name of the location.", "nullable": true }, "number": { "type": "string", "description": "The location number.", "nullable": true } }, "additionalProperties": false, "description": "Represents a reference to a location." }, "WasteLogDetail": { "type": "object", "properties": { "id": { "type": "integer", "description": "The unique identifier for the Waste Log detail.", "format": "int64" }, "item": { "$ref": "#/components/schemas/PublicItemReference" }, "unitOfMeasure": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "costAccount": { "$ref": "#/components/schemas/GeneralLedgerAccountReference" }, "wasteAccount": { "$ref": "#/components/schemas/GeneralLedgerAccountReference" }, "quantity": { "type": "number", "description": "Quantity.", "format": "double" }, "eachAmount": { "type": "number", "description": "Each Amount.", "format": "double" }, "totalAmount": { "type": "number", "description": "Total Amount.", "format": "double" }, "comment": { "type": "string", "description": "Comment.", "nullable": true } }, "additionalProperties": false, "description": "Waste Log Detail" }, "GlAccountUserReference": { "type": "object", "properties": { "id": { "type": "string", "description": "The unique identifier of the user.", "format": "uuid" }, "name": { "type": "string", "description": "The name of the user.", "nullable": true } }, "additionalProperties": false, "description": "A reference to a user." }, "PublicItemReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the public item." }, "name": { "type": "string", "nullable": true, "description": "Display name of the public item." }, "number": { "type": "string", "nullable": true, "description": "Number assigned to the public item." }, "itemType": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "A reference to an item." }, "InventoryUnitOfMeasureReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the unit of measure." }, "name": { "type": "string", "nullable": true, "description": "Display name of the unit of measure." } }, "additionalProperties": false, "description": "A reference to a unit of measure." }, "GeneralLedgerAccountReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the general ledger account." }, "name": { "type": "string", "nullable": true, "description": "Display name of the general ledger account." }, "number": { "type": "string", "nullable": true, "description": "Number assigned to the general ledger account." } }, "additionalProperties": false, "description": "A reference to a General Ledger Account." } }, "securitySchemes": { "Bearer": { "type": "http", "scheme": "Bearer" } } } } ````