Waste Logs

Prev Next
Get
/public/v1/inventory/waste-logs

Retrieves a list of waste logs

Security

The requesting user must have the following permission to retrieve waste logs:

  • Food → Waste Logs → View Waste Logs
Security
HTTP
Type Bearer
Header parameters
x-r365-context-tenant-id
stringRequired

Identifies the R365 tenant the request applies to. Required on every request.

Query parameters
modifiedOnStart
string (date-time)

Starting datetime of the 'modifiedOn' range (inclusive). May be supplied alone, in which case the range is open-ended at the upper bound.

modifiedOnEnd
string (date-time)

Ending datetime of the 'modifiedOn' range (inclusive). May be supplied alone, in which case the range is open-ended at the lower bound.

businessDateStart
string (date)

Starting date of the 'businessDate' range (inclusive). May be supplied alone, in which case the range is open-ended at the upper bound.

businessDateEnd
string (date)

Ending date of the 'businessDate' range (inclusive). May be supplied alone, in which case the range is open-ended at the lower bound.

status
string

Filter for 'status' property, one of 'In Progress', 'Completed', or 'Approved'

number
string

Filter for 'number' property

locationIds
string (uuid)

Identifier of the location to filter by

pageSize
integer (int32)

Maximum number of top-level objects to return in one page.

Minimum1.0
Maximum250.0
Default250
continuationToken
string
Responses
200

list of waste log entities

Expand All
object

A response containing waste logs.

items
Array of object | null

Collection of public waste logs records returned in this page.

object

Waste Log

id
integer (int64)

The unique identifier for the Waste Log.

number
string | null

Waste Log Number.

template
object (WasteLogTemplateReference)

A reference to a Waste Log Template.

id
integer (int64)

Unique identifier of the waste log template.

name
string | null

Display name of the waste log template.

date
string (date-time)

Waste Log Date.

location
object (InventoryLocationReference)

Represents a reference to a location.

id
string (uuid)

The id of the location.

name
string | null

The name of the location.

number
string | null

The location number.

totalAmount
number (double)

Total Amount.

lastComment
string | null

Last Comment.

status
string | null

status.

transactionId
string (uuid) | null

The transaction id for the Waste Log.

details
Array of object | null

List of Waste Log Details.

object

Waste Log Detail

id
integer (int64)

The unique identifier for the Waste Log detail.

item
object (PublicItemReference)

A reference to an item.

id
string (uuid)

Unique identifier of the public item.

name
string | null

Display name of the public item.

number
string | null

Number assigned to the public item.

itemType
string | null
unitOfMeasure
object (InventoryUnitOfMeasureReference)

A reference to a unit of measure.

id
string (uuid)

Unique identifier of the unit of measure.

name
string | null

Display name of the unit of measure.

costAccount
object (GeneralLedgerAccountReference)

A reference to a General Ledger Account.

id
string (uuid)

Unique identifier of the general ledger account.

name
string | null

Display name of the general ledger account.

number
string | null

Number assigned to the general ledger account.

wasteAccount
object (GeneralLedgerAccountReference)

A reference to a General Ledger Account.

id
string (uuid)

Unique identifier of the general ledger account.

name
string | null

Display name of the general ledger account.

number
string | null

Number assigned to the general ledger account.

quantity
number (double)

Quantity.

eachAmount
number (double)

Each Amount.

totalAmount
number (double)

Total Amount.

comment
string | null

Comment.

completedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

completedOn
string (date-time) | null

The date and time the waste log was completed.

createdBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

createdOn
string (date-time)

The date and time the waste log was created.

modifiedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

modifiedOn
string (date-time) | null

The date and time the waste log was last modified.

approvedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

approvedOn
string (date-time) | null

The date and time the waste log was approved.

nextLink
string | null

URL to retrieve the next page of results, or null when this is the last page.

Expand All
object

A response containing waste logs.

items
Array of object | null

Collection of public waste logs records returned in this page.

object

Waste Log

id
integer (int64)

The unique identifier for the Waste Log.

number
string | null

Waste Log Number.

template
object (WasteLogTemplateReference)

A reference to a Waste Log Template.

id
integer (int64)

Unique identifier of the waste log template.

name
string | null

Display name of the waste log template.

date
string (date-time)

Waste Log Date.

location
object (InventoryLocationReference)

Represents a reference to a location.

id
string (uuid)

The id of the location.

name
string | null

The name of the location.

number
string | null

The location number.

totalAmount
number (double)

Total Amount.

lastComment
string | null

Last Comment.

status
string | null

status.

transactionId
string (uuid) | null

The transaction id for the Waste Log.

details
Array of object | null

List of Waste Log Details.

object

Waste Log Detail

id
integer (int64)

The unique identifier for the Waste Log detail.

item
object (PublicItemReference)

A reference to an item.

id
string (uuid)

Unique identifier of the public item.

name
string | null

Display name of the public item.

number
string | null

Number assigned to the public item.

itemType
string | null
unitOfMeasure
object (InventoryUnitOfMeasureReference)

A reference to a unit of measure.

id
string (uuid)

Unique identifier of the unit of measure.

name
string | null

Display name of the unit of measure.

costAccount
object (GeneralLedgerAccountReference)

A reference to a General Ledger Account.

id
string (uuid)

Unique identifier of the general ledger account.

name
string | null

Display name of the general ledger account.

number
string | null

Number assigned to the general ledger account.

wasteAccount
object (GeneralLedgerAccountReference)

A reference to a General Ledger Account.

id
string (uuid)

Unique identifier of the general ledger account.

name
string | null

Display name of the general ledger account.

number
string | null

Number assigned to the general ledger account.

quantity
number (double)

Quantity.

eachAmount
number (double)

Each Amount.

totalAmount
number (double)

Total Amount.

comment
string | null

Comment.

completedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

completedOn
string (date-time) | null

The date and time the waste log was completed.

createdBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

createdOn
string (date-time)

The date and time the waste log was created.

modifiedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

modifiedOn
string (date-time) | null

The date and time the waste log was last modified.

approvedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

approvedOn
string (date-time) | null

The date and time the waste log was approved.

nextLink
string | null

URL to retrieve the next page of results, or null when this is the last page.

Expand All
object

A response containing waste logs.

items
Array of object | null

Collection of public waste logs records returned in this page.

object

Waste Log

id
integer (int64)

The unique identifier for the Waste Log.

number
string | null

Waste Log Number.

template
object (WasteLogTemplateReference)

A reference to a Waste Log Template.

id
integer (int64)

Unique identifier of the waste log template.

name
string | null

Display name of the waste log template.

date
string (date-time)

Waste Log Date.

location
object (InventoryLocationReference)

Represents a reference to a location.

id
string (uuid)

The id of the location.

name
string | null

The name of the location.

number
string | null

The location number.

totalAmount
number (double)

Total Amount.

lastComment
string | null

Last Comment.

status
string | null

status.

transactionId
string (uuid) | null

The transaction id for the Waste Log.

details
Array of object | null

List of Waste Log Details.

object

Waste Log Detail

id
integer (int64)

The unique identifier for the Waste Log detail.

item
object (PublicItemReference)

A reference to an item.

id
string (uuid)

Unique identifier of the public item.

name
string | null

Display name of the public item.

number
string | null

Number assigned to the public item.

itemType
string | null
unitOfMeasure
object (InventoryUnitOfMeasureReference)

A reference to a unit of measure.

id
string (uuid)

Unique identifier of the unit of measure.

name
string | null

Display name of the unit of measure.

costAccount
object (GeneralLedgerAccountReference)

A reference to a General Ledger Account.

id
string (uuid)

Unique identifier of the general ledger account.

name
string | null

Display name of the general ledger account.

number
string | null

Number assigned to the general ledger account.

wasteAccount
object (GeneralLedgerAccountReference)

A reference to a General Ledger Account.

id
string (uuid)

Unique identifier of the general ledger account.

name
string | null

Display name of the general ledger account.

number
string | null

Number assigned to the general ledger account.

quantity
number (double)

Quantity.

eachAmount
number (double)

Each Amount.

totalAmount
number (double)

Total Amount.

comment
string | null

Comment.

completedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

completedOn
string (date-time) | null

The date and time the waste log was completed.

createdBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

createdOn
string (date-time)

The date and time the waste log was created.

modifiedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

modifiedOn
string (date-time) | null

The date and time the waste log was last modified.

approvedBy
object (GlAccountUserReference)

A reference to a user.

id
string (uuid)

The unique identifier of the user.

name
string | null

The name of the user.

approvedOn
string (date-time) | null

The date and time the waste log was approved.

nextLink
string | null

URL to retrieve the next page of results, or null when this is the last page.

400

Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range.

401

Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant.

403

Forbidden — the caller lacks the permission required for this operation.

404

Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired.

409

Conflict — the request conflicts with the current state of the resource and cannot be applied.

422

Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid.

429

Too Many Requests — the caller has exceeded the rate limit; retry after a short delay.

500

Internal Server Error — an unexpected error occurred while processing the request.