- 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
get single contract
GET
/v1/contracts/{id}
Contracts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/contracts/'
Response Response Example
200 - Example 1
{
"id": 1,
"site": {
"id": 0,
"organisationName": "string",
"fullAddress": "string"
},
"status": {
"code": "Q",
"name": "Quotation"
},
"classification": {
"id": 1,
"name": "Commercial Refuse"
},
"classificationSubtype": {
"id": 3,
"name": "Place of Worship"
},
"paymentFrequency": {
"id": 51,
"name": "Monthly"
},
"paymentMethod": {
"id": 1,
"name": "BACS"
},
"tradingClassification": {
"id": 1,
"name": "Sole Trader"
},
"reference": "COM-123",
"purchaseOrderNumber": "PO-CW-001",
"notes": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eget massa sagittis, sollicitudin tortor feugiat, elementum nulla. Suspendisse a quam quis neque interdum sagittis. Sed rutrum ex ante. In cursus pulvinar gravida.",
"startDate": "2020-04-01T00:00:00Z",
"endDate": "2021-03-31T23:59:59Z",
"workflow": {
"id": 0,
"state": "Awaiting Confirmation",
"nextActions": [
"Confirm"
]
}
}
Request
Path Params
id
integer
required
Responses
🟢200OK
application/json
Body
Represents a contract at a site, with its associated details.
id
integer
contract ID
Example:
1
site
object
required
id
integer
required
organisationName
string | null
optional
<= 60 characters
fullAddress
string | null
optional
status
object (ContractStatus)
required
code
string
read-onlyrequired
<= 1 characters
Example:
Q
name
string
read-onlyrequired
<= 50 characters
Example:
Quotation
classification
object
required
id
integer <int32>
read-onlyrequired
Example:
1
name
string
required
<= 50 characters
Example:
Commercial Refuse
classificationSubtype
object
required
id
integer <int32>
read-onlyrequired
Example:
3
name
string
required
<= 50 characters
Example:
Place of Worship
paymentFrequency
object
required
id
integer <int32>
read-onlyrequired
Example:
51
name
string
required
<= 50 characters
Example:
Monthly
paymentMethod
object
required
id
integer <int32>
read-onlyrequired
Example:
1
name
string
required
<= 25 characters
Example:
BACS
tradingClassification
object | null
optional
id
integer
read-onlyrequired
Example:
1
name
string
required
<= 50 characters
Example:
Sole Trader
reference
string | null
optional
<= 20 characters
Example:
COM-123
purchaseOrderNumber
string | null
optional
<= 20 characters
Example:
PO-CW-001
notes
string | null
optional
<= 1000 characters
Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eget massa sagittis, sollicitudin tortor feugiat, elementum nulla. Suspendisse a quam quis neque interdum sagittis. Sed rutrum ex ante. In cursus pulvinar gravida.
startDate
string <date-time>
read-onlyrequired
Example:
2020-04-01T00:00:00Z
endDate
string <date-time> | null
required
Example:
2021-03-31T23:59:59Z
workflow
object (Workflow)
required
id
integer
workflow instance ID
state
string
read-onlyoptional
<= 50 characters
Example:
Awaiting Confirmation
nextActions
array[string]
optional
>= 0 items
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-06-18 14:15:55