GET v{version}/tills/{tillId}?updatedAfter={updatedAfter}

Details

Gets a single till with all related data filtering out dishes updated or created before the supplied parameter.

https://api.procurewizard.com/v1.0/tills/{tillId}?updatedAfter={updatedAfter}

Request

URI Parameters

These are parameters passed as part of the URL in the request.

Name Description Type Additional information
tillId

The ID of the till.

integer

Required

updatedAfter

The date in the format dd/MM/yyy (e.g. 14/01/2018).

date

Required

version

The API version parameter. The current version is 1.0.

string

None

Response

Response Description

A response object of TillResponse
Name Description Type Additional information
data

The responses data.

TillResponseData

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": "till",
    "attributes": {
      "name": "Sample string 1",
      "description": "Sample string 2",
      "locationReference": [
        "Sample string 1",
        "Sample string 2"
      ],
      "created": "2025-04-29T15:14:24.9806429+01:00",
      "updated": "2025-04-29T15:14:24.9806429+01:00",
      "tillItems": [
        {
          "site": {
            "id": 1,
            "name": "Sample string 2"
          },
          "menuGroup": {
            "id": 1,
            "name": "Sample string 2",
            "description": "Sample string 3",
            "overriddenName": "Sample string 4",
            "overriddenReference": "Sample string 5",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          },
          "menu": {
            "id": 1,
            "name": "Sample string 2",
            "description": "Sample string 3",
            "overriddenName": "Sample string 4",
            "overriddenReference": "Sample string 5",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          },
          "course": {
            "id": 1,
            "name": "Sample string 2",
            "description": "Sample string 3",
            "overriddenName": "Sample string 4",
            "overriddenReference": "Sample string 5",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          },
          "dish": {
            "id": 1,
            "name": "Sample string 2",
            "vatRate": 3.1,
            "salePrice": 4.1,
            "costPrice": 5.1,
            "created": "2025-04-29T15:14:24.9806429+01:00",
            "updated": "2025-04-29T15:14:24.9806429+01:00",
            "epos": "Sample string 8",
            "isModifier": true,
            "author": "Sample string 10",
            "targetGrossProfit": 11.0,
            "yield": 12.0,
            "isSoldWithTax": true,
            "overriddenName": "Sample string 14",
            "overriddenReference": "Sample string 15",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          }
        },
        {
          "site": {
            "id": 1,
            "name": "Sample string 2"
          },
          "menuGroup": {
            "id": 1,
            "name": "Sample string 2",
            "description": "Sample string 3",
            "overriddenName": "Sample string 4",
            "overriddenReference": "Sample string 5",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          },
          "menu": {
            "id": 1,
            "name": "Sample string 2",
            "description": "Sample string 3",
            "overriddenName": "Sample string 4",
            "overriddenReference": "Sample string 5",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          },
          "course": {
            "id": 1,
            "name": "Sample string 2",
            "description": "Sample string 3",
            "overriddenName": "Sample string 4",
            "overriddenReference": "Sample string 5",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          },
          "dish": {
            "id": 1,
            "name": "Sample string 2",
            "vatRate": 3.1,
            "salePrice": 4.1,
            "costPrice": 5.1,
            "created": "2025-04-29T15:14:24.9806429+01:00",
            "updated": "2025-04-29T15:14:24.9806429+01:00",
            "epos": "Sample string 8",
            "isModifier": true,
            "author": "Sample string 10",
            "targetGrossProfit": 11.0,
            "yield": 12.0,
            "isSoldWithTax": true,
            "overriddenName": "Sample string 14",
            "overriddenReference": "Sample string 15",
            "publishDateFrom": "2025-04-29T15:14:24.9806429+01:00",
            "publishDateTo": "2025-04-29T15:14:24.9806429+01:00"
          }
        }
      ]
    }
  },
  "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"
  }
}
    
    
<TillResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.TillManagement">
  <JsonApi xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
    <d2p1:Version>1.0</d2p1:Version>
  </JsonApi>
  <Links xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
    <Related xmlns:d3p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
      <d3p1:Href>http://example-url-1.com/</d3p1:Href>
      <d3p1:Meta i:nil="true" />
    </Related>
    <Self xmlns:d3p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
      <d3p1:Href>http://example-url-1.com/</d3p1:Href>
      <d3p1:Meta i:nil="true" />
    </Self>
  </Links>
  <Meta xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
    <Copyright>© 2025 The Access Group</Copyright>
  </Meta>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.TillManagement" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
    <Id xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">12345</Id>
    <Attributes xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
      <d2p1:Created>2025-04-29T15:14:24.9806429+01:00</d2p1:Created>
      <d2p1:Description>Sample string 2</d2p1:Description>
      <d2p1:LocationReference xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>Sample string 1</d4p1:string>
        <d4p1:string>Sample string 2</d4p1:string>
      </d2p1:LocationReference>
      <d2p1:Name>Sample string 1</d2p1:Name>
      <d2p1:TillItems>
        <d2p1:TillItem>
          <d2p1:Course>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:Course>
          <d2p1:Dish>
            <d2p1:Id>0</d2p1:Id>
            <d2p1:Name i:nil="true" />
            <d2p1:Author>Sample string 10</d2p1:Author>
            <d2p1:CostPrice>5.1</d2p1:CostPrice>
            <d2p1:Created>2025-04-29T15:14:24.9806429+01:00</d2p1:Created>
            <d2p1:Epos>Sample string 8</d2p1:Epos>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:IsModifier>true</d2p1:IsModifier>
            <d2p1:IsSoldWithTax>true</d2p1:IsSoldWithTax>
            <d2p1:Name>Sample string 2</d2p1:Name>
            <d2p1:SalePrice>4.1</d2p1:SalePrice>
            <d2p1:TargetGrossProfit>11</d2p1:TargetGrossProfit>
            <d2p1:Updated>2025-04-29T15:14:24.9806429+01:00</d2p1:Updated>
            <d2p1:VatRate>3.1</d2p1:VatRate>
            <d2p1:Yield>12</d2p1:Yield>
          </d2p1:Dish>
          <d2p1:Menu>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:Menu>
          <d2p1:MenuGroup>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:MenuGroup>
          <d2p1:Site>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:Site>
        </d2p1:TillItem>
        <d2p1:TillItem>
          <d2p1:Course>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:Course>
          <d2p1:Dish>
            <d2p1:Id>0</d2p1:Id>
            <d2p1:Name i:nil="true" />
            <d2p1:Author>Sample string 10</d2p1:Author>
            <d2p1:CostPrice>5.1</d2p1:CostPrice>
            <d2p1:Created>2025-04-29T15:14:24.9806429+01:00</d2p1:Created>
            <d2p1:Epos>Sample string 8</d2p1:Epos>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:IsModifier>true</d2p1:IsModifier>
            <d2p1:IsSoldWithTax>true</d2p1:IsSoldWithTax>
            <d2p1:Name>Sample string 2</d2p1:Name>
            <d2p1:SalePrice>4.1</d2p1:SalePrice>
            <d2p1:TargetGrossProfit>11</d2p1:TargetGrossProfit>
            <d2p1:Updated>2025-04-29T15:14:24.9806429+01:00</d2p1:Updated>
            <d2p1:VatRate>3.1</d2p1:VatRate>
            <d2p1:Yield>12</d2p1:Yield>
          </d2p1:Dish>
          <d2p1:Menu>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:Menu>
          <d2p1:MenuGroup>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:MenuGroup>
          <d2p1:Site>
            <d2p1:Id>1</d2p1:Id>
            <d2p1:Name>Sample string 2</d2p1:Name>
          </d2p1:Site>
        </d2p1:TillItem>
      </d2p1:TillItems>
      <d2p1:Updated>2025-04-29T15:14:24.9806429+01:00</d2p1:Updated>
    </Attributes>
  </Data>
</TillResponse>
    

Back