- Home
- 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 contractsGET
- Create ContractPOST
- get single contractGET
- Ends a specific contractPATCH
- Cancels a specific contractDELETE
- Assign site servicesPOST
- Get all contract documentsGET
- Get all Collections by ContractGET
- Upload a document for a given contractPOST
- Get Collection by idGET
- Get the next available actions for a contractGET
- Progress workflow associated with contractPOST
- Accounts
- Lookups
- 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
- Waste Streams
- Adhoc Services
- Collections
- Discounts
- Documents
Cancels a specific contract
DELETE
/v1/contracts/{id}
Contracts
Can only be performed when contract is in Quotation state
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/v1/contracts/1'
Response Response Example
204 - Example 1
{}
Request
Path Params
id
integer
required
Example:
1
Responses
🟢204No Content
application/json
Body
object {0}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-06-19 07:14:18