GET v{version}/dishes?updatedAfter={updatedAfter}
Details
Gets all dishes for a Purchaser that have been updated after the specified date.
https://api.procurewizard.com/v1.0/dishes?updatedAfter={updatedAfter}Request
URI Parameters
These are parameters passed as part of the URL in the request.
Name | Description | Type | Additional information |
---|---|---|---|
updatedAfter |
The date the recipe has been updated after. |
date |
Required |
version |
The API version parameter. The current version is 1.0. |
string |
None |
Response
Response Description
A response object of DishArrayResponseName | Description | Type | Additional information |
---|---|---|---|
data |
The responses data. This is an array of DishResponseData objects. If there are no items in the collection, then an empty array is returned. |
Collection of DishResponseData |
None |
jsonApi |
Implementation details of JSON:API. |
Implementation |
None |
links |
Related links. |
Links |
None |
meta |
A meta object used to include non-standard meta-information. Client meta data will be ignored by the server. |
MetaData |
None |
Response Formats
Example responses of what the data might contain.
{
"data": [
{
"id": "12345",
"type": "dish",
"attributes": {
"name": "Beans on Toast",
"author": "Gordon Ramsey",
"accessEposSettings": {
"companyCode": "Sample string 1",
"units": [
{
"unitId": 1,
"name": "Sample string 2",
"locationRef": "dd7ea320"
},
{
"unitId": 1,
"name": "Sample string 2",
"locationRef": "dd7ea320"
}
],
"pluNumber": "Sample string 2",
"salesGroup": "Sample string 3",
"printGroup": "Sample string 4"
},
"tags": [
{
"tagId": 1,
"name": "Sample string 2"
},
{
"tagId": 1,
"name": "Sample string 2"
}
],
"created": "2025-04-29T15:16:54.5927847+01:00",
"updated": "2025-04-29T15:16:54.5927847+01:00",
"labelling": {
"title": "Sample string 1",
"description": "Sample string 2",
"shelfLife": 1,
"totalGreenhouseGasesPerServing": {
"value": 1.0,
"unit": 1
},
"totalGreenhouseGasesOverall": {
"value": 1.0,
"unit": 1
},
"ingredients": "Sample string 3",
"barcode": "Sample string 4",
"precautionaryAllergenStatement": "Sample string 5"
}
}
},
{
"id": "12345",
"type": "dish",
"attributes": {
"name": "Beans on Toast",
"author": "Gordon Ramsey",
"accessEposSettings": {
"companyCode": "Sample string 1",
"units": [
{
"unitId": 1,
"name": "Sample string 2",
"locationRef": "dd7ea320"
},
{
"unitId": 1,
"name": "Sample string 2",
"locationRef": "dd7ea320"
}
],
"pluNumber": "Sample string 2",
"salesGroup": "Sample string 3",
"printGroup": "Sample string 4"
},
"tags": [
{
"tagId": 1,
"name": "Sample string 2"
},
{
"tagId": 1,
"name": "Sample string 2"
}
],
"created": "2025-04-29T15:16:54.5927847+01:00",
"updated": "2025-04-29T15:16:54.5927847+01:00",
"labelling": {
"title": "Sample string 1",
"description": "Sample string 2",
"shelfLife": 1,
"totalGreenhouseGasesPerServing": {
"value": 1.0,
"unit": 1
},
"totalGreenhouseGasesOverall": {
"value": 1.0,
"unit": 1
},
"ingredients": "Sample string 3",
"barcode": "Sample string 4",
"precautionaryAllergenStatement": "Sample string 5"
}
}
}
],
"links": {
"self": {
"href": "http://example-url-1.com"
},
"related": {
"href": "http://example-url-1.com"
}
},
"meta": {
"copyright": "© 2025 The Access Group"
},
"jsonApi": {
"version": "1.0"
}
}
Sample not available.
Sample not available.