Whitespace APIs
  1. Home
Whitespace APIs
  • Home
    • Welcome to the Whitespace API Developer Portal
  • Municipal REST
    • Municipal
      • Get resources for this service.
      • call the AddAoMRoundLogs operation.
      • call the AddAoMWorksheetLogs operation.
      • call the AddSiteAttachment operation.
      • call the AddSiteContact operation.
      • call the AddSiteLog operation.
      • call the AddSiteServiceItem operation.
      • call the AddSiteServiceItemRoundSchedule operation.
      • call the AddSiteServiceNotification operation.
      • call the AddWorksheetAttachment operation.
      • call the AddWorksheetNotes operation.
      • call the CancelWorksheet operation.
      • call the CreateWorksheet operation.
      • call the DeleteSiteContact operation.
      • call the DeleteSiteServiceItem operation.
      • call the DeleteSiteServiceItemRoundSchedule operation.
      • call the GetAccountSiteId operation.
      • call the GetActiveAddresses operation.
      • call the GetAddresses operation.
      • call the GetAddressesByCoordinatesRadius operation.
      • call the GetCollectionByUprnAndDate operation.
      • call the GetCollectionByUprnAndDatePlus operation.
      • call the GetCollectionSlots operation.
      • call the GetFullSiteCollections operation.
      • call the GetFullWorksheetDetails operation.
      • call the GetInCabLogs operation.
      • call the GetLogsSearch operation.
      • call the GetNotifications operation.
      • call the GetServices operation.
      • call the GetServiceItems operation.
      • call the GetSites operation.
      • call the GetSiteAttachments operation.
      • call the GetSiteAvailableRounds operation.
      • call the GetSiteCollections operation.
      • call the GetSiteCollectionExtraDetails operation.
      • call the GetSiteContacts operation.
      • call the GetSiteContracts operation.
      • call the GetSiteFlags operation.
      • call the GetSiteId operation.
      • call the GetSiteIncidents operation.
      • call the GetSiteInfo operation.
      • call the GetSiteLogs operation.
      • call the GetSiteNotifications operation.
      • call the GetSiteServiceItemRoundSchedules operation.
      • call the GetSiteWorksheets operation.
      • call the GetStreets operation.
      • call the GetWalkNumbers operation.
      • call the GetWorkflowStatusAndEvents operation.
      • call the GetWorksheetsByReference operation.
      • call the GetWorksheetAttachments operation.
      • call the GetWorksheetChargeMatrix operation.
      • call the GetWorksheetDetails operation.
      • call the GetWorksheetDetailEvents operation.
      • call the GetWorksheetDetailExtraInfoFields operation.
      • call the GetWorksheetDetailNotes operation.
      • call the GetWorksheetDetailServiceItems operation.
      • call the GetWorksheetExtraInfoFields operation.
      • call the GetWorksheetRoles operation.
      • call the GetWorksheetServiceItems operation.
      • call the HelloWorld operation.
      • call the ProgressWorkflow operation.
      • call the RaiseCancelWorksheetRequest operation.
      • call the UpdateSiteContact operation.
      • call the UpdateSiteServiceItem operation.
      • call the UpdateSiteServiceNotification operation.
      • call the UpdateWorkflowEventDate operation.
      • call the UpdateWorksheet operation.
  • Commercial REST
    • Contracts
      • get all contracts
      • Create Contract
      • get single contract
      • Ends a specific contract
      • Cancels a specific contract
      • Assign site services
      • Get all contract documents
      • Get all Collections by Contract
      • Upload a document for a given contract
      • Get Collection by id
      • Get the next available actions for a contract
      • Progress workflow associated with contract
    • Accounts
      • Get accounts - TBC
      • Create Account
      • Get account by Id
      • Update Account
      • Get all Sites belonging to account
      • Get all adhoc requests at account
      • Get all documents for an account
      • Get all Contracts by Account
    • Lookups
      • Get addresses
      • Get all SIC codes
      • Get all trading classifications
      • Gets all valid unit prices
      • Gets all valid adhoc unit prices
      • Get all Authorities
    • Sites
      • Get Site by id
      • Update Site
      • Get all adhoc requests at Site
      • Get all Contracts by Site
      • Get available collections days by site and waste stream
      • Get Site Contacts
      • Get Site Contact
      • Update Site Contacts
      • Create Site
      • Create Site Contact
      • Delete Site Contact
      • Get all contract discounts at the given site
      • Create a discount
      • Get a specific contract discount
      • Set end date for a contract discount
      • Delete a discount
      • Get specific adhoc discount at the given site
      • Get all adhoc discounts at the site
      • Create an adhoc discount
      • Set end date for an adhoc discount
      • Delete an adhoc discount
    • Worksheets
      • Create adhoc request
      • Get adhoc request by Id
      • Get adhoc request actions
      • Get all ad hoc request documents
      • Progress adhoc request actions
      • Upload a document for a given adhoc request
    • Waste Streams
      • Get all contract classification subtypes
      • Get all waste streams
      • Get all waste stream unit prices
      • Get all waste stream adhoc prices
      • Get all waste stream adhoc prices
      • Get all contract classifications
      • Get all payment methods
      • Get all collection items
      • Get all collection items
      • Get all payment frequencies
    • Adhoc Services
      • Gets all adhoc price classifications
      • Gets all adhoc services
      • Gets all adhoc items for a service
    • Collections
      • Assign site services
      • Get Collection by id
    • Discounts
      • Gets all contracts where a discount is applied
    • Documents
      • Gets a document
      • Delete a document Copy
      • Update a document
  1. Home

Welcome to the Whitespace API Developer Portal

Version Control#

Version control applied so that the latest calls available are visible along with any Whitespace version that they would apply to.
VersionDateDescriptionWS Version
0.1Jun 2025Draft RESTTBC

Understanding Whitespace#

Since it is important to understand some fundamental principles of the operation of Whitespace to make best use of the system the following few paragraphs will introduce the main features (emboldened in the text below).
The Whitespace API is ID-centric. Therefore, Create-type requests will revolve around ID numbers instead of naming conventions. This gives Whitespace front end users the flexibility to rename items without the risk that it will impact API development.
You will be provided with an API Matrix by your Implementation Consultant shortly after the initial data load. This API Matrix will contain all of the relevant ID’s required for API Development. There are also mechanisms to retrieve ID’s built into the API after Implementation has been completed which will be covered later in this document.
The primary operations of the Whitespace system revolve around the carrying out of work at Sites.
Sites are predominantly properties and roads (these being loaded from the council’s BS7666 gazetteer), although other geographical features such as parks and playgrounds are often also included. Typically, this will be a UPRN value (Unique Property Reference Number) in a Municipal system. Commercial systems will be more reliant on Site ID or Account Site ID values.
Rounds are collections of Sites logically or geographically grouped together and typically serviced by a particular vehicle or crew.
Round Areas are portions of Rounds that are serviced on a given Schedule. As an example, to help elaborate on this a typical setup might be a refuse collection Round called “Refuse-1” that collects from various Sites – the Sites that it collects refuse from on a Monday being grouped into Round Area “Refuse-1 Monday”.
Services are mostly the type or works that are undertaken at Sites. Services can be either scheduled or ad-hoc with scheduled work normally being processed to Schedules on Round Areas; ad-hoc work is normally arranged by means of a Worksheet.
Schedules are timings that Services are carried out to (e.g. Monday, Tuesday Week-1, Friday Week-2, Annual etc.) Scheduled work is mostly expected to be done as a matter of routine with reporting of problems by exception. Scheduled work most commonly involves routine work being carried out on Service Items.
Service Items are features or items that have work carried out on them such as a bin (that gets emptied) or a gulley (that gets cleaned) etc.
Service Properties are features that relate particularly to a given type of service. These are user definable fields and are very commonly related to service-related fields in the 3rd party system. All Worksheets carry a standard set of fields, but often additional information is required for clarification or further processing elsewhere. These fields are shown in the back office as “Extra Information” on a worksheet.
Combinations of the above features are often referred to such as Site Service Items (occurrences of a specific Service Item at an individual Site – a bin at a property or a tree on a road, that sort of thing). More complex combinations are usually built up by stringing together the component features in a logical fashion – for instance a Round – Round Area –Site – Service – Schedule being information related to the Schedule governing the performance of a particular Service at a Site within a Round Area which in turn is part of a Round.

Fair Usage - TBC#

Whitespace will support a maximum of 10,000 API calls per day.
Any retry function for a failed call is limited to one instance only.
Whitespace will also require that an API Specification relevant to your integration into Whitespace is provided to your Implementation consultant. The Live API connection will not be switched on until this specification is in place.

Connecting to your Whitespace instance - TBC#

INSTRUCTIONS on what to do... TBC

Error Handling - TBC#

No idea if SOAP error messages are relevant / will be returned - TBC

Service End Point - VERY TBC#

Whitespace can “Poke” a service end point when a worksheet workflow event has taken place. We commonly call this the “Waste Listener” anticipating that your CRM system will have endpoints for multiple systems and Whitespace is typically used to manage Waste.
The Waste Listener is not designed to return full information, it returns a summary and further API calls can then be used to retrieve customised fields such as “feedback from the crew” which are held as service properties and seen in Whitespace as extra info. Hence the term “poke”.
📌
SOAP instructions are not appropriate - need words from Olavo / Andy / Rob to accurately define the REST Listener. In main doc there is loads of bumpff about SOAP formats - do we need something similar or not? And are there any restirctions to note
If there is more than one integration in place, OR if worksheets have been created directly into Whitespace, you will still receive a “poke” for status updates to the worksheet. We recommend using the Worksheet Ref field to determine whether to ignore the “poke” or act upon it.
There are TBC available Waste Listeners (do we need to include Commercial Contract Workflow listener??):

Completed Worksheet Listener Functionality#

Notifies your system when a Worksheet Status changes to either Closed or Cancelled.

Workflow Event Listener#

Is activated whenever the Worksheet Event Changes. i.e. “Worksheet Created”, or “Worksheet Updated” or “moved to next step” notifications.
The Worksheet Status field is updated before the Workflow Event field and can be found here: Worksheet Statuses
For this reason, if you use both the Workflow Event Listener and the Completed Worksheet Listener you will receive the notification that a worksheet has been closed or cancelled a fraction of a second before you receive details about the workflow event which will probably detail the previous step.

Sample Poke#

TBC!!! - What is REST listener format

Whitespace Standard Code / ID Tables#

The following tables are non-variable and form part of the system build. They can be used to understand API call responses, as well as to lookup a specific result by API developers.

Account Site Status IDs#

AS Status IDAS Status NameAS Status Description
1ActiveActive
2StopStop – commonly used in Commercial
3ClosedClosed – Account site no longer in use
4ProspectProspect – commonly used in Commercial
5ExcludedExcluded from LLPG (Local Land Property Gazetteer) – no further updates will be accepted from COU (Change Only Update) files for LLPG

Contract Status Codes#

AS Status IDAS Status Name
CCancelled
EExpired
LLive
NNo Contract
QQuotation
SStopped

Log Types#

Log Type IDLog Type NameLog Type Description
0RoundLogs (exclusive to GetInCabLogs) specific to ROUND or WORKSHEET
1SystemThose logs that are generated by the system
2WorksheetThose logs that are generated by the worksheet module
3Worksheet ChangesThe logs that record changes to data associated with worksheets
6ContactThe logs that record changes to data associated Contacts
7WorkflowThe logs that generated from Workflow Web Service
8UsersThe logs that record changes to data to Users
9Custom LogThe logs that are entered manually by the users
15WorkflowsThe logs that record changes to Workflows
99System ErrorThose logs that are generated by a system/server error

Service Item Properties#

SIP IDSIP NameService Property Type
1Blocked fromDate
2Service item serial numberString
3Service item chip numberString
4Service item unique numberString
5Site service notesString
6EWC codeString

Worksheet Statuses#

SIP IDSIP Name
OpenIndicates that the worksheet is open, ready to be processed
CompleteIndicates that the worksheet has been completed successfully
CancelledIndicates that a worksheet has been cancelled
Modified at 2025-06-19 19:05:22
Next
Get resources for this service.
Built with