API Versions and Changes
This section lists any significant changes made to this document (and by extension, the API interfaces themselves) introduced by each recent and upcoming future release.
Version 6.17.3 (20/11/2025)
Updated GeoJSON API with the following changes:
-
SM-13701: Added a new endpoint:
GET /potential-collaborations-and-clashes. This endpoint returns potential collaborations and, optionally, clashes. Collaborations are returned for works within a 500-meter radius of the suppliedeastingandnorthingcoordinates, occurring between the providedstart_dateandend_date. Clashes are returned when ausrnis included in the request, matching works associated with the providedusrn. Both result sets (collaborations and clashes) are limited to a maximum of25items. Thestart_dateandend_datevalues must be within three months of each other.
Updated Work API with the following changes:
-
SM-13754: Fixed a bug on
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requestsin which submitting an empty array ofpermit_asdson a permit with no ASDs would setchange_request_asd_is_changedto true. - SM-13319: Work API has been updated to send a notification to the new worklist queue when an event on a work occurs.
Created new Worklist API:
- SM-13320: Created the Worklist API. Usable endpoints will be added in future releases.
Version 6.17.2 (06/11/2025)
Updated Work API with the following changes:
- SM-6608: Added a works history entry for Assessment Status being set to Granted(Auto) when an immediate permit has a work stop logged.
Updated Street Lookup API with the following changes:
-
SM-13720: Updated
POST /nsg/streets/searchandGET /nsg/streets/{usrn}to return interested and primary authorities ordered byrecord_end_date, with null values returned first followed by entries in descending order by date.
Version 6.17.1 (23/10/2025)
Updated Reporting API with the following changes:
- SM-12739: Refactored database calls to improve performance - no functional changes.
Updated Street Lookup API with the following changes:
-
SM-13685:
POST /nsg/streets/searchandGET /nsg/streets/{usrn}now returnrecord_end_dateas populated in the NSG dataset.
Version 6.17 (09/10/2025)
Updated Reporting API with the following changes:
-
SM-12525: The enum
CSVExportTypeResponsehas been updated to includeCHANGE_REQUEST.
Updated Work API with the following changes:
-
SM-13643: Updated the validation rules of
POST works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requestsso that when a field is updated in such a way as to require dependent fields which are not present on the permit, they must also be supplied. -
SM-13642: Introduces the following changes:
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests-primary_promoter_permit_reference_numbermust now reference an existing permit.POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests-primary_promoter_permit_reference_numbercan not be updated if the permit was not collaborative and the resulting change request will not make the permit collaborative.POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests- Change requests that change a non collaborative permit to a now collaborative permit will now store collaboration information at the point of applying the change request. Change requests that result in a change to theprimary_promoter_permit_reference_numberwill update collaboration information at the point of applying the change request. Change requests that result in a changedprimary_promoter_permit_reference_numberwill remove the previous collaboration when the change request is applied.PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/statusgranting a change request that had pending collaboration detail changes will now apply those changes to the resulting permit.
-
SM-13636: Update validation for
collaboration_typesinPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests,POST works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations,POST /works/{workReferenceNumber}/permits, andPOST /worksto preventtrench_sharing_primary_promoterbeing submitted when secondary promoter is selected andtrench_sharing_secondary_promoterwhen primary promoter is selected. - SM-12887: Fixed an issue where designations were not saved correctly on change request auto-apply, granting, and deeming.
-
SM-13393: Updated all endpoints that send an API notification to include the
parent_object_reference_numberin the payload. Also corrected an issue with the Change Request (v2) functionality to ensureparent_object_reference_numberis recorded in the audit log.
Version 6.16 (25/09/2025)
Updated Work API with the following changes:
-
SM-13344: Fixed an issue with
POST works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/duration-challenge-non-acceptance-responseto update the permit to use thenew_reasonable_period_end_datewhen supplied. -
SM-7640: Updated
POST /worksandPOST /works/{workReferenceNumber}/permitsto correctly perform UTC processing on dates provided as part ofpermit_asds. -
SM-12553: Fixed an issue with
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/imposeto prevent the Imposed change from removing the Promoter's file uploads.
Updated Reporting API with the following changes:
-
SM-12524: Added new endpoint
GET /change-requeststo retrieve a list of change requests.
Version 6.15 (11/09/2025)
Updated Event API with the following changes:
-
SM-13261: Updated the
GET /works/updatesendpoint so that when theupdate_idis supplied and no updates are returned, the suppliedupdate_idwill be checked. In cases where it is more than seven days old, the latestupdate_idthat is at least one hour old will be returned as thenext_update. If theupdate_idis less than seven days old, thenext_updatewill not be returned.
Updated Data Export API with the following changes:
-
SM-12526: Added new endpoint
POST /change-requests/csvto export a list of new style change requests.
Updated Works API with the following changes:
-
SM-12516: Updated the validation on the following endpoints to ensure that
collaboration_typescannot include bothtrench_sharing_primary_promoterandtrench_sharing_secondary_promoter-POST /worksPOST /works/{workReferenceNumber}/permitsPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests
-
SM-13256: Updated
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/reassign-section-81to recreate files from the original section-81 during reassignment to allow the new organisation to correctly download/preview files uploaded by the HA. -
SM-13346: Fixed an issue with
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requestsandPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationswhere if both a permit alteration and change request were created on a permit then their reference numbers would conflict. -
SM-13373: Fixed an issue with
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requestsandPUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/statuswhere some fields were not saved correctly.
Updated GeoJSON API with the following changes:
-
SM-12740: Updated
GET /ancillary-informationsto increase max length ofancillary_info_reference_numberto 33 characters.
Version 6.14 (28/08/2025)
Updated Party API with the following changes:
-
SM-13020: Fixed an issue on
GET /users/{email}that was not matching organisation reference correctly when SWA code was less than four characters.
Updated Works API with the following changes:
-
SM-12958: Updated
GET /works/{workReferenceNumber}/historyto sort byevent_dateand thenupdate_id. -
SM-13343: Updated
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requeststo store some additional values from the current permit version in the change request to aid performance.
Version 6.13 (14/08/2025)
Updated Works API with the following changes:
-
SM-12552: Updated
POST /works/{workReferenceNumber}/permitsandPUT /works/{workReferenceNumber}/permit/{permitReferenceNumber}/link-non-complianceto correctly setinternal_user_identifierandinternal_user_nameon thepermit_linked_to_non_complianceevent when provided.
Version 6.12 (31/07/2025)
Updated Works API with the following changes:
-
SM-13221:
POST /works/{workReferenceNumber}/permit/{permitReferenceNumber}/alterationshas been updated to ensure calls to the GeoJSON api contain end dates which occur after start dates in the event they are not provided. -
SM-12640:
PUT /works/{workReferenceNumber}/section-74s/{section74ReferenceNumber}/highway-authority-statusupdated to accept0as a valid value forfinal_agreed_amount -
SM-12782: Enums relating to Periodicity Code have been updated to use
continuousandspecial_arrangementsrather thancontinuous_62andspecial_arrangements_63. -
SM-13069: The following endpoints have been updated so that when a Change Request or Permit Alteration is applied automatically, links between collaborating permits will be removed if a permit that was collaborating is no longer collaborating, or if a secondary promoter is made a primary promoter.
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requestsPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations
change_request_statusoralteration_statusis set tograntedorgranted_with_duration_challenge:POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/statusPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/status
-
SM-13090: Updated
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requeststo validate the new collaboration fields. Fixed a server error when creating a change request on a permit with start and end date on the same day and no end time. -
SM-12442: Updated
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusto store thepermit_cancellation_reasonin the audit event details when a permit is cancelled. -
SM-13175: Update
PUT /works/{workReferenceNumber}/comments/{commentReferenceNumber}/readHTTP status code to 204 No Content.
Updated Street Lookup API with the following changes:
-
SM-12782: Enums relating to Periodicity Code have been updated to use
continuousandspecial_arrangementsrather thancontinuous_62andspecial_arrangements_63.
Updated Event API with the following changes:
-
SM-13150: Updated the
POST /subscribeandPOST /unsubscribeendpoints with initial changes to support organisations having multiple subscriptions in the future. -
SM-12283: Updated the
POST /permit/searchendpoint to use the correct property from the permit,excavation_carried_outrather than theexcavationproperty.
Version 6.11 (17/07/2025)
Updated Works API with the following changes:
-
SM-13147:
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}response has been updated to return thedeadline_dateas a top-level property, instead of within theproposedproperty.
Updated GeoJSON API with the following changes:
-
SM-12779: Updated
traffic_management_typereturned inGET /worksto include the enumtemp_obstruction_15_minute_delay.
Updated Works API with the following changes:
- SM-13063: Updated change request work extension granted audit message to use the proposed start and end dates of the new permit version instead of the old version.
Version 6.10 (03/07/2025)
Updated Event API with the following changes:
-
SM-12780: Updated the Api Notification event type to support the following features -
- Event subscription
Updated Works API with the following changes:
-
SM-12780: Updated the Api Notification event type to support the following features -
- Material classification
- Private street notice
- Non compliance
-
SM-7304: Updated
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}to return details of collaborating permits in thecollaborating_permitsproperty. -
SM-12510: Added new endpoint
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/duration-challenge-non-acceptance-responsewhich allows a HA user to respond to a duration challenge non-acceptance review on a change request. - SM-12529:
DELETE /files/{fileId}updated to prevent the deletion of files linked to a change request. -
SM-13034: Removed the
collaboration_typefield fromPermitResponse. The collaboration types will now always be returned in thecollaboration_typesfield. UpdatedPOST /works,POST /works/{workReferenceNumber}/permits, andPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto require the fields:is_primary_promoterwhencollaborative_workingis truecollaboration_typeswhencollaborative_workingis true orothers_can_collaborate_on_workis true- At least one of
collaboration_contact_emailorcollaboration_contact_phone_numberwhencollaborative_workingis true orothers_can_collaborate_on_workis true others_can_collaborate_on_workwhencollaborative_workingis false
-
SM-13187: Changed permit submission to check for clashes using the
proposed_start_timeandproposed_end_timeif present, otherwise will use the start of day ofproposed_start_dateand end of day ofproposed_end_date. -
SM-13052: Updated audit messages containing the proposed start and end date to only include the date in DD/MM/YYYY format when the
proposed_start_timeandproposed_end_timeare not provided in the permit. -
SM-12528: Updated
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentto revoke any outstanding change requests (new style) when theassessment_statusisrevoked. AdditionallyPUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/statushas been updated to cancel any outstanding change requests (new style) when thepermit_statusiscancelled.
Version 6.9 (19/06/2025)
Updated Works API with the following changes:
-
SM-12007: Updated
GET works/{workReferenceNumber}/comments/{commentReferenceNumber}to padauthor_organisation_refto 4 characters with leading 0s at the start of the ref. -
SM-12511: Updated the following endpoints:
-
GET /works/{workReferenceNumber}will return change request (new format) summary details as part of theactive_permitif a change request(s) has occurred under thechange_requestsproperty. -
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}will return change request (new format) summary details if a change request(s) has occurred under thechange_requestsproperty.
-
-
SM-12512: Added new endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/imposeto allow a HA user to impose a change to the permit conditions on a permit. -
SM-12962: Added
potential_clash_with_other_worksinPermitResponseto return true if there is a potential clash or false if not. This property will be automatically set and updated only on creation of work, permit, permit alteration or change request. This will affect the following endpoints:- Set in
POST /works/{workReferenceNumber}/permitsPOST /worksPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests- returned in
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}GET /works/{workReferenceNumber}GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}
Updated Party API with the following changes:
-
SM-12007: Updated the following
GETendpoints to padorganisation_referenceto 4 characters with leading 0s at the start of the reference./organisations/{organisationReference}/workstreams/{workstreamPrefix}/organisations/{organisationReference}/workstreams/users/{email}
Updated Sampling API with the following changes:
-
SM-12007: Updated
GET /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to padorg_refto 4 characters with leading 0s at the start of the ref.
Updated Reporting API with the following changes:
-
SM-12007: Updated the following
GETendpoints to pad the following properties to 4 characters with leading 0s at the start of the property.author_organisation_referencein/commentsorg_refin/pbi-sample-inspection-targetspromoter_swa_codein:/alterations/duration-challenges/permits/permits/duration-challenges/interested-party-permits
Version 6.8 (05/06/2025)
Updated Works API with the following changes:
-
SM-12138: Updated the following endpoints:
-
POST /worksandPOST /works/{workReferenceNumber}/permits. When a permit is created as a secondary collaborating permit if aprimary_promoter_permit_reference_numberis provided and is a valid permit the two will be linked as collaborating permits. -
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}will returnprimary_promoter_work_reference_numberandprimary_promoter_permit_reference_numberof the primary permit if the permits were linked as collaborating on creation. If they were not linked the response will only containprimary_promoter_permit_reference_numberand it will contain the value provided upon permit creation.
-
-
SM-12509: Added new endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/duration-challenge-reviewto allow Planner and Contractor users to respond to a duration challenge review of a change request.
</ol>
Version 6.7 (22/05/2025)
{: .govuk-heading-s #v6-7}
Updated Works API with the following changes:
{: .govuk-body}
-
SM-12507: Added new endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/statusto allow HA users to assess change requests. -
SM-12508: Added new endpoint
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}for retrieving the details of a permit change request. -
SM-11935: Updated
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/reassign-section-81. When a section 81 is reassigned it will remain with the original promoter organisation in a read-only state with a new status ofreassigned. A new works record and section 81 will be created with all details of the original section 81 and assigned to the new promoter organisation. -
SM-12978: Updated the change request endpoints
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requestsandPUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}/statusto record the permit version at the point it was assessed. Updated the `current` property in the get change request endpointGET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requests/{changeRequestReferenceNumber}to be the permit version recorded at the point of assessment if the change request is assessed, or the current permit version if not assessed -
SM-12017: Ensure the
update_idused for thePERMIT_SUBMITTEDandWORK_STARTAPI notifications are different. Align the API notification date with the audit date and added `NON_COMPLIANCE` toobject_typeenum. -
SM-12948: Implementation of validators for
GET /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}andGET /previous-annual-inspection-unitschanged to calculate date comparison each time validators are called rather than on startup of app. -
SM-12506: Added new endpoint
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/change-requeststo create a change request for a permit. The endpoint takes only the changed properties on the permit, providing null for an optional property will unset that property on the permit, and omitted properties will not be updated. - SM-3754: The proposed start and end date for a PAA and permit will now be added to the end of the audits generated when using the following endpoints:
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusPOST works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsPOST /works/{workReferenceNumber}/permitsPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/imposePUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessment
-
SM-12915: Updated
GET /works/updatesto return a new optional propertyobject_reference_number. -
SM-12912: Updated
POST /works,POST /works/{workReferenceNumber}/permits,POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsandPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/imposeto support the new posting of the following additional fields:is_primary_promotercollaboration_typesprimary_promoter_permit_reference_numbercollaboration_contact_namecollaboration_contact_emailcollaboration_contact_phone_numberestimated_number_of_network_days_savedothers_can_collaborate_on_workreason_for_non_collaborationcan_collaborate_on_work_additional_details
GET /works(on theactive_permit),GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}andGET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/${permitAlterationReferenceNumber}(on theoriginalandproposedobjects). -
SM-12757:
-
Amended validation for
POST /works,POST /forward-plans,POST /private-street-notices, andPOST /section-81-works/section-81sso thatroad_categoryof 0 cannot be provided. -
Fixed a bug where progressing a PAA to PA does not populate the fee matrix for
road_category5.
-
Amended validation for
-
SM-12548: Includes the following changes:
- Audits produced as a result of starting a work via
PUT /{workReferenceNumber}/startnow include a formatted work start date and time as part of the audit details - Audits produced as a result of stopping a work via
PUT /{workReferenceNumber}/stopnow include a formatted work stop date and time as part of the audit details
- Audits produced as a result of starting a work via
-
SM-12757: Removed mapping of
road_category5 toroad_category0 forPOST streets/search,GET streets/{usrn},GET streets/usrns. -
SM-7300: Added new endpoint,
GET /potential-clashes, to identify other works taking place on a USRN for a given set of start/end dates. -
SM-12880: The job actioned by
POST /sample-inspectionshas been updated to making sampling more random. -
SM-12371: Updated all endpoints that create a fee to store the permit version that relates to the fee to ensure the
POST /fees/csvendpoint correctly reflects thework_categoryof the permit at the time the charge was incurred. -
SM-12778:
reasonable_period_end_dateis now a sortable field onGET /permitsandGET /interested-party-permits -
SM-12877: Introduces the following changes:
- Audit actions in relation to ancillary information, section 74 and reinstatements will now store a reference to the parent reference number via
parent_object_reference_numberon audit creation. GET {workReferenceNumber}/historywill now returnparent_object_reference_numberas part of its response
- Audit actions in relation to ancillary information, section 74 and reinstatements will now store a reference to the parent reference number via
-
SM-12781: Updated
GET /works/{workReferenceNumber}andGET /works/{workReferenceNumber}/permits/{permitReferenceNumber}to no longer returnprimary_contact,primary_contact_number, andprimary_contact_email -
SM-12877:
GET updateswill now returnparent_object_reference_numberas part of its response -
SM-11743: Updated
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}andGET /works/{workReferenceNumber}responses to includeroad_category_is_active(stored at point of permit creation). -
SM-12016: Updated
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto correctly calculate thereasonable_period_end_datebased on whether theend_datehas been changed or not. -
SM-12077: Updated
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessment. When a permit is revoked, for any outstanding alterations that are revoked an audit entry will be created with the new event typealteration_revoked. -
SM-12736: Updated
POST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsto allow reinstatements to change frominterimtopermanentwhen the permit reference number is changed to another when updating the reinstatement. -
SM-11743: Updated
GET /nsg/streets/{usrn}andPOST /nsg/streets/searchresponses to includeis_activein thereinstatement_typesentries. -
SM-12490: Updated
GET /csv-exportsto includePBI_SAMPLE_INSPECTION_TARGETandINTERESTED_PARTY_PERMITenums in thecsv_export_type. - SM-11074: Updated all endpoints to return a 408 Timeout response when long-running requests are terminated in case of a database timeout.
-
SM-12755: Updated
POST /sample-inspections/start-quarterto not includetarget_category_ain the total target count for the upcoming quarter. The quarter can now be started with up to 4000 targets betweentarget_category_bandtarget_category_c. -
SM-12704: Updated
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}response to includelinked_non_compliancewhen the permit is linked to a non-compliance. -
SM-12775: Updated
POST /works/{workReferenceNumber}/inspections.defect_fixed_on_siteis now required when creating alive_sitefailed_lowinspection. -
SM-12610: Updated
POST /works/{workReferenceNumber}/inspectionsto create or link non-compliances to inspections created with theinvestigatory_worksinspection type. - SM-11074: Updated all endpoints to return a 408 Timeout response when long-running requests are terminated in case of a database timeout.
-
SM-12748: Updated
POST /sample-inspections/end-quarterto insert zeroed performance statistics for any promoter that has no progress made on their target during a quarter to enable HAs to end quarter 4. -
SM-12335: Updated
POST /works/{workReferenceNumber}/section-74s,PUT /works/{workReferenceNumber}/section-74s/{section74ReferenceNumber}/highway-authority-statusandPUT /works/{workReferenceNumber}/section-74s/{section74ReferenceNumber}/promoter-statusto require the user to have theCompliancepermission in order to use these endpoints, otherwise an unauthorised error will be returned. -
SM-12428: Added new endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/link-non-compliancethis endpoint takes anon_compliance_reference_numberand allows a permit and non-compliance to be linked after permit creation. -
SM-12337: Updated
PUT /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}/statusto require the user to have theCompliancepermission in order to use these endpoints, otherwise an unauthorised error will be returned. -
SM-12543: Updated the endpoint
GET /works/{workReferenceNumber}to include a summary of the five most recent comments on the work with the new propertylatest_comments. Additionally, the endpointGET /works/{workReferenceNumber}/comments/{commentReferenceNumber}now includes the propertiescomment_reference_number,is_read,read_on,is_internal, andauthor_organisation_refin the response. In both cases, if a user is not part of the author organisation and the comment is internal, the user will see the message "Internal comment" under the comment'sdetail. -
SM-6269: Updated
POST /works/{workReferenceNumber}/inspectionsto acceptdefect_fixed_on_site,was_called_logged,call_logged_to,call_logged_referenceandcall_logged_summarywhen creatinglive_sitefailed_lowinspections.defect_fixed_on_sitewill only be validated if provided. If provided then the same validation rules as creating alive_sitefailed_highinspection apply. -
SM-12332: Updated
POST /section-81-works/section-81sandPUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/statusto require the user to have theCompliancepermission in order to use these endpoints, otherwise an unauthorised error will be returned. -
SM-12134: Updated
GET /worksto return the following properties associated with returned work(s) -streettownareausrnhighway_authority
-
SM-12332: Updated
PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdrawandPUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/statusto require the user to have theCompliancepermission in order to use these endpoints, otherwise an unauthorised error will be returned. -
SM-12333: Updated
POST /works/{workReferenceNumber}/scheduled-inspectionsandDELETE /works/{workReferenceNumber}/scheduled-inspectionsto require the HA user to have theCompliancepermission in order to use these endpoints. Otherwise an unauthorised error will be returned. -
SM-12410: Updated
GET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}response to include thenon_compliance_reference_numberwhen the inspection is linked to a non compliance. -
SM-12540: Added new
GET /works/{workReferenceNumber}/comments/{commentReferenceNumber}endpoint to return the details of a comment with the given reference number. -
SM-12594: Updated
GET /works/{workReferenceNumber}response to includepromoter_organisation_industry_typeandpromoter_organisation_industry_type_string. -
SM-12336: Updated
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/reassign-section-81to require the HA user to have theCompliancepermission. -
SM-12379: Updated
POST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsto allow reinstatements to be added to a site when the work status isplanned. -
SM-12330: Updated
POST /section-58sandPUT /section-58s/{section58ReferenceNumber}/statusto require the HA user to have theWorkpermission in order to use these endpoints. Otherwise an unauthorised error will be returned. -
SM-12295: Updated with the following changes:
-
Updated
PUT /works/{workReferenceNumber}/inspection/{inspectionReferenceNumber}/statusto only save promoter response details when a status ofinspection_outcome_acceptedorinspection_outcome_disputedis provided. -
Updated
GET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}to returnpromoter_response_detailswhen the promoter status is eitherinspection_outcome_acceptedorinspection_outcome_disputed.
-
Updated
-
SM-12431: Updated
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}to return theprimary_contact,primary_contact_email, andprimary_contact_number. -
SM-12647: Marking
DELETE /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}as Deprecated. -
SM-12331: Updated
POST /works/{workReferenceNumber}/inspections,DELETE /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}, andPOST /historic-works/inspectionsto require the HA user to have theCompliancepermission in order to use these endpoints. Otherwise an unauthorised error will be returned. -
SM-12431: Added
Primary contactcolumn contining the primary contact name toPOST /permits/csv,POST /permits/reinstatements-due/csv,POST /private-street-notices/csv, andPOST /reinstatements/csv. -
SM-12605: Performance improvement to
GET /reinstatements/expiring-interims. -
SM-6711: Updated
GET /permitsto accept new propertiesreasonable_period_end_date_fromandreasonable_period_end_date_toso that a given permit'sreasonable_period_end_datecan be filtered on. -
SM-6711: Updated
POST /permits/csvto accept new propertiesreasonable_period_end_date_fromandreasonable_period_end_date_toso that a given permit'sreasonable_period_end_datecan be filtered on. -
SM-12423: Updated
POST /permits/csvand DAMD to return permit_cancellation_details column (additional comments added during permit cancellation) -
SM-12329: Updated
POST /activity,PUT /activity/{activityReferenceNumber}, andPUT /activity/{activityReferenceNumber}/cancelto require the HA user to have theWorkpermission in order to use these endpoints. Otherwise an unauthorised error will be returned. -
SM-12569: Updated
PUT /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}/statusto correctly handle updating non-compliance status when contractor is acting on behalf of promoter. -
SM-12328: Updated
GET /users/{email}to return a new optionalrole_permissionsproperty, returning a list of objects describing each role the user has and the associated permissions. -
SM-12133: Fixed
GET /worksreturning duplicate works when a work is within the specified bounding box and specified with thework_reference_numberparameter. -
Updated the following endpoints to include an optional parameter
include_total_count.GET /activitiesGET /alterationsGET /alterations/duration-challengesGET /permitsGET /permits/duration-challengesGET /permits/reinstatements-dueGET /fixed-penalty-noticesGET /commentsGET /inspectionsGET /workstreamsGET /reinstatementsGET /reinstatements/expiring-interimsGET /forward-plansGET /section-58sGET /section-74sGET /section-81sGET /csv-exportsGET /pbi-sample-inspection-targetsGET /pbi-sample-inspectionsGET /reinspectionsGET /private-street-noticesGET /non-compliancesGET /material-classificationsGET /pbi-sample-generation-jobsGET /interested-party-permits
include_total_countis either set totrueor not provided, the returnedtotal_rowswill return an accurate count of returned values. Wheninclude_total_countis set tofalsethentotal_rowswill not be returned in the response but the endpoint will see improved response times. -
SM-11916: Added new endpoint
POST /interested-party-permits/csvto export a list of permits that the logged in user is an interested party of. Note this endpoint is for HA users only. -
SM-8074: Updated
GET /inspectionsto include theinspector_namein the response if one is provided. -
SM-12427: Updated
GET /non-compliancesto allow for filtering of non-compliances on -most_recent_inspection_typemost_recent_inspection_outcomemost_recent_inspection_promoter_response_statusmost_recent_inspection_ha_response_status
-
SM-12427: Updated
POST /non-compliances/csvto allow for filtering of non-compliances csv exports on -most_recent_inspection_typemost_recent_inspection_outcomemost_recent_inspection_promoter_response_statusmost_recent_inspection_ha_response_status
-
SM-11885: Added new endpoint
GET /interested-party-permitsto return a list of permits that the logged in user is an interested party of. Note this endpoint is for HA users only. -
SM-12388: Updated
GET /non-compliancesto return these latest inspection details for each non-compliance.most_recent_inspection_typemost_recent_inspection_outcomemost_recent_inspection_promoter_response_statusmost_recent_inspection_ha_response_status
-
SM-12388: Updated
POST /non-compliances/csvto return these latest inspection details for each non-compliance in the csv exports:-
most_recent_inspection_type -
most_recent_inspection_outcome -
most_recent_inspection_promoter_response_status -
most_recent_inspection_ha_response_status
-
-
SM-12406: Updated
GET /worksto returnindustry_sectorandindustry_sector_stringfor a promoter or HA organisation. -
SM-11186: Updated
GET /organisations/{organisationReference}to returnindustry_sector>andindustry_sector_stringfor a promoter or HA organisation. -
SM-12265: Updated
POST /permits/csvto return cancellation reasons for permit exports. Cancellation reason details are also added to DAMD responses. -
SM-11886: Updated
GET /works/{workReferenceNumber}andGET /works/{workReferenceNumber}/permits/{permitReferenceNumber}to return a new optional propertyinterested_partieswithin thePermitResponse. This will contain theorganisation_nameandswa_codeof any interested parties for the USRN of the work at the time of permit creation. -
SM-12399: Updated
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/ancillary-informationsto fix a bug that prevented creation when the USRN belonged to an organisation with a zero padded SWA code. -
SM-11673: The endpoint
POST /works/{workReferenceNumber}/permitswill now, in cases where a PAA is progressed to a PA, create ancillary information based off what was present on the PAA. Any ancillary information on the PAA will be removed with the reason "Transferred from PAA to PA". -
SM-11915: Updated
POST /worksandPOST /forward-plansto automatically save interested parties for the USRN returned from the Street Lookup API. -
SM-12097: The endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/ancillary-informations/{ancillaryInformationReferenceNumber}/removewill now return HTTP 412 if the ancillary information is already removed -
SM-12155: Updated
POST works/{workReferenceNumber}/inspectionsto only allow aninspection_typeofsection_81when applicable (work status is Section 81 and the Section 81 type is not "Unattributed works - Completed" or "Unattributed works - Live site"). -
SM-11915: Updated
POST /nsg/streets/searchandGET /nsg/streets/{usrn}to return theswa_codefor each organisation returned in theinterest_authoritiesproperty. Any SWA code returned by these endpoints will also now be correctly padded to 4 characters with leading zeroes. -
SM-6527: Includes the following changes:
-
Updated
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusto add new optional request propertiespermit_cancellation_reasonandpermit_cancellation_reason_other. Ifpermit_cancellation_reasonis set asotherthenpermit_cancellation_reason_otheris required. -
Updated
GET works/{workReferenceNumber}/permits/{permitReferenceNumber}to return new optional propertiespermit_cancellation_reasonandpermit_cancellation_reason_otherif they were provided when the permit was cancelled.
-
Updated
-
SM-12033: Includes the following changes:
-
Updated
POST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsto accept two new optional properties:response_to_remedial_worksandbase_courses_affected. These fields should only be supplied when submitting a permanent reinstatement to a site where the last reinstatement was also permanent. If you provide one field, you must provide the other. Ifresponse_to_remedial_worksis false, orresponse_to_remedial_worksis true andbase_courses_affectedis false, theend_dateon the resulting reinstatement will remain the same as on the prior reinstatement. Otherwise, the end date will be calculated as normal. -
The request objects for both
POST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsandPOST /works/{workReferenceNumber}/siteshas been updated to inherit from a common base interface to support the above change. This should not have any impact on how you interact with both of these endpoints. -
Updated
GET /works/{workReferenceNumber}/sites/{siteReferenceNumber}to return two new optional properties:response_to_remedial_worksandbase_courses_affected.
-
Updated
-
SM-12268: Updated
POST /works/{workReferenceNumber}/inspections,PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdraw, andPUT /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}/statusto use the correct user (Automated) for works history entries when withdrawing or resolving an inspection or non-compliance, where appropriate. -
SM-12192: Updated
POST /sample-inspectionsto only consider permanent reinstatements as eligible for Category B sample inspections. - SM-12285: Fix
POST /pbi-sample-inspection-targets/csvto ensure that thedate_fromanddate_tofilters export accurate data for Promoter Admin. -
SM-12174: Fix
PUT works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}/statusto allow a user to respond to jsm withaccept_suggestionorwill_attendas long asjsm_statusisawaiting_agreement. - SM-11665: New endpoint
POST /pbi-sample-inspection-targets/csvadded to export the Performance based inspection targets. The request requiresdate_fromanddate_towhich are the start and end dates of financial quarters. The dates should be in the same financial year which means that up to 4 quarters can be exported (including the current financial quarter) -
SM-11827: New endpoint
GET /section-81s/filesadded to returnfile_idandnameof files associated with the givensection_81_reference_number. Results can be filtered byimagesanddocuments. -
SM-11320: New endpoint
GET /permits/filesadded to returnfile_idandnameof files associated with the givenpermit_reference_number. Results can be filtered byimagesanddocuments. - SM-11665: New endpoint
POST /pbi-sample-inspection-targets/csvadded to export the Performance based inspection targets. The request requiresdate_fromanddate_towhich are the start and end dates of financial quarters. The dates should be in the same financial year which means that up to 4 quarters can be exported (including the current financial quarter) -
SM-11288: New endpoint
GET /reinstatement/filesadded to returnfile_idandnameof files associated with the givenreinstatement_reference_number. Results can be filtered byimagesanddocuments. Also removed some unused filter params fromFPNFilesFilterParams,PrivateStreetFilesFilterParams, andSection74FilesFilterParams. -
SM-11661: Updated
GET /works/{workReferenceNumber}to return thenon_compliance_reference_numberof the linked non-compliance if the associated inspection has been linked to a non-compliance. -
SM-12148: Updated
PUT /works/${workReferenceNumber}/non-compliances/${nonComplianceReferenceNumber}/statusto correctly update thepromoter_response_jsm_dateandha_response_jsm_dateso that when a time is agreed both users have the JSM date and time set. -
Added new endpoint
GET /pbi-sample-generation-jobs. This endpoint will return a list of sample generation jobs started by the user's organisation. This endpoint is only accessible by HAs. -
SM-11642: Includes the following changes:
-
Added new endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/under-assessment. This new endpoint will update a permit's status tounder_assessment -
Updated
PUT /works/{workReferenceNumber}/revert-stopto correctly set status of permit if permit was marked asunder_assessmentwhen work stop was logged. If an immediate permit wasunder_assessmentwhen work stop was logged, revert work stop will set the permit asunder_assessment. If a planned permit wasunder_assessmentwhen work stop was logged, revert work stop will set the permit assubmitted
-
Added new endpoint
-
SM-12105: Removed ability for HA to set inspection status to
inspection_outcome_promoter_accepts_failed_inspectionunless the promoter has set the status toinspection_outcome_disputedorjoint_site_meeting_needed. If the HA has set the status toinspection_outcome_promoter_accepts_failed_inspectionthe promoter can take no further actions, including setting the status toinspection_outcome_accepted. -
SM-11186: Updated
GET /material-classificationsto acceptminEasting,minNorthing,maxEastingandmaxNorthingas optional fields providedusrnis present. Please note if any ofminEasting,minNorthing,maxEastingormaxNorthingare provided in the request then all must be provided. -
SM-12147: Fixed bug in
GET /pbi-sample-inspection-targetsthat caused an incorrecttotal_rowsvalue to be returned when thequarter_start_datefilter was applied. -
SM-11186: updated
GET /organisations/{organisationReference}to return the following contact fields. Please note these contact fields will only be returned if the user's organisation reference matches that of organisation.primary_contact_nameprimary_contact_numberprimary_contact_emailprimary_admin_nameprimary_admin_numberprimary_admin_email
-
SM-11624: Updated
GET /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}to returnjsm_requested_byas organisation name rather than organisation ID. -
SM-12058: Updated
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}to returnusrn_contains_hazardous_material. This boolean property will be true if the USRN associated with the work has been flagged to contain hazardous material via a material classification entry, and false if not. -
SM-11736: Updated
POST /works/{workReferenceNumber}/inspectionsin the following way:-
For Section 81 works records, only
section_81inspections/reinspections can be recorded. -
For regular works records,
section_81inspections/reinspections cannot be recorded.
-
For Section 81 works records, only
-
SM-11620: Added
POST /material-classifications/csvendpoint to enable exporting of details of material classifications. Material classification details are also added to DAMD responses. -
SM-11770: Includes the following changes:
-
POST /sample-inspection-targetsconstraints updated to allow atarget_cof 0 when less than two years worth (not including current FY) ofauto_calculatedannual inspection units exist. -
PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}constraints updated to allow atarget_cof 0 when less than two years worth (not including current FY) ofauto_calculatedannual inspection units exist.
-
-
SM-11623: Updated
GET /material-classificationsto return material classification map coordinates asmaterial_classification_centre_point. -
SM-12001: Updated
POST /permits/reinstatements-due/csvendpoint to correctly validate UTC dates converted from local time. -
SM-11975:
POST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsupdated so that if a site has an interim reinstatement a permanent reinstatement cannot be added against it, unless the new active permit has an excavation. If the active permit does not have an excavation, the returnedpermit_reference_numberwill be thepermit_reference_numberon the most recent reinstatement on the site. -
SM-11419: Includes the following changes:
-
PUT /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}/statusupdated to accept allNonComplianceResponseStatusenum members, exceptissuedandworks_completed_and_passed. The request body has been updated to makeresponse_detailsmandatory only when a response status ofwithdrawnorjoint_site_meeting_not_neededis submitted. The request body also contains a new, optionaljsm_suggested_datefield has been added, which is mandatory when a response status ifjoint_site_meeting_suggestedis provided. -
GET /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}updated to return a newjsm_statusofjsm_not_neededafter a promoter has declared a joint site meeting is not needed.
-
-
SM-11843:
POST works/{workReferenceNumber}/inspectionsupdated to automatically add inspection_categories for section 81 inspections (initial on first and follow up on subsequent). UpdatedGET works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}to return the new statuses, so that the first inspection returnssection_81_initialand subsequent inspections returnsection_81_follow_up. - SM-11800: All endpoints in Sampling API require Admin or StreetWorksAdmin roles. Highway Authority users without Admin roles can no longer access this API.
-
SM-12056: Fixed a bug where
GET /fixed-penalty-notices/files,GET /inspections/files,GET /works/files,GET /private-street-notices/filesandGET /section-74s/fileswere not returning files with an uppercase file extension. -
SM-12001: Added
REINSTATEMENTS_DUEtoCSVExportTypeResponseenum to be returned onGET /csv-exportsendpoint. -
SM-11618: Added new endpoint
GET /material-classificationsto list all the material classifications in descending order (most recently created are first). -
SM-11422: Includes the following changes:
-
Updated
GET /inspectionsto support the newpromoter_outcome_statusofjoint_site_meeting_neededand the newha_outcome_statusofreviewing_dispute,no_agreementandinspection_withdrawn. -
Updated
GET /non-compliancesto support the newha_response_statusandha_outcome_statusofaccept_suggestion.
-
Updated
-
SM-11644: Updated client to enable
GET /permitsto return and be filtered by theunder_assessmentstatus. -
SM-11891: Updated
GET /pbi-sample-inspectionsto returnsample_expiry_date. It can also now be filtered bysample_expiry_date_fromandsample_expiry_date_to, and sorted by providing eitherwork_end_dateorsample_expiry_datein thesort_column. The default sorting is now by sample expiry date, ascending. -
SM-11422: Includes the following changes:
-
PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/statusupdatedinspection_response_typeto include the following promoter response types -joint_site_meeting_needed. And the following HA inspection response types -reviewing_dispute,inspection_withdrawnandno_agreement. Note - Aninspection_response_typeofjoint_site_meeting_neededwill prevent the inspection from being auto-accepted. -
PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdrawupdated to withdraw the linked non-compliance when withdrawing an inspection linked to only one non-compliance. -
GET /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}updated to support thepromoter_response_statusandha_response_statusofaccept_suggestion.
-
-
SM-11611: New endpoint
POST /material-classificationadded to allow for the creating of material classifications. -
SM-11418: Added new endpoint
PUT /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}/statusallow a HA to update the response status for a given non-compliance. -
SM-11616: Added new endpoint
GET /material-classifications/{materialClassificationReferenceNumber}to retrieve details of a single material classification. -
SM-11981: Re-named two properties of the
InspectionResponseas used inGET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}and theInspectionSummaryResponseas used inGET /works/{workReferenceNumber}andGET /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}Details below -ha_reason_for_acceptingrenamed toha_response_detailspromoter_reason_for_disputerenamed topromoter_response_details
-
SM-11891: Updated
PbiSampleInspectionSummaryResponseto returnsample_expiry_date. -
SM-6150: New endpoint
POST /permits/reinstatements-due/csvto generate a CSV of permits which require, but do not have, a reinstatement registered. This endpoint requires either theregistration_due_date_fromor theregistration_due_date_tofilter to be provided. If both of these filters are provided at least one must be the current date. -
SM-11422: Includes the following changes:
-
Updated
POST /inspections/csvto support the newpromoter_outcome_statusofjoint_site_meeting_neededand the newha_outcome_statusofreviewing_dispute,no_agreementandinspection_withdrawn. -
Updated
POST /non-compliancesto support the newha_response_statusandha_outcome_statusofaccept_suggestion.
-
Updated
-
SM-11644: Updated client to enable
POST /permits/csvto be filtered by theunder_assessmentstatus. -
SM-11981: Includes the following changes:
- Re-named two properties of the returned CSV for
GET inspections/csv. Details below -- 'Promoter reason for dispute' renamed to 'Promoter response details'.
- 'Highway authority reason for accepting' renamed to 'Highway authority response details'.
- Re-named two properties of the Download all my data Inspection CSV. Details below -
- 'promoter_reason_for_dispute' renamed to 'promoter_response_details'.
- 'ha_reason_for_accepting' renamed to 'ha_response_details'.
- Re-named two properties of the returned CSV for
-
SM-11891: Updated
POST /pbi-sample-inspections-due/csvto allow filtering bysample_expiry_date_fromandsample_expiry_date_to. The resulting CSV now also contains a sample expiry date field. -
SM-11622: Added new
GET /material-classificationsendpoint to retrieve material classifications within a given bounding box. -
SM-11902: Updated
POST /sample-inspections/end-quarterto insert zeroed performance statistics for any promoter that has no progress made on their target during a quarter to enable HAs to end the quarter. -
SM-11804: New endpoint
/GET /permits/reinstatements-duehas been added to show a summary of permits which require, but do not have, a reinstatement registered. This endpoint requires either theregistration_due_date_fromor theregistration_due_date_tofilter to be provided. If both of these filters are provided at least one must be the current date. Other filters includework_reference_number,organisation,work_end_date_from, andwork_end_date_to. -
for SM-11818: New endpoint
GET /inspections/filesadded to returnfile_idandnameof files associated with the giveninspection_reference_number. Results can be filtered byimagesanddocuments. -
SM-11832: Removed duplicate filter usage for geographical areas from
GET /reinstatements/expiring-interimsto prevent errors. -
SM-8319: Updated
PUT /works/{workReferenceNumber}/stopso that permits indicated to be under assessment are not automatically granted when works are completed. - SM-11884: Updated reinstatement constraints to allow creation of reinstatements against cancelled works with previous eligible permits.
-
SM-11357: Includes the following changes:
POST /worksupdated to prevent the creation of a works on a private street. If the USRN provided is a partially private street, thenroad_categorymust be provided and must not be 9 (private street).POST /forward-plansupdated to prevent the creation of forward-plans on a private street. If the USRN provided is a partially private street, thenroad_categorymust be provided and must not be 9 (private street).POST /works/{workReferenceNumber}/permitsupdated to prevent the raising of a permit on a private street. If the USRN provided is a partially private street, thenroad_categorymust be provided and must not be 9 (private street).DELETE /files/{fileId}updated to prevent the deletion of files linked to a private street notice.GET /files/{fileId}updated to ensure users can only view authorised private street notice files.
-
SM-11866: Updated
POST /api-notifications/unsubscribe. In the event a user does not confirm a subscription within 48 hours it is removed from SNS. In this event the subscription will also be removed from the database. Users may usePOST /api-notifications/subscribeto set up their subscription again. -
SM-11821: New endpoint
GET /private-street-notices/filesadded to returnfile_idandnameof files associated with the givenprivate_street_reference_number. Results can be filtered byimagesanddocuments. -
SM-11817: New endpoint
GET /fixed-penalty-notices/filesadded to returnfile_idandnameof files associated with the givenfpn_reference_number. Results can be filtered byimagesanddocuments. -
SM-11824: New endpoint
GET /section-74s/filesadded to returnfile_idandnameof files associated with the givensection_74_reference_number. Results can be filtered byimagesanddocuments. -
SM-11931: Updated
GET /previous-annual-inspection-unitsto ensure that only units for completed financial years are returned when no financial year start date is provided. -
SM-11417: New endpoint
POST /non-compliances/csvto generate a CSV of non-compliances. -
SM-11806: Updated the
POST works/{workReferenceNumber}/inspectionsnow increments non compliance inspections count when posting linked non compliance inspections. -
SM-11769: Updated the
PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdrawendpoint so that when an inspection is withdrawn, the PBI quarterly progress for completed inspections in the current quarter is decremented accordingly. Re-generating PBI samples will provide an additional sample inspection if the withdrawn inspection was a Category B/C inspection. Note that the withdrawn inspection will not be removed from the performance statistics. -
SM-11850: Updated
POST /works/{workReferenceNumber}/sitesandPOST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsto setreinstatement_registration_due_dateasnullto the provided permit or active permit, if none provided, if thereinstatement_typeisexcavation. -
SM-11649: Updated the
POST /worksendpoint. Latest Work API change only. Immediate works validation now correctly stops works creation longer than 5 years. -
SM-11802: Updated the
GET /private-street-noticesendpoint to include thesort_columnfield to enable sorting via thedate_created,proposed_start_date, orproposed_end_datefields. -
SM-11806:
GET /non-compliancesnow returns the number of linked inspections for non compliances. -
SM-11519:
PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}now allows for the inspection rate to be increased to 100%, in increments of 5%. -
SM-11029: Updated the
GET /works/{workReferenceNumber}/startendpoint so that when a work is started after the proposed end date but before the validity period end date, then the end date slides correctly. -
SM-11648: Updated the
GET /inspectionsendpoint to no longer return information about scheduled inspections. Theinspection_response_typeproperty has been removed from the request, andinspection_response_type,inspection_response_type_stringandreinspection_date_timeproperties have been removed from the response. -
SM-11436: Updated
GET /non-complianceswith the following changes:-
Added two new filters,
non_compliance_date_created_fromandnon_compliance_date_created_to. -
Updated
NonComplianceSummaryResponseto include thework_reference_numberof the work associated with each non-compliance.
-
Added two new filters,
-
SM-11648: Updated the
POST /inspections/csvendpoint to remove theinspection_response_typeproperty from the request. The resulting CSV will no longer contain information about scheduled inspections. -
SM-11783: Removed the optional
org_reffrom thePOST /api-notifications/subscribeandPOST /api-notifications/unsubscribeendpoints. This means that when a contractor subscribes to notifications they will receive notifications from all the organisations they contract for. -
SM-6087: Updated the
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentendpoint to audit the correctobject_reference,internal_user_identifier, andinternal_user_namefor the superseded PAA when a PAA is progressed to a PA and granted by the HA. -
SM-11416: New endpoint
GET /non-compliancesto return non-compliances. Filters can be applied to return non-compliances based onnon_compliance_reference_number,non_compliance_status,ha_response_statusandpromoter_response_status. -
SM-7524: Added new endpoint
POST /api-notifications/unsubscribe. This will allow users to stop receiving notifications of events regarding their organisation. - SM-7524: Updated organisation contract functionality to automatically remove any existing event subscriptions between the contractor and contracting organisations when the contract is removed.
-
SM-11723: Updated the following endpoints to support automatically adjusting inspection rate on quarter end based on sampling performance:
POST /sample-inspections/end-quarterwill now automatically adjust inspection rate for the next quarter's targets based on the calculated failure rate. If a target has been automatically adjusted, it will have itstarget_a,target_bandtarget_cvalues set to 0. These must be updated before generating samples.POST /sample-inspections/start-quarterwill now allow starting a quarter with no targets set.POST /sample-inspectionswill now prevent samples being generated if any targets that have been automatically adjusted have not been updated.
-
SM-11565: Updated
PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to allow updating a target if samples have been generated or progress has been made against a target. Added a new constraint toPUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to ensure the new value oftarget_amust be greater than the value of the current completed inspections and the new values oftarget_bandtarget_cmust be greater than the value of the current completed inspections plus the number of generated samples for each category. -
SM-11550: Updated the
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}endpoint to returnreinstatement_registration_due_dateas part of the response. -
SM-7523: Added new endpoint
POST /api-notifications/subscribe. This will allow users to create a subscription to the events which occur regarding their organisation. Contractors will provide anorg_refproperty to specify which organisation they wish to subscribe to. -
SM-11545: The endpoint
GET /previous-annual-inspection-unitshas been updated to return the inspection units in ascending order (oldest units first). Also thePOST /sample-inspection-targetsandPUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}endpoints have been updated to replaceinspection_units_year_oneandinspection_units_year_tworequest properties withannual_inspection_units. This new property accepts an array of inspection units as an object with afinancial_year_start_date,annual_inspection_unitsandis_auto_calculated. -
SM-8167: Updated
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/statusto prevent users from settingalteration_statustogranted_with_duration_challengewhen the change request is not a Works extension. -
SM-11364: Updated to ensure
road_categorywill always be returned in aPrivateStreetResponse. -
SM-11684: Updated
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/statusto prevent users from addingassessment_commentswhenalteration_statusis granted. -
SM-11652: Updated
GET /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}endpoint to return the following HA and promoter response fields as part of thelinked_inspectionsfield:- ha_response_status
- ha_response_status_string
- ha_response_status_change_date
- ha_reason_for_accepting
- promoter_response_status
- promoter_response_status_string
- promoter_response_status_change_date
- promoter_reason_for_dispute
-
SM-11524: Updated
GET /sample-inspection-quotaendpoint to return a quota of 1 when low average inspection units are provided which would otherwise return a quota of 0. - SM-11602: Minor performance refactor to workstream matching for promoter and contractor users. Affects all endpoints.
-
SM-11221: Updated
GET /expiring-interimsto return the correct expiring interim reinstatements based on confirmed business criteria. -
SM-11221: Updated
POST /reinstatements/expiring-interims/csvto return the correct expiring interim reinstatements based on confirmed business criteria. -
SM-11503: Updated
POST /usersandPOST /re-onboard-userto increase the minimum limit for passwords to 12 characters. -
SM-8303: The endpoints
GET /activitiesandGET /section-58snow return a validation error if a providedha_organsation_nameis over 100 characters long. -
SM-11551: New endpoint
POST /reinspections/csvto generate a CSV of reinspections. -
SM-8303: Endpoint
POST /section-58s/csvnow returns a validation error if a providedha_organsation_nameis over 100 characters long. - SM-11669: All endpoints checked/updated to ensure supplied reference numbers are case insensitive.
-
SM-11414:
GET /works/{workReferenceNumber}will now return a summary of any associated Non-Compliances as part of the response. Data returned innon_compliancesare:-
non_compliance_reference_number -
non_compliance_date -
non_compliance_status -
non_compliance_status_string
-
-
SM-11362: New endpoint
PUT /works/{workReferenceNumber}/private-street-notices/{privateStreetReferenceNumber}/cancelto cancel issued private street notices. -
SM-8407: The following endpoints will validate coordinates, when providing a point, to ensure no more than two coordinates are supplied:
-
POST /activity -
POST /ancillary-informations -
POST /forward-plans -
POST /historic-works/fixed-plenty-notices -
POST /historic-works/inspections -
POST /non-notifiable-works/sites -
POST /private-street-notices -
POST /section-81-works/section-81s -
POST /works/{workReferenceNumber}/sites -
POST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatements
-
-
SM-11361: New endpoint
POST /private-street-notices/csvto generate a CSV of private street notices. 'Download all my data' has also been updated to include the following tables:private_streetprivate_street_location_typeprivate_street_status
-
SM-11519:
PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}now allows for the inspection rate to be decreased to 20%, in increments of 5%. - SM-11533: Only passed non-compliance follow up or follow up completion inspections resolve a non-compliance. Non-compliances cannot currently be raised in the Production Street Manager environment therefore there will be no non-compliance to resolve.
-
SM-11360: New endpoint
GET /private-street-noticesto return private street notices. Filters can be applied to return private street notices based onprivate_street_reference_number,private_street_statusand date started, ended and created. -
SM-11584: New endpoint
GET /previous-annual-inspection-unitsto retrieve previous three completed years' annual inspection unit data for a given promoter. -
SM-9101: Updated validation for
POST /works/{workReferenceNumber}/permitsto provide meaningful error whenworks_coordinatesare missing. -
SM-11359: Updated
GET /works/{workReferenceNumber}endpoint to return private street notice summary information when a private street notice is associated with the works. -
SM-11420: Updated
POST /works/{workReferenceNumber}/permitsendpoint to allow linking a non-compliance to a permit via anon_compliance_reference_number. Non-compliances cannot currently be raised in the Production Street Manager environment and as such, non-compliance reference numbers should not be provided via this endpoint until further notice. -
SM-11223: Updated
GET /reinstatements/expiring-interimsto use static database created using the previous day's backup (as used for DAMD) to retrieve data. This will mean that any updates done in the current working day will not be included. -
SM-11489: New endpoint
GET /worksto retrieve either an exact match or 5 closest matches based onwork_reference_numberandswa_codesupplied. -
SM-11223: Updated
POST /reinstatements/expiring-interims/csvto use static database created using the previous day's backup (as used for DAMD) to retrieve data. This will mean that any updates done in the current working day will not be included. -
SM-11305: Added new endpoint
GET /reinspectionsto return all scheduled inspections (reinspections) associated with a works record. -
SM-11356: Added new endpoint
POST /private-street-noticesto allow the creation of a private street notice. A private streetusrnmust be provided androad_categorymust be9(private street) if provided. -
SM-11277: Updated
POST /works/{workReferenceNumber}/startendpoint to correctly slide end dates for works lasting less than 24 hours when the work start is within 24 hours of the proposed end date. -
SM-11537: Updated
POST /works/{workReferenceNumber}/sitesandPOST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsto accept a new optionalpermit_reference_numberfield to allow a reinstatement to be created against a specific permit on a work. -
SM-11415: Added new endpoint
GET /works/{workReferenceNumber}/non-compliances/{nonComplianceReferenceNumber}for upcoming non-compliance functionality. -
SM-11538: Added new endpoint
GET /works/{workReferenceNumber}/private-street-notices/{privateStreetReferenceNumber}to retrieve a private street notice. -
SM-8497: Error message when the
swa_codeis missing forPOST /section-58s/csv,POST /permits/csv,POST /section-74s/csvandPOST /alterations/csvupdated to be more descriptive. -
SM-11413: Updated
POST /works/{workReferenceNumber}/inspectionsendpoint to accept a new optional fieldnon_compliance_reference_numberfor upcoming non-compliance functionality. -
SM-11228: Updated
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusto remove associated ancillary information when a permit is cancelled. -
SM-11449: Updated
POST /sample-inspectionsto omit works when generating samples if their most recent inspection has failed. -
SM-11025: Updated
PUT/works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/statusandPUT/works/{workReferenceNumber}/permits/{permitReferenceNumber}/current-traffic-management-typeto includeinternal_user_nameandinternal_user_identifieras part of their request body. -
SM-11010: Updated
POST /generate-samplesto no longer generate samples that would exceed the selected sample inspection rate after sample inspections had been marked as completed. -
SM-11226: Updated
POST works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsto calculate inspection units if the Permit has anactual_end_date. Also as part of this change the following endpoints were updated to check foractual_end_datebefore calculating inspection units:PUT /works/{workReferenceNumber}/excavation-carried-outPUT /works/{workReferenceNumber}/startPUT /works/{workReferenceNumber}/revert-start
- SM-11446: Updated the Swagger docs definition for the
POST /filesendpoint to correctly showswaCodeas a query param rather than as a request body property. No functional changes to the interface. -
SM-10936: Updated
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/current-traffic-management-typeto restrict updating the current traffic management type to one that is higher than what was agreed on in the permit. -
SM-11174: Updated
InspectionResponseto return new mandatory fieldsauto_acceptance_due_dateandis_auto_accepted. UpdatedInspectionSummaryResponseto return new optional fieldsauto_acceptance_due_dateandis_auto_accepted. -
SM-7424: Updated
PUT /works/{workReferenceNumber}/fixed-penalty-notices/{fpnReferenceNumber}/statusto allow HAs to withdraw already accepted FPNs. -
SM-11406: Updated endpoint
GET /csv-exportsto no longer returnfilters. -
SM-11174: Updated
GET /inspectionsendpoint to accept new optionalis_auto_acceptedparameter to filter for auto-accepted inspections, and to return new optional fieldsauto_acceptance_due_dateandis_auto_accepted. -
SM-11345: Updated
GET /pbi-sample-inspection-targetsendpoint to take aquarter_start_datequery param that will return details on the quarter that has the same start date as the param or current/active quarter if not provided, will also returnend_dateif set. -
SM-11174: Updated
POST /inspections/csvendpoint to accept new optionalis_auto_acceptedparameter to filter for auto-accepted inspections, and to return new optional fieldsauto_acceptance_due_dateandis_auto_acceptedin the returned CSV. - SM-11185: Updated the version of the component that handles http status codes.
- SM-11185: Updated the version of the component that handles http status codes.
-
SM-11327: Added new endpoint
POST /sample-inspections/revert-end-quarterto allow a HA to revert the end of a sample inspection quarter. - SM-11185: Updated the version of the component that handles http status codes.
-
SM-7963: Updated
POST /works/{workReferenceNumber}/inspectionsto ensure sites are mandatory for failedinvestigatory_worksinspections when a reinstatement exists on works. -
SM-11354: Renamed investigatory inspection failure reason enums.
core_sample_air_voidtoinvestigatory_air_voidcore_sample_material_typetoinvestigatory_material_typecore_sample_layer_depthtoinvestigatory_layer_depthcore_sample_contaminationtoinvestigatory_contaminationcore_sample_damagedtoinvestigatory_other
-
SM-11371: Updated
POST /works/{workReferenceNumber}/inspectionsandPOST /historic-works/inspectionsvalidation to handle investigatory inspection and to ensure failure reasons are valid for the other InspectionTypes. -
SM-8434: Updated
GET reinstatement/expiring-interimsto enforce a date range of one year onregistration_date_fromandregistration_date_from, as well asend_date_fromandend_date_to. -
SM-8434: Removed
GET /activity-dataendpoint. -
SM-7688: Updated
GET inspectionsto supportinvestigatory_worksinspection type. -
SM-10965: Updated
GET /works/filesto no longer return a paginated list of files. Additionally filterfile_typeadded to filter file name extension byimage_onlyordocument_only. -
SM-7688: Updated the following endpoints to support
investigatory_worksinspection type.GET works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}POST works/{workReferenceNumber}/inspectionsPUT works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdrawPUT works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/statusDELETE works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}
-
SM-8561: Updated
GET /works/{workReferenceNumber}/historyto correctly return a number ofevent_type's, includingsample_inspection_issued -
SM-11229: Removed
is_covid_19_responsefromWorkCreateRequestandPermitCreateRequest.is_covid_19_responsewill still be returned for permits created before this release but is removed from any created from this release on. -
SM-8561: Updated
GET /works/updatesto correctly return a number ofevent's, includingsample_inspection_issued -
SM-7688: Updated
POST inspections/csvto supportinvestigatory_worksinspection type. -
SM-11229:
- Updated
POST /fees/csvto makefee_report_formatmandatory - Removed
is_covid_19_responsefrom all exports it was included in
- Updated
-
SM-11155: Updated
PUT /works/{workReferenceNumber}/stopto filter out permits with the status ofcancelledwhen calculatinginspection_units. -
SM-11187: Added a new endpoint
POST /works/filesto return theidandnameall files associated with a work. -
SM-10966: Updated
POST /comments/csvto add two new additional filtersis_incomingandis_outgoing.is_incomingwill only return comments from outside the users organisation.is_outgoingwill only return comments from within the users organisation. -
SM-11180: All POST endpoints ending in
/csvnow have an optional parameterexport_descriptionwhich is limited to 50 characters and added as a description of a csv export. -
SM-10966: Updated
GET /commentsto add two new additional query paramsis_incomingandis_outgoing.is_incomingwill only return comments from outside the users organisation.is_outgoingwill only return comments from within the users organisation. -
SM-11180:
GET /csv-exportsnow returns the following new optional properties for each export:export_descriptioncsv_export_typecsv_export_type_stringfilters
-
SM-11052: Updated
POST /works/{workReferenceNumber}/inspectionsto no longer count unable to complete category A inspections against sample inspection target progress when adding a new category A inspection -
SM-11061: The
POST /works,POST /works/{workReferenceNumber}/permitsendpoints now defaults theis_covid_19_responsevalue to false because the COVID measures are no longer applicable. -
SM-10878: Inspections created via the
POST /works/{workReferenceNumber}/inspectionsandPOST /historic-works/inspectionsendpoints will now set an auto-acceptance due date in the background. -
SM-11066: Updated
POST /authenticateto send an email when a user isdisabledto tell them to contact their admin. - SM-10910: Updated the following endpoints to allow 1500 characters for the comment property on permit conditions:
POST works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsPOST /worksPOST /works/{workReferenceNumber}/permitsPOST works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/impose
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/statusto allow 1500 characters on theassessment_commentsproperty. And updatedPUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentto allow 1500 characters on theadditional_commentsproperty. -
SM-8539: Removed the following deprecated endpoints:
POST /sample-inspection-targetsGET /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}/closePOST /sample-inspection
sample_inspectionsproperty from theWorkResponse. -
SM-10871: Increased
internal_user_namevalid length to 100 characters. Increasedusernameproperty ofinspectionCreateRequestandhistoricInspectionCreateRequestvalid length to 100 characters. - SM-7076: Updated the version of the component that handles the http status codes.
-
SM-8555: Updated
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/ancillary-informationsto verify the providedusrnsexist. This endpoint will now also return a404 Not founderror along with the usrn(s) which do not exist, if any. -
SM-11063: Refused permits are no longer included in the total inspection unit calculation when a work is stopped or when updating a work about an excavation being carried out. This affects:
PUT /works/{workReferenceNumber}/excavation-carried-out,PUT /{workReferenceNumber}/stop,PUT /{workReferenceNumber}/revert-stop. -
SM-8539: Removed the following deprecated endpoints:
GET /sample-inspection-targetsGET /sample-inspections
-
SM-8539: Removed the deprecated endpoint
POST /sample-inspections-due/csv. -
SM-11026: Updated
POST /sample-inspectionsso works with previous category B or C inspections will be ignored. This will mean that duplicates do not need to be managed manually by users. -
SM-11031: Fixed a bug in
GET /sample-inspection-quota,POST /sample-inspection-targetsandPUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to ensure the yearly average inspection units are consistently rounded -
SM-10961: Minor bug fix on
GET /permits. The returned value ofdate_createdis now the permit created date instead of the latest permit version created date. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-5431: Changed the error message when the user does not have read access from "Access restricted" to "Unauthorised. Workstream or Organisation access is required." on the following endpoints:
GET /works/{workReferenceNumber}/fixed-penalty-notices/{fpnReferenceNumber}GET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}GET /works/{workReferenceNumber}/section-74s/{section74ReferenceNumber}GET /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}GET /works/{workReferenceNumber}/sites/{siteReferenceNumber}GET /works/{workReferenceNumber}/all-sitesGET /works/{workReferenceNumber}GET /works/{workReferenceNumber}/historyGET /files/{fileId}
-
SM-10973: Updated
PUT /works/{workReferenceNumber}/sites/{siteReferenceNumber}/subsumeto no longer set inspection units to zero if there was only one site on the work. -
SM-8451: Updated
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentto prevent multiple permit modification requests being made via the API. -
SM-10855: Updated
POST /fee-matrixto create an audit entry when a fee matrix is created or updated. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-7638: Updated
POST /fees/csvendpoint with 2 new optional request parameters:fee_report_formatandswa_code_filter. Thefee_report_formatproperty can only be set tosingle_org_one_csvat the moment. Usingsingle_org_one_csv&swa_code_filtercan give API users the functionality to download a CSV for one org. -
SM-7637: Updated
POST /fees/csvto accept a new optionalfee_report_formatvalue ofall_orgs_multiple_csvs. This will generate a ZIP file containing a CSV for each of the organisations contained in the report. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-9581: Fixed a bug in
GET /reinstatements/expiring-interimsto ensure it returns all expiring interim reinstatement for a work when there are multiple sites, some with permanent reinstatement. -
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. - SM-10880: Highway authority users with the Street Works Admin role will now be able to manage Performance Based Inspections (PBI). Promoters with the Street Works Admin role will now be able to view PBI sample inspection targets.
-
SM-8602: Updated dependency
class-validatorto version14.0.0. As a result, validation error messages may differ from previous messages. -
SM-8302: Removed
PUT works/{workReferenceNumber}/inspection-unitsendpoint. Also removed theinspection_unitsproperty from the following endpoints:POST /works/{workReferenceNumber}/sitesPOST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatementsPOST /non-notifiable-works/sites
-
SM-8488: The following endpoints relating to deprecated sample inspections functionality will now return a
410 Goneresponse code:POST /sample-inspection-targetsGET /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}/closePOST /sample-inspection
-
SM-8360: Updated
POST /works/{workReferenceNumber}/inspectionsendpoint to prohibit:- raising a category A inspection unless an active target is present that has not yet met the quota for category As;
- raising a category B inspection unless a category B sample is present on the work;
- raising a category C inspection unless a category C sample is present on the work.
POST /historic-works/inspectionsendpoint to prevent raising a category A, B or C inspection. -
SM-8488: The following endpoints relating to deprecated sample inspections functionality will now return a
410 Goneresponse code:GET /sample-inspectionsGET /sample-inspection-targets
GET /pbi-sample-inspectionsGET /pbi-sample-inspection-targets
-
SM-8488: The
POST /sample-inspections-due/csvendpoint relating to deprecated sample inspections functionality will now return a410 Goneresponse code. The newPOST /pbi-sample-inspections-due/csvendpoint should be used instead. -
SM-10889: Newly created works will now include
street_line.GET /works/{workReferenceNumber}andGET /works/{workReferenceNumber}/permitReferenceNumberwill now returnstreet_line. -
SM-10866: Updated
POST /sample-inspection-targetsandPUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to calculate the minimum amount of targets that can be scheduled across categories A, B and C as 5% of the average inspection units divided by four. This new rule applies if the average inspection units is greater than or equal to 80. -
SM-10908: Updated
POST /sample-inspections/end-quarterto prevent ending of a quarter while a generate samples job is in progress. -
SM-8531: Updated the 'Download all my data' export to include
pbi_sample_inspectionandpbi_sample_inspection_targettables. Additionally removed thesample_inspectiontable. -
SM-10852: Updated validation on
POST /sample-inspection-targetsandPUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}endpoints to prevent creating or updating a target with all targets set to zero. -
SM-7737: Expired ASDs will no longer be returned within the response of
GET /nsg/streets/searchandGET /nsg/streets/{usrn}. -
SM-5049: Updated
GET /commentsto include optional query params forwork_reference_numberandauthor_email_address. -
SM-5049: Updated
POST /comments/csvto include optional query params forwork_reference_numberandauthor_email_address. -
SM-8675: Changed the SQL query used by the
POST /reinstatements/expiring-interims/csvendpoint to be more performant and excludes subsumed sites. This aligns with the update made to the Reporting API (SM-8614). -
SM-10872: Updated
PUT /works/{workReferenceNumber}/excavation-carried-outendpoint to fix a bug so that inspection units are only calculated when a work has been completed and has a valid actual end date. -
SM-8614: Changed
GET /reinstatements/expiring-interimsto improve the API performance by enhancing the SQL query. - SM-8163: Add a 30s timeout to party api endpoints
-
SM-8654: Changed
PUT /works/{workReferenceNumber}/excavation-carried-outto recalculateinspection_unitswhen theexcavation_carried_outvalue differs between the active permit and request. Also madeGET /workReferenceNumberto always returninspection_unitsand changed when creating a work to default the number ofinspection_unitsto 0 instead of 1. -
SM-8670: Updated
POST /sample-inspection-targetsto set thefinancial_quarter_idto the ID of the active quarter if one has been started. -
SM-9190: Updated
POST /sample-inspections/end-quarterto save the current date and time at which the quarter was ended. -
SM-9580: Updated
POST /sample-inspections/end-quarterto correctly retrieve theorganisation_id's of the organisations for which targets had been created when copying targets when the quarter was ended. -
SM-8558: Updated
jsonwebtokenversion -
SM-8641: Updated
POST /ancillary-informationsto no longer requirelocation_descriptionas a mandatory field whenancillary_info_typeisportable_traffic_signals_or_other_traffic_controls -
SM-6385: Bug fix addressing issue on endpoint
PUT {workReferenceNumber}/startwhere the sliding date calculation would estimate the end date to be on a weekend when works was started after the proposed start date in some scenarios. Now the end date slides to accommodate the later starting date. -
SM-8558: Updated
jsonwebtokenversion -
SM-8431: Added additional optional filtering to the
POST /inspections/csvendpoint. New filter params includes:promoter_outcome_statusha_outcome_status
-
SM-8558: Updated
jsonwebtokenversion -
SM-8558: Updated
jsonwebtokenversion -
SM-8558: Updated
jsonwebtokenversion -
SM-8558: Updated
jsonwebtokenversion -
SM-8431: Added additional optional filtering to the
GET /inspectionsendpoint. New filter params includes:promoter_outcome_statusha_outcome_status
-
SM-8558: Updated
jsonwebtokenversion -
SM-8558: Updated
jsonwebtokenversion -
SM-8269: Updated
GET /ancillary-informationsendpoint to return optional fieldswork_reference_numberandpermit_reference_number. -
SM-8367: Added new
GET /pbi-sample-inspection-targetsendpoint to return a list of active sample inspection targets for the user's organisation. -
SM-8367: Added new
GET /pbi-sample-inspectionsendpoint to return a list of sample inspections due. -
SM-8369: Added new
POST /pbi-sample-inspections-due/csvendpoint to generate a CSV of sample inspections due. -
SM-7635: Updated endpoint
POST fees/csvto includestandard_fee,costandchallenge_reasonin CSV export and also reordered columns. -
SM-8391: Bug fix addressing issue where
GET/ forward-plansrequests were returningupcoming-enumfornullvalues oftraffic_management_type. -
SM-7654: Updated endpoints
POST /works/{workReferenceNumber}/permits,PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/status,PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentto calculate thestandard_feeandtotal_costof the PAA, PA, and Change request. -
SM-8542: (BREAKING CHANGE):
POST works/{workReferenceNumber}andPOST works/{workReferenceNumber}/permitsnow supportsNCT03as a permit condition. -
SM-7443: Updated
POST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsto address a bug where a site can be changed from interim to permanent without creating a new phase. -
SM-8465: Added new
GET /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}endpoint to return aSampleInspectionTargetResponsecontaining information about an individual target. -
SM-8269: Added new
GET /ancillary-informationsendpoint to retrieve ancillary informations within a given bounding box. -
SM-8442:
AncillaryInfoSummaryResponseupdated to makedate_removedandancillary_info_removal_reasonoptional. The limit for ancillary informations has also been updated to be a maximum of 20 per permit, rather than 20 per work. -
SM-8499: Updated endpoint
GET /works/{workReferenceNumber}to return a new optionalpbi_sample_inspectionsproperty when issued PBI sample inspections exist for the Work. -
SM-8413: Updated
POST /works/{workReferenceNumber}/inspectionsto update PBI sample inspection target progress and sample inspection status when creating an inspection, also updated to prevent Cat B or C when scheduling another inspection as part of the create journey. UpdatedPOST /works/{workReferenceNumber}/scheduled-inspectionsto prevent Cat B or C inspections as thescheduled_inspection_category -
SM-8411: Updated endpoint
POST /section-58s/csvto make use ofswa_codeso that a contractor can export section 58s. -
SM-6390: Added additional optional filter param to the
InspectionCSVExportRequestmodel used by thePOST /inspections/csvendpoint. New filter param includes:inspection_category
- SM-6390: Added additional optional filtering to the
GET /inspectionsendpoint. New filter params includes:inspection_category
-
SM-8365: Added new endpoint
POST /sample-inspections/end-quarterto end a sample inspection quarter -
SM-8485: Updated validation on
POST /sample-inspection-targetsandPUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to allow targets of 0 when calculated quarterly quota is less than 20. -
SM-8308: Updated endpoint
GET /section-81sto ensuresection_81_severityandsection_81_severity_stringare now optional and will be returned asnullifsection_81_typeisunattributed_works_live_siteorunattributed_works_completed. -
SM-8402: Updated
GET /inspectionsto return new inspection outcome response fields:promoter_response_status_id,promoter_response_status_string,ha_response_status_idandha_response_status_string. Promoter fields are only returned ifpromoter_response_status_idis populated and Highway authority fields are only returned ifha_response_status_idis populated. -
SM-8378: Updated
POST /works,POST /works/{workReferenceNumber}/permitsandPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto makeclose_footpathmandatory -
SM-8435: Added new endpoint
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/ancillary-informations/{ancillaryInformationReferenceNumber}which will allow a Planner, Contractor OR Highway Authority to get an Ancillary Information and all associated data. -
SM-8402: Updated
GET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}to return new inspection outcome response fields:promoter_response_status_id,promoter_response_status_string,promoter_response_status_change_date,promoter_reason_for_dispute,ha_response_status_id,ha_response_status_string,ha_response_status_change_dateandha_reason_for_accepting. Promoter fields are only returned ifpromoter_response_status_idis populated, additionallypromoter_reason_for_disputeis only returned ifpromoter_response_status_idis a value ofinspection_outcome_disputed. Highway authority fields are only returned ifha_response_status_idis populated. -
SM-8358: Added new endpoint
DELETE /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to delete sample inspection targets -
SM-8384: Added new endpoint
PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}to update sample inspection targets -
SM-8356: Added new endpoint
POST /sample-inspections/start-quarterto start a sample inspection quarter -
SM-8362: Added new endpoint
POST /sample-inspectionsto start the sample inspection generation process. - SM-8398: Add a 30s timeout to sampling api endpoints
- SM-8164: Add a 30s timeout to street lookup api endpoints
-
SM-8375: Added new endpoint
PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/statuswhich will allow a Planner, Contractor or Highway Authority to update a failed inspection's outcome response. -
SM-8267: Added new endpoint
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/ancillary-informations/{ancillaryInformationReferenceNumber}/removewhich will allow a Planner or Contractor to mark Ancillary Information as removed. -
SM-8300:
PUT works/{workReferenceNumber}/inspection-unitsis now hidden. Inspection units are now automatically updated by the system. This endpoint will be removed in future. -
SM-8265: Added
current_traffic_management_type,current_traffic_management_type_refandcurrent_traffic_management_update_dateto open data notifications. -
SM-7860: Added new endpoint
POST /reinstatements/expiring-interims/csv. This endpoint will generate a csv of expiring interim reinstatements -
SM-7860: Added new endpoint
GET /reinstatements/expiring-interims. This endpoint will return expiring interim reinstatements only. -
SM-6893: Updated Work API for the
POST /works/{workReferenceNumber}/permitsendpoint so that when works_coordinates and permit_coordinates are missing from request and active permit respectively, an error 400 (Bad Request) is thrown rather than an error 500 (Internal Server Error). -
SM-8237: Added new a new
traffic_management_type,temporary_obstruction_15_minute_delay. Added new optional propertyclose_footpathtoWorkCreateRequestandPermitRequest.close_footpathcan be one of two enum values,yes_discussed_with_haorno. -
SM-8341: Added new endpoint
GET /fee-matrix/{organisationReference}to the Work API. This takes a Highway Authority SWA code and will return a Fee Matrix if one exists for the given organisation. -
SM-8266: Added new endpoint
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/ancillary-informationsto create an ancillary information for a permit. -
SM-8268: Updated endpoint
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}to retrieve all ancillary information for a permit. -
SM-8281: New Endpoint added to Sampling API that calculates the quarterly sample quota -
GET /sample-inspection-quota -
SM-8355: New Endpoint added to Sampling API that creates sample inspection targets -
POST /sample-inspection-targets - SM-8161: Add a 30s timeout to all data export api endpoints
- SM-6924: Created a new Sampling API. No usable endpoints have been created so far but will be added in future releases.
-
SM-8313: Changed the validation of the
permit_alteration_reference_numberparameter for theGET /alterationsendpoint from a max length of 105 characters to 100 characters. - SM-8160: Add a 30s timeout to all reporting api endpoints
-
SM-8193: Updated the
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/statusendpoint to only allowwork_type = permit_workswhen accepting unattributed works. -
SM-7800:
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}replaced withPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/imposefor changes imposed by HA officers. -
SM-8371: Deprecated the following endpoints:
POST /works/sample-inspection-targetsGET /works/sample-inspection-targets/{sampleInspectionTargetReferenceNumber}PUT /works/sample-inspection-targets/{sampleInspectionTargetReferenceNumber}PUT /works/sample-inspection-targets/{sampleInspectionTargetReferenceNumber}/closePOST /works/sample-inspection
-
SM-8278: Updated
PUT /works/{workReferenceNumber}/stopandPUT /works/{workReferenceNumber}/revert-stopto calculate inspection units for a work upon the works stop/revert stop being submitted. This will also update the inspection units on the work to reflect the calculated total, and update the annual inspection unit count for the promoter/HA organisation pairing for the financial year in which the works stop was registered. -
SM-8261: Includes the following changes:
- Updated exported Permit CSVs to include the additional columns 'Current traffic management type', 'current traffic management update date' 'Current traffic management emergency contact name' and 'Current traffic management emergency contact number'
- Updated the 'Download all my data' export to include the additional columns
current_traffic_management_type_id,current_traffic_management_update_date,current_traffic_management_emergency_contact_nameandcurrent_traffic_management_emergency_contact_numberinpermit.csv
-
SM-8159: Updated
GET /works/updatesandGET /healthcheckto timeout after 30 seconds. - SM-8162: Add a 30s timeout to all geojson api endpoints
-
SM-8229: Replaced
GET /nsg/streetsendpoint with newPOST /nsg/streets/searchendpoint. This endpoint accepts aStreetsRequestas its request body, containing an array of coordinates to search for. See 'Get streets endpoint (coordinates)' section in the Resource Guide for more information. -
SM-8135:
POST works/{workReferenceNumber}andPOST works/{workReferenceNumber}/permitsnow supportsNCT09das a permit condition. -
SM-8187: Removed
queryquery parameter from all endpoints exceptGET /activities. -
SM-8187: Removed
queryfromBaseCSVExportRequeston all endpoints. -
SM-7864: Added
site_subsumedandinspection_deletedtoAuditEventenum. Correctedpermit_duration_non_acceptance_responseto bepermit_duration_challenge_non_acceptance_response -
SM-7864: Added
site_subsumedandinspection_deletedtoAuditEventenum. Correctedpermit_duration_non_acceptance_responseto bepermit_duration_challenge_non_acceptance_response -
SM-8232: Includes the following changes:
- Added a new endpoint
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/current-traffic-management-typeto allow for the update of a permit's current traffic management details. - Updated
PermitResponseto returncurrent_traffic_management_type,current_traffic_management_type_string,current_traffic_management_emergency_update_date,current_traffic_management_emergency_contact_nameandcurrent_traffic_management_emergency_contact_number
- Added a new endpoint
-
SM-7932: Updated
GET /section-58s/listto add additionalsection_58_reference_number,USRNandstreet_descriptorfilters. -
SM-7864: Added
site_subsumedandinspection_deletedtoAuditEventenum. Correctedpermit_duration_non_acceptance_responseto bepermit_duration_challenge_non_acceptance_response -
SM-7932: Updated
POST /section-58s/csvto add additionalsection_58_reference_number,USRNandstreet_descriptorfilters. - SM-7351: Replaced component that handles HTTP header caching
-
SM-7971:
is_active_reinstatementandis_subsumedare now required properties inReinstatementReportingResponse -
SM-7903: Includes the following changes:
- Updated
GET /fixed-penalty-noticesto add additionalstreet_descriptor,usrnandwork_reference_numberfilters. - Updated
GET /inspectionsto add additionalstreet_descriptor,usrnandwork_reference_numberfilters. - Updated
GET /sample-inspectionsto add additionalstreet_descriptor,usrnandwork_reference_numberfilters.
- Updated
-
SM-7971:
is_active_reinstatementis now a required property inReinstatementResponse -
SM-6535: Added
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/imposeendpoint to allow HA users to impose a change on a permit -
SM-7903: Includes the following changes:
- Updated
GET /fixed-penalty-noticesto add additionalstreet_descriptor,usrnandwork_reference_numberfilters. - Updated
GET /inspectionsto add additionalstreet_descriptor,usrnandwork_reference_numberfilters. - Updated
GET /sample-inspectionsto add additionalstreet_descriptor,usrnandwork_reference_numberfilters.
- Updated
-
SM-5195: Updated
GET /section-81sto add additionalsection_81_typefilter and addedsection_81_typeandsection_81_type_stringto the response. -
SM-7623:
site_numberis no longer returned inReinstatementReportingResponse. -
SM-7904: Includes the following changes:
- Updated
GET /reinstatementsto add additionalstreet_descriptor,usrn,work_reference_numberandwork_reference_number_exactfilters. - Updated
GET /section-81sto add additionalstreet_descriptor,usrnandsection_81_reference_numberfilters.
- Updated
-
SM-7623:
site_numberis no longer returned as part offailure_reason_detailsinInspectionResponse. - SM-7779: Added rate limits to non-authenticated endpoints including authentication and file upload
- SM-7779: Added rate limits to non-authenticated endpoints including password reset
-
SM-5195: Updated
POST /section-81s/csvto add additionalsection_81_typefilter. -
SM-7904: Includes the following changes:
- Updated
POST /reinstatements/csvto add additionalstreet_descriptor,usrnandwork_reference_numberfilters. - Updated
POST /section-81s/csvto add additionalstreet_descriptor,usrnandsection_81_reference_numberfilters.
- Updated
-
SM-6792: Added
GET /works/updatesendpoint. This endpoint functions in the same way as theGET /works/updatesendpoint on the Reporting API, except for the following:previous_minutesparam has been removed- Maximum allowed range between
start_dateandend_datehas been reduced from 24 hours to 12 hours
-
SM-6792: Removed
GET /works/updatesandPOST /permits/searchendpoints. -
SM-7902: Includes the following changes:
- Updated
GET /forward-plansto add additionalstreet_descriptor,usrnandforward_plan_reference_numberfilters. - Updated
GET /alterationsto add additionalstreet_descriptor,usrnandpermit_alteration_reference_numberfilters.
- Updated
-
SM-7902: Includes the following changes:
- Updated
POST /forward-plans/csvto add additionalstreet_descriptor,usrnandforward_plan_reference_numberfilters. - Updated
POST /alterations/csvto add additionalstreet_descriptor,usrnandpermit_alteration_reference_numberfilters.
- Updated
-
SM-7622: Removed column 'Is environmental health notifiable?' from exported permit CSVs. This has also been removed from 'Download all my Data'
permit_version.csv -
SM-7238: Modified
GET /works/{workReferenceNumber}to make use ofsection_81_typeandsection_81_type_string. -
SM-7974: Updated
GET works/{workReferenceNumber}/permits/{permitReferenceNumber},GET works/{workReferenceNumber}/sites/{siteReferenceNumber}andGET works/{workReferenceNumber}to timeout after 30 seconds. -
SM-8012: Update POST
/works/{workReferenceNumber}/permitsto allow for an incoming permit to be accepted by the system if it has the sameworkstream_prefixas a permit currently on the works record. The permit can also be rejected if it has a differentworkstream_prefixthan the one currently on the works record. - SM-6924: Created a new Event API. No usable endpoints have been created so far but will be added in future releases.
-
SM-7953: Updated
GET /reinstatementsto excludereinstatement_dateandend_datewhen a site is subsumed and the reinstatement is active. -
SM-7901: Updated
GET /permitsto add awork_reference_numberfilter. -
SM-7953: Updated
GET /works/{workReferenceNumber}/sites/{siteReferenceNumber}to excludecompleted_date,reinstatement_dateandend_datewhen a site is subsumed. -
SM-8121: Fixed a bug that was stopping Highway Authority users imposing changes via
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationon works that did not haveemergency contactsbecause they were created on v3. Included in this was a small fix that stops Highway Authority users editing more than thepermit_conditionsin a HA imposed change. -
SM-7901: Updated
POST /permits/csvto add awork_reference_numberfilter. -
SM-6243: Update
GET /works/updatesto correctly populateevent_typewhen value isinspection_agreed_site_compliance. -
SM-7900: Updated
GET /permitsto add separatestreet_descriptor,usrnandpermit_reference_numberfilters. -
SM-8034: Updated
emergency_contact_nameandemergency_contact_numberto be required when traffic management type is multi-way signals or two-way signals. -
SM-7926: Updated
activity_typeto be mandatory inGetWorkCategoryRequest. -
SM-6290: Corrected column headers in the Download all my data forward_plan.csv to match data from
hs2_in_act_limits,hs2_highway_exemption_id,hs2_consultation_requested_response_date,hs2_forward_plan_work_type_idtohs2_forward_plan_work_type_id,hs2_in_act_limits,hs2_highway_exemption_id,hs2_consultation_requested_response_date. -
SM-7900: Updated
POST /permits/csvto add additionalstreet_descriptor,usrnandpermit_reference_numberfilters. -
SM-7905: Updated
POST /section-74s/csvto add additionalstreet_descriptor,usrnandsection_74_reference_numberfilters.querywill no longer filter on this endpoint. -
SM-7905: Updated
GET /section-74sto remove thequeryfilter and add separatestreet_descriptor,usrnandsection_74_reference_numberfilters. -
SM-7987: Increased character limit on
emergency_contact_number, inWorkCreateRequestandPermitRequest, from 20 to 100 characters. -
SM-7987: Increased character limits on
emergency_contact_nameandemergency_contact_number, inWorkstreamCreateRequestandWorkstreamUpdateRequest, to 100 characters. -
SM-7937: Changes to
POST /section-81-works/section-81sto allow adding of unattributed works via the API.section_81_severityandmade_safe_by_hawill be optional in the create request ifsection_81_typeisunattributed_works_live_siteorunattributed_works_completed. -
SM-7883: Updated
WorkCreateRequest,PermitRequestandPermitResponseto include the following optional properties:emergency_contact_nameemergency_contact_number
-
SM-7610: Added
DELETE /works/{workReferenceNumber}/fixed-penalty-notices/{fpnReferenceNumber}endpoint to allow HAs to delete an FPN. -
SM-7826: Updated
PUT /section-58s/{section58ReferenceNumber}/statusso only fields relevant to the updated status will be mapped. E.g.cancellation_reasonwill only be updated when the Section 58 update status iscancelled. -
SM-6802: Update
ReinstatementResponseto return a new optionalis_active_reinstatementproperty. -
SM-6802: Update
ReinstatementReportingResponseto return new optionalis_active_reinstatementandis_subsumedproperties. -
SM-7935: Update the following endpoints to include optional
organisationproperty to enable filtering CSV exports by organisation name in line with the recent changes to Reporting API endpoints./section-81s/csv/reinstatements/csv/fixed-penalty-notices/csv/permits/csv/inspections/csv/forward-plans/csv/alterations/csv/comments/csv/section-74s/csv/sample-inspections-due/csv
queryfilter on the/comments/csvis no longer ignored. This will now filter by the street, town, area and USRN associated with the works. -
SM-7882: Added
emergency_contact_name&emergency_contact_numberproperties toworkstreamCreateRequest,workstreamUpdateRequestandworkstreamResponseto allow admin and planner users to add emergency contact name and number for specific workstreams. -
SM-6801: Added new
PUT /works/{workReferenceNumber}/sites/{siteReferenceNumber}/subsumeendpoint to subsume a site. Changes made toSiteSummaryResponseandReinstatementResponseto indicate if a site has been subsumed. If a site is subsumedreinstatement_dateandend_datewill be null. Business rules changed to prevent adding a reinstatement to a subsumed site. -
SM-7944: SM-6801 introduced a possible breaking change where
reinstatement_dateandend_datewill be null if a site is subsumed. This has now been resolved and thereinstatement_dateandend_datewill retain their previous value when a site is subsumed. -
SM-7863: Changes made to
GetWorkCategoryRequestto include an optionalactivity_type. This will be used to progress a forward plan as a major if the duration is a major category and the activity type isoptional_permit_no_fee. The business rules have been updated to align with this change. -
SM-7844: Updated
GET /workstreamsendpoint to returnorganisation_referencepadded to four characters. -
SM-7907: Change made to
POST /permits/searchto increase the maximumpage_sizevalue from 250 to 500. -
SM-7724: Change made to
GET /sample-inspection-targetsto remove inspections with an outcome status ofunable_to_completefrom sample inspection completed count. -
SM-7804: Added
GET /permits/duration-challengesendpoint which returns permits that have been duration challenged. -
SM-7843: Added
GET /alterations/duration-challengesendpoint which returns permit alterations that have been duration challenged. -
SM-7823: Change made to
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/duration-challenge-reviewandPUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/duration-challenge-non-acceptance-responseto prevent the duration challenge non acceptance process from being started or continued if the related permit is closed. -
SM-7612: Added new
DELETE /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}endpoint to allow HAs to delete an inspection. -
SM-7760: Added
organisationquery parameter to theGET /section-74s,GET /section-81sandGET /reinstatementsendpoints to allow section 74s, section 81s and reinstatements to be filtered by organisation name. The parameter will filter section 74s, section 81s and reinstatements by Local Authority name for promoter / contractor users, and by Promoter name for HA users. -
SM-7735: Change made to
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/statusto allow alterations to be duration challenged when the reasonable period end date has changed. -
SM-7758: Added
organisationquery parameter to theGET /fixed-penalty-notices,GET /inspectionsandGET /sample-inspectionsendpoints to allow FPNs, Inspections and Sample Inspections to be filtered by organisation name. The parameter will filter by Local Authority name for promoter / contractor users, and by Promoter name for HA users. -
SM-7781: Added
page_sizequery parameter to theGET /works/updatesandPOST /permits/searchendpoints to allow a page size between 100 and 250 to be requested, it will default to 100 if not specified. -
SM-7770: Added
organisationquery parameter to theGET /alterationsandGET /forward-plansendpoints to allow forward plans and permit alterations to be filtered by organisation name. The parameter will filter forward plans and permit alterations by Local Authority name for promoter / contractor users, and by Promoter name for HA users. - SM-7759: Fixed a bug where previously inactive, disabled accounts are disabled again each evening after being re-invited and logging in.
-
SM-7716 (BREAKING CHANGE): Updated the maximum duration validation to prevent a works actual end date being more than 5 years after the actual start date as well as actual start date being more than 5 years after proposed start date. This affects
PUT /works/{workReferenceNumber}/stopandPUT /works/{workReferenceNumber}/startendpoints. -
SM-6970: Added a new
POST /sample-inspections-due/csvendpoint to trigger the generation of a CSV of sample inspections. -
SM-6834: Added
organisationquery parameter to theGET /permitsendpoint to allow permits to be filtered by organisation name. The parameter will filter permits by Local Authority name for promoter / contractor users, and by Promoter name for HA users. -
SM-6788: Added a new
POST /section-74s/csvendpoint to trigger the generation of a CSV of Section 74s. -
SM-7643: Added
GET /activitiesendpoint to allow a list of Activities to be retrieved -
SM-7670: Moved
permit_reference_numberproperty toSection74SummaryResponsewhich forms part of theWorkResponse. This means that the endpointGET /works/{workReferenceNumber}will now return the permit reference number associated with the Section 74. -
SM-6511: Added
DELETE /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatements/{reinstatementReferenceNumber}to allow the deletion of reinstatements created in error. Two new audit events will be returned in the work historyreinstatement_deletedandsite_deletedto record the deletions. Reference numbers of deleted sites/reinstatements will never be re-used, any subsequently created site/reinstatement will not take the reference number of the previously deleted site/reinstatement. Any inspections with non compliant sites will still show that the deleted site was non-compliant. -
SM-7596: Updated the
GET /works/{workReferenceNumber}/section-74s/{section74ReferenceNumber}endpoint to only return fields relevant to the current HA and Promoter statuses. -
SM-7651: Added
activity_typeandactivity_type_stringproperties toPermitSummaryResponsewhich forms part of the response from theGET /permitsendpoint. -
SM-6629: Added
work_reference_numberandpermit_reference_numberproperties toSection74SummaryResponsewhich forms part of the response from theGET /section-74sendpoint. -
SM-6511: The
GET /works/updatesendpoint will returnreinstatement_deletedandsite_deletedto relating to reinstatement/site deletions. -
SM-6785: Added a new
GET /section-58sendpoint to allow Section 58s within a given bounding box to be retrieved. -
SM-6788: Added a new
POST /section-58s/csvendpoint to trigger the generation of a CSV of Section 58s. -
SM-7626: Updated the
POST /section-58andGET /section-58/{section58ReferenceNumber}endpoints to be pluralised in line with other endpoints. They are nowPOST /section-58sandGET /section-58s/{section58ReferenceNumber}. No behavioural changes. -
SM-6884: Removed the
environmental_health_notifiableproperty from all requests and responses in the V3 API. V3 (and UI) will now default this to false. -
SM-7604: Updated the following endpoint URLs to include site reference number rather than site number:
GET /works/{workReferenceNumber}/sites/{siteNumber}is nowGET /works/{workReferenceNumber}/sites/{siteReferenceNumber}POST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsis nowPOST /works/{workReferenceNumber}/sites/{siteReferenceNumber}/reinstatements
404 NOT FOUNDerror. -
SM-7604: Replaced the
site_numbersproperty withsite_reference_numbersin theFailureReasonDetailsmodel.failure_reason_detailsprovided as part of the request to thePOST /works/${workReferenceNumber}/inspectionsendpoint should now includesite_reference_numbersrather thansite_numbers. -
SM-7604: Added
site_reference_numberto theSiteDetailsmodel. For all inspections created from this version onwards,site_reference_numberwill be returned as part of thefailure_reason_detailsproperty from theGET /works/${workReferenceNumber}/inspections/${inspectionReferenceNumber}endpoint. For inspections created before the release of this version,site_numberwill be returned instead. - SM-7604: Updated
WorkHistorySummaryResponseobject_referenceproperty to returnsite_reference_numberwhen a new site/reinstatement has been created. -
SM-6682: Added
GET /section-58sendpoint to allow a list of Section 58s to be retrieved -
SM-7552: A reference number will be generated when creating a site or adding a reinstatement to an existing site. The affected endpoints are as follows:
-
site_reference_numberandreinstatement_reference_numberwill now be returned byPOST /works/{workReferenceNumber}/sitesas part of theSiteCreateResponse -
site_reference_numberandreinstatement_reference_numberwill now be returned byPOST /non-notifiable-works/sitesas part of theNonNotifiableSiteCreateResponse -
reinstatement_reference_numberwill be returned byPOST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsas part of the newReinstatementCreateResponse -
site_reference_numberandreinstatement_reference_numberhave been added to theSiteSummaryResponseand will contain the values for the most recently created reinstatement.reinstatement_reference_numberhas also been added to theReinstatementResponse. These will now be returned byGET /works/{workReferenceNumber}/sites/{siteNumber}
-
- SM-6787: Added a new endpoint to enable HA users to change the status of a Section 58 -
PUT /section-58s/{section58ReferenceNumber}/status. -
SM-7552: Added
site_reference_numberandreinstatement_reference_numberproperties toReinstatementSummaryResponsemodels. This change affects theGET /reinstatementsendpoint - SM-6434: Added a new endpoint to the V3 Works API to enable HA Officer users to issue Section 58 warnings -
POST /section-58. - SM-6786: Added a new endpoint to the V3 Works API to enable users to get details of Section 58 warnings -
GET /section-58/{section58ReferenceNumber}. - SM-7509: The
WorkUpdateReportingResponsenext_updateproperty is now correctly marked as optional, but there are no behavioural changes. This is on theGET /works/updatesendpoint. - SM-3363:
PermitSummaryResponsehas been updated to returnpaa_to_pa_deadline_dateon thePOST /permits/searchandGET /permitsendpoints. - SM-3363: PAA to PA submission deadline date is now calculated as the proposed start date of the work minus 11 working days.
-
SM-7437:
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationshas been updated so that changes toreasonable_period_end_dateare flagged as a difference. This fixes an issue where an error was returned ifreasonable_period_end_datewas the only change. This is a behavioural change only. - SM-7010: Updated the
GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}endpoint to limit the number of permit alterations returned from a permit response to the latest 50. Permit alterations are also limited to the latest 50 for theoriginalandproposedPermitResponseproperties in the permit alteration response returned fromGET /works/${workReferenceNumber}/permits/${permitReferenceNumber}/alterations/${permitAlterationReferenceNumber}. -
SM-7060: Added
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/duration-challenge-non-acceptance-responseendpoint to allow a Highway Authority user to respond to a duration challenge non-acceptance review on an immediate permit. AdditionallyPermitResponseandPermitAlterationResponsehave been updated to returnduration_challenge_non_acceptance_response_old_reasonable_period_end_date. -
SM-6004: Fixed a bug with work extensions on works in progress to not require early start information if the permit did not originally have an early start. The flag
is_early_startis set to false if the work is in progress. This affects the following endpoints:GET /permits/categoryPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations
- SM-6738: Updated the
GET /works/{workReferenceNumber}/sites/{siteNumber}endpoint to limit the number of reinstatements returned from a site response to the latest 50. -
SM-7061: Added
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/duration-challenge-reviewendpoint to allow promoters to submit duration challenge reviews on immediate permits. The following fields are also now returned in thePermitResponse:duration_challenge_review_statusduration_challenge_review_status_stringduration_challenge_reason_for_non_acceptanceduration_challenge_review_update_dateduration_challenge_non_acceptance_response_statusduration_challenge_non_acceptance_response_status_stringduration_challenge_non_acceptance_response_detailsduration_challenge_non_acceptance_response_update_dateduration_challenge_non_acceptance_response_new_reasonable_period_end_dateduration_challenge_follow_up_review_complete
- SM-6766: Logic added to prevent users belonging to disabled organisations from performing any read/write actions. Also to prevent contractor orgs from performing any read/write actions on disabled organisations records.
- SM-6766: Logic added to prevent users belonging to disabled organisations from performing any read/write actions. Also to prevent contractor orgs from performing any read/write actions on disabled organisations records.
- SM-6708: A new
GET /section-74sendpoint has been added to allow a list of Section 74s to be retrieved. - SM-6766: Logic added to prevent users belonging to disabled organisations from performing any read/write actions. Also to prevent contractor orgs from performing any read/write actions on disabled organisations records. The
GET /organisationsendpoint will not return disabled organisations. - SM-6766: Logic added to prevent users belonging to disabled organisations from performing any read/write actions. Also to prevent contractor orgs from performing any read/write actions on disabled organisations records.
- SM-7370: CSVs generated via the
POST /*/csvendpoints, and retrieved via thePOST /csv/{csvId}endpoint now have any values within the CSV which could potentially contain formulas prepended with a single quote character'. This includes values beginning with= + - @ \t \ror including a comma,or semi-colon;followed by any of= + - @ \t \r. - SM-6766: Logic added to prevent users belonging to disabled organisations from performing any read/write actions. Also to prevent contractor orgs from performing any read/write actions on disabled organisations records.
- SM-6766: Logic added to prevent users belonging to disabled organisations from performing any read/write actions. Also to prevent contractor orgs from performing any read/write actions on disabled organisations records.
-
SM-7401: Updated
POST /works/{workReferenceNumber}/section-74sendpoint to allow an additional Section 74 to be added to a permit if all others are withdrawn i.e.ha_status=withdrawn. - SM-6706:
WorkResponsehas been updated to returnsection74sproperty which is an array ofSection74SummaryResponseresponses. These have been limited to 50 and ordered by date created. -
SM-7023: Added
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/duration-challenge-non-acceptance-responseendpoint to enable a Highway Authority user to respond to a duration challenge review request. - SM-6736: A limit restricting the number of files which can be associated with an entity has been introduced. This will mean the
file_idsarray will need to be less than 50. This affects the following endpoints:POST /works/{workReferenceNumber}/filesPOST /worksPOST /works/{workReferenceNumber}/permitsPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsPOST /works/{workReferenceNumber}/fixed-penalty-noticesPOST /historic-works/fixed-penalty-noticesPOST /historic-works/inspectionsPOST /works/{workReferenceNumber}/inspectionsPOST /non-notifiable-works/sitesPOST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsPOST /works/{workReferenceNumber}/sitesPOST /works/{workReferenceNumber}/section-74sPOST /section-81-works/section-81
- SM-6521: The logic to extend the end date when a permit is started within the validity period has been updated to include all road types.
The following rules now apply:
- The end date cannot extend for road categories 1, 2, 5 and 10
- The end date cannot extend for road categories 3 and 4 that are also traffic sensitive
- The end date can extend for road categories 3 and 4 that are not traffic sensitive
- The end date can extend for road categories 6, 7, 8 and 9 regardless of traffic sensitivity
- SM-7388: New required parameter
phaseadded toGET /hs2-act-limitsendpoint to allow selection of HS2 Phase 1 or HS2 Phase 2a act limits. - SM-6890: Updated
GET /works/updatesendpoint andPOST /permits/searchendpoint to use cursor-based pagination. More information on this can be found in the Resource Guide. - SM-6724: Added
PUT /works/${workReferenceNumber}/section-74s/${section74ReferenceNumber}/promoter-statusendpoint to enable a Planner user to update the status of a Section 74. - SM-7022: Added
PUT works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}/duration-challenge-reviewendpoint to enable a Planner user to accept or not accept a duration challenge. The following fields are returned in the PermitAlterationResponse:duration_challenge_review_statusduration_challenge_review_status_stringduration_challenge_reason_for_non_acceptanceduration_challenge_review_update_dateduration_challenge_non_acceptance_response_statusduration_challenge_non_acceptance_response_status_stringduration_challenge_non_acceptance_response_detailsduration_challenge_non_acceptance_response_update_dateduration_challenge_non_acceptance_response_new_reasonable_period_end_dateduration_challenge_follow_up_review_complete
- SM-6733: Updated the
GET /works/{workReferenceNumber}to limit the number of permits returned from a work response to the latest 50. The full list can be retrieved using theGET /permitsendpoint on Reporting API. - SM-6733: Added
GET /works/${workReferenceNumber}/earliest-permitendpoint which returns the summary details of the permit with the earliest actual start date for a given work. - SM-6723: Added
PUT /works/${workReferenceNumber}/section-74s/${section74ReferenceNumber}/highway-authority-statusendpoint to enable a HA user to update the status of Section 74 warnings. - SM-6705: Added
POST /works/${workReferenceNumber}/section-74sendpoint to enable a HA user to issue Section 74 warnings. - SM-6705: The following audit event types have been added, to be used for Section 74 functionality:
section_74_warning_issuedsection_74_warning_acknowledgedsection_74_site_visited_and_rectifiedsection_74_charges_endedsection_74_warning_disputedsection_74_withdrawnsection_74_draft_invoice_issuedsection_74_resolvedsection_74_draft_invoice_acknowledgedsection_74_charge_under_reviewsection_74_charge_agreed
- SM-6707: Added
GET /works/{workReferenceNumber}/section-74s/{section74ReferenceNumber}endpoint to return a Section 74 warning relating to a work. - SM-6705: The following audit event types have been added, to be used for Section 74 functionality:
section_74_warning_issuedsection_74_warning_acknowledgedsection_74_site_visited_and_rectifiedsection_74_charges_endedsection_74_warning_disputedsection_74_withdrawnsection_74_draft_invoice_issuedsection_74_resolvedsection_74_draft_invoice_acknowledgedsection_74_charge_under_reviewsection_74_charge_agreed
-
SM-6737: Updated the
GET /works/{workReferenceNumber}to limit the number of sites returned from a work response to the latest 50. The full list can be retrieved using theGET /reinstatementsendpoint on Reporting API. Also site creation is limited to 999 sites on a work. There is also a new field `number_of_sites` which includes the total of sites on a work. -
SM-7164: Updated
POST /historic-works/inspectionsto increment the actual count of a sample inspection target where there is an active target between the Highway Authority and the Promoter. -
SM-6735: Updated the
GET /works/{workReferenceNumber}to limit the number of inspections returned from a work response to the latest 50. The full list can be retrieved using theGET /inspectionsendpoint on Reporting API. -
SM-6885: Added the following parameters to the
GET /alterations/csvendpoint to enable the filtering on the alterationstatus_changed_date:- status_update_date_from
- status_update_date_to
-
SM-6885: Added the following parameters to the
GET /alterations/csvendpoint to enable the filtering on the alterationstatus_changed_date:- status_update_date_from
- status_update_date_to
-
SM-6734: Updated the
GET /works/{work reference number}to limit the number of FPNs returned from a work response to the latest 50. The full list can be retrieved using theGET /fixed-penalty-noticesendpoint. -
SM-7071: New
StreetWorksAdminrole added toRoleResponseenum, which is returned in theUserResponsefrom theGET /users/{email}endpoint. -
SM-6835: Updated the query property filtering to enable searching across
street_name,townandarea_nameas a single column meaning search terms likeGREEN OAK AVENUE, SHEFFIELDare valid. This change has been applied to:GET /forward-plansGET /fixed-penalty-noticesGET /inspectionsGET /alterationsGET /permitsGET /reinstatementsGET /section-81sGET /sample-inspections
-
SM-6835: Updated the query property filtering to enable searching across
street_name,townandarea_nameas a single column meaning search terms likeGREEN OAK AVENUE, SHEFFIELDare valid. This change has been applied to exports generated by:POST /forward-plans/csvPOST /fixed-penalty-notices/csvPOST /inspections/csvPOST /alterations/csvPOST /permits/csvPOST /reinstatements/csvPOST /section-81s/csvPOST /sample-inspections/csv
-
SM-4954: Fixed an issue with
GET /nsg/searchwhere streets containing apostrophe'and hyphen-characters were failing to return results - SM-6081: Added additional optional
queryparam to theGET /fixed-penalty-noticesendpoint. This provided query will search against the following properties:work_reference_numberfpn_reference_numberstreet_nameUSRNpromoter_organisation_name- for HA usersha_organisation_name- for Planner and Contractor users
- SM-6081: Updated the
POST /fixed-penalty-notices/csvto use the optionalqueryproperty. The provided query will search against the following properties:work_reference_numberfpn_reference_numberstreet_nameUSRNpromoter_organisation_name- for HA usersha_organisation_name- for Planner and Contractor users
-
SM-6097: The
GET /work-dataendpoint which was used to retrieve permits that had been added, changed or deleted in the previous hour has now been removed. - SM-6393: On creation of a permit following a PAA, the deadline date will be set to whichever date is further away between the permits calculated response date and what's remaining of the PAA response date.
-
SM-6950: Updated the
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsendpoint to return a precondition failed error when submitting a permit alteration on a planned work which would change the permit from minor/standard to major/PAA -
SM-6842: Updated the
POST /works/{workReferenceNumber}/inspectionsendpoint so that any eligible inspection raised will contribute to progress against a sample inspection target, if an active target exists for the HA and promoter. -
SM-6842: Updated the
POST /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdrawendpoint so that progress against sample inspection targets will be decreased when any eligible inspection is withdrawn, if an active target exists. - Reporting API
- Party API
- Data Export API
- Street Lookup API
- GeoJSON API
-
SM-5939: Added additional validation to the
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/link-section-81endpoint to prevent linking a permit and section 81 that are assigned to different promoter organisations. -
SM-5846: Added
PUT sample-inspection-targets/{sampleInspectionTargetReferenceNumber}/closeendpoint to Work API to allow sample inspection Targets to be closed. Any sample inspections linked to the target that have not been completed will be set to `expired`. Reporting APIGET /sample-inspection-targetswill only return active targets (is_active_target = true) -
SM-6813:
organisation_statusandorganisation_status_stringhave been added as optional properties toUserResponse,OrganisationResponseandOrganisationSummaryResponse. These properties will now be returned by the following endpoints:GET /organisationsGET /organisations/{organisationReference}GET /users/{email}
-
SM-6659: Updated the validation on the
PUT /works/{workReferenceNumber}/startendpoint to prevent a works start being more than 5 years in the past from the proposed start date. - SM-6795: Added new validation rules to Work API that prevent users belonging to suspended organisations from logging in and to prevent contractor orgs from performing any read/write actions on suspended organisations records
-
SM-6107: Updated the validation on
POST /works/{workReferenceNumber}/sitesandPOST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsto use the earliestactual_start_dateacross all permits associated with a work when validatingreinstatement_date. The reinstatement date cannot be before the earliestactual_start_date. -
SM-6874: Updated the validation logic on the
GET /files/{fileId}endpoint to allow users to download files attached to a work that they have read access to. -
SM-6791: Updated the
GET /works/updatesendpoint to allow theupdate_idparameter to be used without needing to provide either thestart_dateandend_date, orprevious_minutes. When theupdate_idparameter is provided without time range filtering, a maximum of 500 results will be returned. -
SM-6679 (BREAKING CHANGE): A limit of 100 results has been added to the endpoints listed below. If this limit is exceeded, an error will be returned with status code
403, indicating that the search area and/or date range should be refined.GET /worksGET /activitiesGET /forward-plansGET /hs2-act-limits
-
SM-3950: Updated the
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/reassign-section-81endpoint to record the organisation names rather than organisation references in the works history entries when Section 81s are reassigned. - SM-5176: New
GET /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}endpoint added to retrieve sample inspection target details. -
SM-4032: Added additional filter and sorting params to the
GET /reinstatementsendpointregistration_date_from: filter reinstatements to those created on or after this dateregistration_date_to: filter reinstatements to those created on or before this dateend_date_from: filter reinstatements to those with an expiry date on or after this dateend_date_to: filter reinstatements to those with an expiry date on or before this datesort_direction: change the sort order. This can be eitherascordescsort_column: change the column results are sorted on. Currently limited toend_date
-
SM-4032: Added additional filter params to the
GET /reinstatements/csvendpointregistration_date_from: filter reinstatements to those created on or after this dateregistration_date_to: filter reinstatements to those created on or before this dateend_date_from: filter reinstatements to those with an expiry date on or after this dateend_date_to: filter reinstatements to those with an expiry date on or before this date
-
SM-3570: Fixed a bug with
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentendpoint,revoke_reasonnow included in work history entry when a permit is revoked. - The following business rule change introduced on 25/01/2021 is included:
- SM-6114: Updated permit cancel logic to only allow active permits to be cancelled, making it consistent with the options available on the UI.
-
SM-6605 (BREAKING CHANGE): Updated the format of
GET /files/{fileId}error response body to be in line with error responses throughout Street Manager. An error response body will now contain an object, where previously it contained only the string title of the error code. No further error scenarios have been introduced as part of this change. - SM-5178: Extended the search functionality available through the optional
queryparam on theGET /sample-inspectionsendpoint to support searching by street name and promoter organisation name, in addition to searching by the work reference number and USRN which were already supported. -
SM-4820: The fields which can be searched with using the
queryquery parameter has been extended to include:usrnstreet_nametownpromoter_organisation_namewhere the authenticated user is a HAha_organisation_namewhere the authenticated user is a promoter
GET /permitsGET /alterationsGET /forward-plans
-
SM-6640: Fixed a bug with
GET /inspectionsendpoint where including leading 0s inqueryexcluded valid search results when usingqueryparam to filter by USRN. -
SM-4820: The fields which can be searched with using the
queryquery parameter has been extended to include:usrnstreet_nametownpromoter_organisation_namewhere the authenticated user is a HAha_organisation_namewhere the authenticated user is a promoter
POST /permits/csvPOST /alterations/csvPOST /forward-plans/csv
-
SM-6640: Fixed a bug with
POST /inspections/csvendpoint where including leading 0s inqueryexcluded valid search results when usingqueryparam to filter by USRN. -
SM-6508:
GET /csv/{csvId}has been updated to add validation tocsvId. This means that a bad request error will be returned a where an invalid value has been provided ascsvId. Prior to this change an internal server error would be returned.csvIdmust be a positive integer. -
SM-5733:
GET /works/updateshas been updated with two optional query parameters:-
workstream_prefix: Updates will be restricted to works with one of the given prefixes, if provided. It is not required to have permissions for the provided workstreams. -
update_id: Only results with update ids above the given id will be returned, if provided.
-
- SM-5420: A new job was created to expire sample inspections. This job will run at 17:00 during GMT and 18:00 during BST. The expiry dates are calculated when the sample inspection is issued. The calculation is as follows:
Category A: expires from eligibility on the proposed end date of the work recordCategory B: expires from eligibility when the latest reinstatement at the time of creation is 6 months oldCategory C: the work contains a reinstatement with anend_datecoming up within the next 3 months. Expires from eligibility when the reinstatement end date is reached
-
SM-6368:
GET /works/{workReferenceNumber}/historyendpoint updated to enable pagination. This works similarly to the paginated endpoints found in the Reporting API:- Optional query param
offsetadded to enable moving through the pages. -
Response model updated with new properties:
pagination: This object contains pagination information;has_next_pageandtotal_rowsrows: This is an array of work history items. The detail returned here remains unchanged. There is a limit of 25 history items per page.
- Optional query param
-
SM-6213: New endpoint
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/reassign-section-81added to enable a HA to change the promoter organisation that a Section 81 is associated with. -
SM-6568: Updated logic used by the
POST /works/{workReferenceNumber}/permit/{permitReferenceNumber}/alterationsendpoint to ensure a permit will not be update to a PAA if the work has started. - SM-6314: New
PUT /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}/withdrawendpoint added to enable the withdrawing of an inspection. - SM-4273:
- Added the following properties to
Section81CreateRequest:section_81_evidence(required)file_ids(optional)
- Added the following properties to
Section81Response:files(required)
- Added the following properties to
- SM-6263: The
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsendpoint has been updated to prevent alterations being raised on Immediate permits that have been refused. - SM-6282: Work API response enums have been updated to include a new
upcoming_enumvalue. This value is currently a placeholder. Once V2 of the API is stabilised,upcoming_enumwill be returned in responses where the latest version of the API will return a new enum value. This prevents the need for breaking changes on the stabilised API to add new enum values. - SM-5455: New
permit_granted_with_duration_challengeaudit event type has been added, used when an immediate permit is granted with a duration challenge. - SM-6198: New
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/unlink-section-81endpoint added to enable unlinking a Section 81 from a permit. - SM-6315:
- Added the following additional properties to
InspectionResponse:inspection_status(required)inspection_reason_for_withdrawal(optional)withdrawal_details(optional)
- Added the following additional required properties to
InspectionSummaryResponse:inspection_status
- Updated the
POST /works/{workReferenceNumber}/inspectionsendpoint to setinspection_status = recorded. - New
inspection_withdrawnaudit event type has been added, to be used in upcoming functionality for withdrawing inspections.
- Added the following additional properties to
- SM-6284: Responses in the Work API have been updated to return a string version of each enum property previously returned. For example,
PermitResponsenow contains thepermit_statusproperty which remains as type PermitStatus and a newpermit_status_stringproperty which will be populated with the string equivalent of the enum value. These will contain the same text in most circumstances but in the future when we stabilise the API and no longer add new enum values we will use the string property to provide more information. - SM-5925: Added additional optional params to the
GET /fixed-penalty-noticesendpoint.- New filter params include:
status_changed_date_fromstatus_changed_date_to
- New sorting params include:
sort_columnvalues:issue_date_time(default),status_changed_datesort_directionvalues:asc,desc(default)
- New filter params include:
- SM-6315:
- Added the following additional required properties to
InspectionSummaryResponse:inspection_statusdate_modified
- New
inspection_withdrawnaudit event type has been added, to be used in upcoming functionality for withdrawing inspections.
- Added the following additional required properties to
- SM-5925: Added additional optional filter params to the
GET /fixed-penalty-notices/csvendpoint. New filter params include:status_changed_date_fromstatus_changed_date_to
- SM-6214: Updated the
typequery param for theGET /organisationsendpoint to allow a list, instead of a single organisation type. - GeoJSON API, Street Lookup API and Party API response enums have been updated to include a new
upcoming_enumvalue. This value is currently a placeholder. Once V2 of the API is stabilised,upcoming_enumwill be returned in responses where the latest version of the API will return a new enum value. This prevents the need for breaking changes on the stabilised API to add new enum values. Thisupcoming_enumvalue will be added to Works API and Reporting API response enums in a future release. - Reporting API, GeoJSON API, Street Lookup API and Party API service responses have been updated to return a string version of each enum property previously returned. For example,
PermitResponsenow containspermit_statusproperty which remains as type PermitStatus and a newpermit_status_stringproperty which will be populated with the string equivalent of the enum value. These will contain the same text in most circumstances but in the future when we stabilise the API and no longer add new enum values we will use the string property to provide more information. - Added
hs2_highwayto theWorkCategoryenum. This can be returned by theWorkResponse - Updated the
POST /organisations/{organisationReference}/workstreamsandPUT /organisations/{organisationReference}/workstreams/{workstreamPrefix}endpoints to accept optionalinternal_user_identifierandinternal_user_nameproperties. - Updated the
POST /geographical-areasandPUT /geographical-areas/{geographicalAreaReferenceNumber}endpoints to accept optionalinternalUserIdentifierandinternalUserNamequery params. - Removed the
is_progressable_paafield from thePermitResponseobject. This field was never intended to be returned and was never populated in the response object. - Updated the
POST /activityandPUT /activity/{activityReferenceNumber}endpoints to acceptstart_dateandstart_timevalues in the past. - Updated the
POST /works/${workReferenceNumber}/commentsendpoint to return aCommentCreateResponsecontaining thecomment_reference_number. - New
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/link-section-81endpoint added to enable linking a Section 81 with a permit. - Updated the
PermitResponseinterface to include an optionallinked_section_81property, which contains thework_reference_numberandsection_81_reference_numberproperties of a linked Section 81. - Updated the
Section81Responseinterface to include an optionallinked_permitproperty, which contains thework_reference_numberandpermit_reference_numberproperties of a linked permit. - The following audit event types have been added, to be used when linking, unlinking and re-assigning Section 81s:
section_81_linked_to_permitsection_81_unlinked_from_permitsection_81_reassigned
- New
GET /sample-inspectionsendpoint added to fetch issued Sample Inspections for a Highway Authority organisation. - All API services now have a
v2route available in addition tov1andlatest.latestroutes point to the latest version of the code which is currentlyv2. - https://api.sandbox.manage-roadworks.service.gov.uk/v2/work/docs/ (Work API)
- https://api.sandbox.manage-roadworks.service.gov.uk/v2/reporting/docs/ (Reporting API)
- https://api.sandbox.manage-roadworks.service.gov.uk/v2/lookup/docs/ (Street Lookup API)
- https://api.sandbox.manage-roadworks.service.gov.uk/v2/geojson/docs/ (GeoJSON API)
- https://api.sandbox.manage-roadworks.service.gov.uk/v2/party/docs/ (Party API)
- https://api.sandbox.manage-roadworks.service.gov.uk/v2/export/docs/ (Data Export API)
- Added additional optional
queryparam to theGET /inspectionsendpoint. This provided query will search against the following properties:work_reference_numberstreet_nameUSRNpromoter_organisation_nameha_organisation_name
- Added additional optional filtering to the
GET /fixed-penalty-noticesendpoint. New filter params include:offence_code
- Updated the
POST /inspections/csvto use the optionalqueryproperty. The provided query will search against the following properties:work_reference_numberstreet_nameUSRNpromoter_organisation_nameha_organisation_name
- Added additional optional filter properties to the
FPNCSVExportRequestmodel used by thePOST /fixed-penalty-notices/csvendpoint. New filter properties include:offence_code
- New optional
hs2_additional_usrnsproperty added toWorkCreateRequest,PermitCreateRequestandPermitResponseobjects. This allows HS2 users to provide additional USRNs for permits. The property will be ignored for non-HS2 users. - Updated the login endpoint,
POST /authenticate, to lock out user accounts that have 5 failed login attempts within a 5 minute period. A423status code will be returned when locked accounts attempt to authenticate. Accounts are automatically unlocked after 5 minutes. - New
PUT /works/${workReferenceNumber}/excavation-carried-outendpoint added. If excavation has been requested in the permit application, this endpoint can be used to update the works record to reflect if an excavation took place. The works must be started before this endpoint can be used. - Added additional optional filtering to the
GET /inspectionsendpoint. New filter params include:inspection_typeinspection_outcomestart_date_createdend_date_created
- Added additional optional filter properties to the
InspectionCSVExportRequestmodel used by thePOST /inspections/csvendpoint. New filter properties include:inspection_typeinspection_outcomestart_date_createdend_date_created
- Updated
GET permits/categoryendpoint to return minor/standardwork_typeif the work only contains a forward-plan and the work does not have major works duration. Works with only a forward-plan and major timings will continue to return awork_typeofPAA - Updated
POST /works/{workReferenceNumber}/permitsto use the updated category result described above. Forward plans will now progress directly to Permits when they do not have major timing duration. - Query optimisations
- Updated the following endpoint to allow for submission of HS2 Forward plans:
POST /forward-plans/
- BREAKING CHANGE: Added the following mandatory (only for HS2 Promoters) properties to the
ForwardPlanCreateRequestinterface for thePOST /forward-plans/endpoint. These were also added as optional properties to theForwardPlanResponseinterface.hs2_in_act_limitshs2_consultation_requested_response_datehs2_highway_exemptionhs2_works_type
- Updated
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsendpoint to allow HS2 fields to be altered when creating an alteration. - Added the following optional properties (only for HS2 Promoters) to the
PermitAlterationCreateRequestinterface for thePOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsendpoint.hs2_consultation_requested_response_datehs2_highway_emails
- Updated the following endpoints to save optional comments for PermitConditionTypes NCT01a, NCT01b and NCT11a:
POST /works/{workReferenceNumber}/permitsPOST /worksPOST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations
- Reasonable period end date can now be set as a date in the past when granting an immediate permit with a duration challenge.
- BREAKING CHANGE: Added the following mandatory properties to the
FPNCreateRequestand theHistoricFPNCreateRequestinterfaces for thePOST /works/{workReferenceNumber}/fixed-penalty-noticesandPOST /historic-works/fixed-penalty-noticesendpoints. These were also added as optional properties to theFPNResponseinterface.officer_addressrepresentations_contactrepresentations_contact_addresspayment_methods
- PermitASD model has been updated to make
special_desig_descriptionoptional. - New
POST /sample-inspection-targetsendpoint added to allow Sample Inspection Targets to be created. - New
PUT /sample-inspection-targets/{sampleInspectionTargetReferenceNumber}endpoint added allowing the agreed targets and max number of works to sample to be updated. - New
POST /sample-inspectionendpoint added which will start the process of selecting work records that will contribute to inspection targets as defined byPOST /sample-inspection-targets. The selection of work records will be implemented in a future release. - AdditionalSpecialDesignationsResponse model has been updated to make
special_desig_descriptionoptional. - New
GET /sample-inspection-targetsendpoint added to return Sample Inspection Targets for a Highway Authority organisation. - New optional
is_covid_19_responseproperty added toWorkCreateRequest,PermitCreateRequestandPermitResponseobjects. Allows a permit to be marked as a response to Covid-19. If this property is not provided in the request it will default to false. -
Added the following comment topics to the
CommentTopicEnumused in thePOST /works/{workReferenceNumber}/commentsendpoint:FORWARD_PLANCHANGE_REQUESTIMPOSED_VARIATIONDURATION_CHALLENGESECTION_81
topicfield of theWorkHistoryResponse. - Implemented new optional
is_internalproperty added toPOST /works/{workReferenceNumber}/commentsendpoint allowing a comment to be marked as internal. - Implemented new endpoint
PUT /works/{workReferenceNumber}/comments/{commentReferenceNumber}/readavailable to mark comments as read -
Added the following comment topics to the
CommentTopicEnumused in theGET /commentsendpoint:FORWARD_PLANCHANGE_REQUESTIMPOSED_VARIATIONDURATION_CHALLENGESECTION_81
- Response from
GET /commentsendpoint updated to include the following properties:comment_reference_numberis_internal(boolean)is_read(boolean)read_by(optional string - should be the user's email address)read_on_date(optional date)
-
Added the following comment topics to the
CommentTopicEnumused in thePOST /comments/csvendpoint:FORWARD_PLANCHANGE_REQUESTIMPOSED_VARIATIONDURATION_CHALLENGESECTION_81
-
The hourly generated CSV files exposed through the
GET /work-dataandGET /activity-dataendpoints now use the ISO 8601 format (rather than localised date and time strings) for any datetime values. This is consistent with the datetimes returned in the Works API responses, and removes ambiguity regarding timezones. - PermitASD model has been updated to make
special_desig_descriptionoptional. This is currently a documentation change only. This functionality will be implemented in a future release. - AdditionalSpecialDesignationsResponse model has been updated to make
special_desig_descriptionoptional. This is currently a documentation change only. This functionality will be implemented in a future release. - New optional
is_covid_19_responseproperty will be added toWorkCreateRequest,PermitCreateRequestandPermitResponseobjects. This will allow a permit to be marked as a response to Covid-19. If this property is not provided in the request it will default to false. - ActivityType request model has been updated to include the following additional values:
new_service_connectionworks_for_road_purposesoptional_permit_no_fee
- CommentTopic model has been updated to include the following additional values (please note these will not be useable until a future release):
FORWARD_PLANCHANGE_REQUESTIMPOSED_VARIATIONDURATION_CHALLENGESECTION_81
-
The
InspectionResponseandInspectionSummaryResponseresponse models have been updated to make theinspection_categoryproperty optional. -
The definitions for
ASDCodeandASDPeriodicityCodemodels have been updated to clarify that the enum values should be submitted as numbers instead of strings. Note that, in a future release, we will be adding validation against providing strings. The API will continue to accept both for the time being, but we strongly encourage submitting these values as numbers instead of strings if you aren't already doing so. -
PermitASDinterface, which is used in a number of work and permit request and response models, will be updated to include new optional date propertiesspecial_desig_start_dateandspecial_desig_end_date. These fields will be stored against the work and returned on the appropriate responses where available. Affected models include:ForwardPlanCreateRequestForwardPlanResponseForwardPlanUpdateRequestPermitRequestPermitResponseWorkCreateRequest
CommentReportingResponseupdated to include the string propertycomment_reference_number.- CommentTopic model has been updated to include the following additional values (please note these will not be useable until a future release):
FORWARD_PLANCHANGE_REQUESTIMPOSED_VARIATIONDURATION_CHALLENGESECTION_81
-
The
InspectionSummaryResponseresponse model has been updated to make theinspection_categoryproperty optional. AdditionalSpecialDesignationsResponseupdated to include new optional date propertiesspecial_desig_start_dateandspecial_desig_end_date. This is a documentation change only, the api will be updated to return these values in a future release.- ActivityType request model has been updated to include additional values.
new_service_connection, works_for_road_purposes, optional_permit_no_fee
This is a documentation update only. The application will begin to accept these values in an upcoming release. - AuditEvent response model has been updated to include additional values.
sample_inspection_target_created, sample_inspection_target_updated, sample_inspection_created, sample_inspection_completed, sample_inspection_removed, sample_inspection_expired, internal_comment_submitted, comment_read
This is a documentation update only. The application will begin to return these values in an upcoming release. road_category: numberdocumentation on create request models has been updated from 0-4 to 0-10 in line with the values accepted by the application.- Specific authentication error message when attempting to authenticate with a user who has had their account disabled using
POST /authenticateendpoint, which was added in V1.19, has been removed. Users will see a generic error message. - Fixed an issue where calendar day and working day durations would incorrectly be adding an additional day when proposed_end_time was not provided on create work requests
- AuditEvent response model has been updated to include additional values.
sample_inspection_target_created, sample_inspection_target_updated, sample_inspection_created, sample_inspection_completed, sample_inspection_removed, sample_inspection_expired, internal_comment_submitted, comment_read
This is a documentation update only. The application will begin to return these values in an upcoming release. - The
GET /commentsendpoint has been updated with the following optional properties for filtering:date_created_fromdate_created_totopic
- AdditionalSpecialDesignationsResponse updated to include the optional
whole_road: booleanandasd_coordinate_geometry: GeoJSONGeometryproperties. - Specific authentication error message when attempting to reset password with a user who has not successfully set password after account creation will now return 401 using
POST /forgot-passwordendpoint, which was added in V1.19, has been removed. - The
POST /comments/csvendpoint has been updated with the following optional properties for filtering:date_created_fromdate_created_totopic
- New optional
is_internalproperty will be added toPOST /works/{workReferenceNumber}/commentsendpoint allowing a comment to be marked as internal. - New endpoint
PUT /works/{workReferenceNumber}/comments/{commentReferenceNumber}/readwill be available to mark comments as read - Response from
GET /commentsendpoint updated to include the following properties: comment_reference_numberis_internal(boolean)is_read(boolean)read_by(optional string - should be the user's email address)read_on_date(optional date)- Implemented the new
PUT /geographical-areas/{geographicalAreaReferenceNumber}endpoint allowing a geographical area to be updated. - New optional
permit_reference_numberproperty added toPOST /works/{workReferenceNumber}/fixed-penalty-noticesendpoint allowing a fixed penalty notice to be associated with a permit. - Delegated user properties
internal_user_identifierandinternal_user_nameare being stored against audit events generated byPOSTandPUTendpoints. These are being returned as part ofGET /works/{workReferenceNumber}/historyresponse. - New fields added to the Fees Report export: Is TTRO required?, Traffic management type, Proposed start date, Proposed end date, Actual start date, Actual end date, Change request reference
- The following endpoint will be available on the Works API in a future release:
- Update a geographical area
PUT /geographical-areas/{geographicalAreaReferenceNumber}endpoint
- Update a geographical area
- The following audit event types have been added:
update_geographical_areaupcoming_event(placeholder for a future audit event)
- Updated authentication error message when attempting to reset password with a user who has not successfully set password after account creation will now return 401 using
POST /forgot-passwordendpoint - Fixed defect on the
GET /nsg/searchendpoint to allow users to input multiple spaces and special characters in thequeryparam - Fixed defect on the
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsendpoint to allow Highway Authorities to impose changes on a permit that contains files and/or ASDs - Updated authentication error message when attempting to authenticate with a user who has had their account disabled using
POST /authenticateendpoint - Updated validation on
POST /works/{workReferenceNumber}/inspectionsandPOST /historic-works/inspectionsendpoints. An empty array value ([]) for thefailure_reason_detailsproperty for failed inspections will result in a bad request error. - Validation has been added to the proposed_start_time field in the
POST /workrequest to prevent immediate works being created without a time being specified. - The work_end_date and work_end_time are now being correctly updated where the proposed_end_date/time slide as a result of validity period.
- Validity period end date calculation now starting from the next working day if the proposed start date is on a weekend or bank holiday.
- The
GET /inspectionsendpoint now returns a maximumtotal_rowsvalue of 501, similar to other Reporting API endpoints - The
GET /*/csvendpoints which were deprecated in V1.12 have been completely removed. All CSV exporting is available via the Data Export API. This applies to CSV exports for Permits, Fees, FPNs, Inspections and Forward plans. - The
POST /*/csvendpoints will now generate CSVs that will include a newtowncolumn - The
POST /permits/csvendpoint will now generate a CSV that will include the following new columns:actual_start_date,actual_end_date,revoke_reasonandreasonable_period_end_date - The
POST /fees/csvendpoint will now generate a CSV that will include a newAreacolumn - Updated the hourly scheduled job which returns data as part of the
GET /work-dataendpoint to include the following event types when checking for changes:alteration_deemedpermit_hs2_acknowledged
POST /activityPOST /forward-plansPOST /historic-works/fixed-penalty-noticesPOST /historic-works/inspectionsPOST /non-notifiable-works/sitesPOST /section-81-works/section-81sPOST /worksGET /works/{workReferenceNumber}GET /works/{workReferenceNumber}/forward-plans/{forwardPlanReferenceNumber}GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterations/{permitAlterationReferenceNumber}GET /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}GET /alterationsGET /forward-plansGET /inspectionsGET /permitsGET /reinstatementsGET /section-81s- Fixed a defect with the
DELETE /files/{fileId}endpoint so it now correctly returns a precondition failed error if the file has already been associated with a work - Fixed a defect with the
GET /works/{workReferenceNumber}/historyendpoint so it now correctly returnsinspection_agreed_site_complianceAuditEvent enum where applicable instead of the event not being returned - Users can now update the
works_coordinatesproperty when submitting a Permit Alteration to the/works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsendpoint. - Updated
width,depth,length,inspection_unitsandnumber_of_holesrequest properties to now allow a value of 0. This will impact the following endpoints:POST /non-notifiable-works/sitesPOST /works/{workReferenceNumber}/sitesPOST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsPUT /works/{workReferenceNumber}/inspection-units
- The following audit event types have been added, these are used when creating a work:
planned_works_record_createdin_progress_works_record_createdhistoric_works_record_creatednon_notifiable_works_record_createdsection_81_works_record_createdunattributable_works_record_created
- Updated the
GET /work-dataendpoint so that it is now accessible to users with the following roles:PlannerContractorHighwayAuthorityAdminDataExport
- Property
road_categorymarked as deprecated and will be removed from the response of the following endpoints in a future release:GET /nsg/streetsandGET /nsg/streets/{usrn}. - Property
reinstatement_typesadded to the response of the following endpoints:GET /nsg/streetsandGET /nsg/streets/{usrn}. This property contains a collection of reinstatement type codes and corresponding location text. For more information on thereinstatement_type_codeproperty see the `Reinstatement type codes` section above. - The streets returned in the response of the following endpoints now include streets with reinstatement type code value of up to 10 and where the street state does not equal 4:
GET /nsg/streetsandGET /nsg/streets/{usrn}. - All existing create endpoints which currently accept the property
road_categoryhave been updated to now accept a value of up to 10. - Updated the `object_reference` of audits relating to the
event_typeof reinstatement_submitted. This will now return the site number that can be used as the resource identifier inGET /works/{workReferenceNumber}/sites/{siteNumber}. This change was applied to theGET /works/{workReferenceNumber}andGET /works/{workReferenceNumber}/historyendpoints. - Planned permits no longer need to be granted by HA before works can be started
- Planned permits can be assessed at any stage, provided they haven't been assessed or cancelled
- Updated the
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentendpoint to now accept the additional valuesreasonable_period_end_dateandis_duration_challenged - The
PermitResponsehas been updated to returnis_duration_challenged - Updated the
GET /users/{email}endpoint to acceptswaCodequery parameter. This can be used by contractors to see the workstreams they have available for a particular contract POST /permits/csvhas been updated with the following new properties:geographical_area_reference_numberis_duration_challenged
POST /permits/csvhas been updated with the newgeographical_area_reference_numberpropertyPOST /alterations/csvhas been updated with the newgeographical_area_reference_numberpropertyPOST /forward-plans/csvhas been updated with the newgeographical_area_reference_numberpropertyPOST /reinstatements/csvhas been updated with the newgeographical_area_reference_numberpropertyPOST /section-81s/csvhas been updated with the newgeographical_area_reference_numberpropertyPOST /inspections/csvhas been updated with the newgeographical_area_reference_numberpropertyPOST /fixed-penalty-notices/csvhas been updated with the newgeographical_area_reference_numberproperty- Updated the
GET /work-dataendpoint to allow previously generated CSVs to be retrieved. - Updated the
GET /work-dataendpoint to include the following additional fields in generated CSVs:Highway authority swa codeWorks category referenceTraffic management type referenceAssessment status referencePermit status referenceWork status reference
- New
GET /activity-dataendpoint added to retrieve data of activities across all organisations which have been added, changed, or deleted within the last hour in CSV format. - New
POST /comments/csvendpoint added to trigger generation of Comment CSV file GET works/updatesendpoint has been updated to return theevent_typeandobject_typeproperties. Returns updates for new events, for more information, see audit events in the documentation 'History' section.GET /alterationsendpoint now accepts the followingsort_columnvalues:date_created,proposed_start_date,proposed_end_dateandstatus_changed_dateGET permits/csvendpoint now accepts the additional valueis_duration_challenged- The following Reporting API endpoints have been updated with a new
geographical_area_reference_numberproperty that enables HA users to filter their lists based on one or more Geographical Areas within their organisation:GET /permitsGET /alterationsGET /forward-plansGET /reinstatementsGET /section-81sGET /inspectionsGET /commentsGET /fixed-penalty-notices
- The
topicproperty onWorkHistoryResponsehas been updated with new values specific to permit alterations and permit applications. The content of thedetailsproperty has also been updated for multiple audit events. This will affect theGET /works/{workReferenceNumber}andGET /works/{workReferenceNumber}/historyendpoints. - The
AlterationTypeenum has been updated to includemodified_permitas a valid type GET /permitsandGET /forward-plansendpoints have been updated to include explicit date range filtering for start and end datesGET /permitsendpoint has been updated to accept the following optional boolean parameters:hs2_works_only,consultation_works_only,consent_works_only,unacknowledged_by_ha_onlyGET /csv-exportshas been updated to only return the CSV Exports that were generated by the requester- The
AlterationTypeenum has been updated to includemodified_permitas a valid type POST /permits/csvandPOST /forward-plans/csvendpoints have been updated to include explicit date range filtering for start and end datesPOST /permits/csvendpoint has been updated to accept the following optional boolean parameters:hs2_works_only,consultation_works_only,consent_works_only,unacknowledged_by_ha_only- The
AlterationTypeenum has been updated to includemodified_permitas a valid type PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/hs2_acknowledgementendpoint has been added to acknowledge HS2 applications- The
PermitResponsehas been updated to return thehs2_acknowledgedproperty - The
PermitResponsehas been updated to return thehs2_acknowledged_date_timeproperty POST /geographical-areasendpoint has been added to upload Geographical AreasGET /users/{username}endpoint has been added to return user detailsGET /csv-exportsendpoint has been added return a list of CSV exports which are associated with the authenticated user's organisation- The
PermitRequesthas been updated to include theadditional_contact,additional_contact_number, andadditional_contact_emailproperties - The
PermitResponsehas been updated to return theadditional_contact,additional_contact_number, andadditional_contact_emailproperties - The
WorkCreateRequesthas been updated to include theadditional_contact,additional_contact_number, andadditional_contact_emailproperties - Added
PUT /users/{email}endpoint to allow updating of users names POST /works/{workReferenceNumber}/commentsupdated to remove comment_id- The
WorkTypeenum has been updated to includehs2_highway_worksas a valid type - The
WorkCategoryenum has been updated to includehs2_highwaycodeas a valid category - The Permit and Work endpoints have been extended to include HS2 specific fields
- The
WorkResponsehas been updated to no longer return thehistorical_permit_reference - The
WorkResponsehas been updated to return thedescription_of_workproperty - The
WorkResponsehas been updated to return thedescription_of_workproperty - The
POST /works/{workReferenceNumber}/sites/{siteNumber}/reinstatementsendpoint has been updated to remove the id of the created reinstatement - The
POST /works/{workReferenceNumber}/commentsendpoint has been updated to remove the id of the created comment - The
GET /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}endpoint has been updated to includestatus_changed_date - The
GET /permits/categoryendpoint has been extended to accept ahs2_highway_worksparameter - Added
GET /section-81sendpoint to allow a list of Section 81s to be retrieved - New
GET /organisationsendpoint to allow retrieval of organisations - New
POST fixed-penalty-notices/csvendpoint to enable async CSV generation - New
PUT /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}/statusendpoint to allow updates to the status of a section 81 - New
GET /section-81sendpoint to retrieve all section 81s associated with the authenticated user's organisation - New
GET /organisationsendpoint to allow retrieval of organisations - BREAKING CHANGE:
site_idandpermit_idresponse fields have removed. These have been replaced withsite_numberandpermit_reference_numberrespectively. submittedgrantedrefusedpermit_modification_requestrevokedclosedprogressedcancelledraisedprogressedcancelled- BREAKING CHANGE:
site_idandpermit_idresponse fields have removed. These have been replaced withsite_numberandpermit_reference_numberrespectively. The biggest impact of this change to when fetching the details of a site, the existingGET /works/{workReferenceNumber}/sites/{siteId}endpoint has been replaced withGET /works/{workReferenceNumber}/sites/{siteNumber} - Existing
POST /works/{workReferenceNumber}/permitsendpoint updated to allow a permit to be created on a historical and non-notifiable work, optionalworkstream_prefixfield added to request to allow workstream to be set on submission of first permit on a historical and non-notifiable work - Optional failure_reason_details.site_name added to
GET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber} response - New
POST /historic-works/inspectionsendpoint to create an inspection on a historic work - New
POST /non-notifiable-works/sitesendpoint to create a reinstatement on a non-notifiable work - Existing
POST /works,POST /permitsandPOST /permit-alterationsrequests updated to makespecial_desig_location_textfield optional - A new endpoint
GET /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber}has been created to view a specific section 81s details. - BREAKING CHANGE:
street_lineandstreet_centre_pointonGET /nsg/streetsresponse will be returned as GeoJSON object rather than string - BREAKING CHANGE:
street_lineandstreet_centre_pointonGET /nsg/streets/{usrn}response will be returned as GeoJSON object rather than string - BREAKING CHANGE:
street_centre_pointonGET /nsg/searchresponse will be returned as GeoJSON object rather than string - BREAKING CHANGE:
GET /nsg/streets/{usrn}response updated to makespecial_desig_location_textfield optional - DEPRECATION: All CSV export endpoints i.e. endpoints ending in
/csvare now deprecated and will be removed in an upcoming version POST /fixed-penalty-notices/csvendpoint added to trigger generation of FPN CSV file which will be exportable in a later version- Add new Data Export API with endpoint
GET /work-data. (See the resource guide for details) grantedgranted_autorefusedrefused_autopermit_modification_requestrevoked- Granting
- Refusing
- Modification requesting
- Revoking
reasons_for_refusalassessment_discountrevoke_reasonpending_change_details-
Permit assessment and revoking will now be carried out using a new
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessmentendpoint, with only cancelling now being carried out using the existingPUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusendpoint. The following fields will be removed from the latter:reasons_for_refusalassessment_discountrevoke_reasonpending_change_details
- Deeming is no longer tracked as an
assessment_status. It is now available via anis_deemedboolean in the response ofGET /works/{workReferenceNumber}/permits/{permitReferenceNumber} - BREAKING CHANGE:
reinstatement_typewill be added as a new required field forPOST /works/${workReferenceNumber}/sites. This is to prepare for the introduction of non-notifiable reinstatement work records. The value provided to this field should beexcavationfor current street manager reinstatements until the non-notifiable works feature is released. Reinstatement type is only provided when creating a site, any reinstatements added to an existing site will share the samereinstatement_type - BREAKING CHANGE:
final_reinstatementproperty has been removed fromPUT /works/{workReferenceNumber}/inspection-units. This can now be updated using the newPUT /works/{workReferenceNumber}/final-reinstatementendpoint. Inspection units can now be updated so long as there is an existing site/reinstatement for a work, and will be audited individually using the existing inspection_units_logged audit event - BREAKING CHANGE:
PUT /works/{workReferenceNumber}/excavationremoved. Promoters should now raise a permit alteration to update whether an excavation was carried out. - BREAKING CHANGE:
site_idandpermit_idresponse fields have removed. These have been replaced withsite_numberandpermit_reference_numberrespectively. The biggest impact of this change to when fetching the details of a site, the existingGET /works/{workReferenceNumber}/sites/{siteId}endpoint has been replaced withGET /works/{workReferenceNumber}/sites/{siteNumber} inspection_unitsadded to response ofGET /works/${workReferenceNumber}- A new endpoint
PUT /works/{workReferenceNumber}/final-reinstatementhas been created to update thefinal_reinstatementproperty. This is only applicable for works with excavation reinstatements, and a new audit event has been added for this,final_site_registered inspection_unitswill be optional forPOST /works/${workReferenceNumber}/sitesandPOST /works/${workReferenceNumber}/sites/${siteId}/reinstatements. Default to 1.length,width,depthandfinal_reinstatementfields will be optional forPOST /works/${workReferenceNumber}/sitesandPOST /works/${workReferenceNumber}/sites/${siteId}/reinstatements. They will still be mandatory for reinstatements wherereinstatement_typeis set to excavation. This is in preparation for non-notifiable works.secondary_reinstatement_coordinatesoptional field will be introduced toPOST /works/${workReferenceNumber}/sitesandPOST /works/${workReferenceNumber}/sites/${siteId}/reinstatements, it must be a GeoJSON geometry (using British National Grid easting and northing coordinate pairs) and must be a point, line string or polygon.number_of_holesoptional field will be introduced toPOST /works/${workReferenceNumber}/sitesandPOST /works/${workReferenceNumber}/sites/${siteId}/reinstatementsthis will be required if the reinstatement_type is one of bar holes, core holes or pole testing which will be supported when non-notifiable reinstatements are introduced to the system- Add
POST /section-81-works/section-81sto create a new Section 81 work. - Added the 'Connecting to the API services' section to the API documentation, to explicitly call out the need for clients to connect via DNS CNAMEs, rather than specific fixed IP addresses.
- BREAKING CHANGE:
permit_idhas been removed from the response ofGET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber} - BREAKING CHANGE:
permit_idhas been made optional from the response ofGET /works/{workReferenceNumber}"sites" property - BREAKING CHANGE:
permit_idhas been made optional from the response ofGET /works/{workReferenceNumber}/sites/{siteId} -
work_statuswill be added to the responses of the following endpoints:GET /works/{workReferenceNumber}GET /works/{workReferenceNumber}/permits/{permitReferenceNumber}
- BREAKING CHANGE:
swa_organisation_namehas been removed from the response ofGET /reinstatementsendpoint, replaced bypromoter_organisationandhighway_authority - BREAKING CHANGE:
permit_statushas been removed as a sorting filter from sort_column parameter onGET /permitsendpoint - BREAKING CHANGE:
forward_plan_statushas been removed as a sorting filter from from sort_column parameter onGET /forward-plansendpoint - BREAKING CHANGE:
sort_column and sort_directionhave been removed as parameters onGET /forward-plansendpoint - Updated wording to reflect entering Public Beta; re-worked environments and release management sections.
- Update the
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusendpoint to allow HAs to submit apermit_modification_request. See sequencing section for more details. - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}to makeclose_footwaymandatory - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permitsto makeclose_footwaymandatory - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto makeclose_footwaymandatory - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}to removehighway_authority - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}to removepromoter_organisation - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}to removepromoter_contact_details - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permitsto removepromoter_contact_details - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto removepromoter_contact_details - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}to renameapproved_contractortosecondary_contact - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permitsto renameapproved_contractortosecondary_contact - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto renameapproved_contractortosecondary_contact - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}to renamecontractor_contact_detailstosecondary_contact_number - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permitsto renamecontractor_contact_detailstosecondary_contact_number - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/alterationsto renamecontractor_contact_detailstosecondary_contact_number - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/permits/{permitReferenceNumber}/statusto makereasons_for_refusalmandatory when refusing permits - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/inspectionsto makeinspection_evidencemandatory - BREAKING CHANGE:
GET /permits/countsendpoint and associated response body removed - BREAKING CHANGE:
GET /sitesendpoint and associated response body removed - BREAKING CHANGE: Reporting API pagination updated across all reporting endpoints:
beforeandafterquery params removedoffsetquery param added instead (optional for the first page, must be a non-negative integer)total_countresponse property will no longer return exact number of rows, instead, 501 will be the maximum number of rows returned by this countpage_startproperty removed fromPaginationResponseReportingSummaryResponseremoved, meaning thecursorproperty is also removed from each paginated endpoint response- Added SANDBOX testing strategy details to Testing section
- BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/inspectionsrenaming the fieldunable_to_complete_detailstoinspection_outcome_details, allowingnon_compliantinspections andunable_to_completeinspection outcomes to use the same field to record additional details. Note that there can only ever be one scheduled inspection per work record. - BREAKING CHANGE: Update the request body of
POST /works/{workReferenceNumber}/inspectionsand response body ofGET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}renaming the fieldadditional_failure_commentstoadditional_comments - Add
POST /works/{workReferenceNumber}/scheduled-inspectionsto create a scheduled inspection from a work record. With a body with the following properties:inspection_date, of type DateTime; Optionalinspection_date_time, of type DateTime to be used to specify the time of a scheduled inspection;inspection_type, of typeInspectionTypeenum;inspection_categoryof typeInspectionCategoryenum - Add
DELETE /works/{workReferenceNumber}/scheduled-inspectionsto cancel the scheduled inspection for a work record. Note that there can only ever be one scheduled inspection per work record - Update the request body of
POST /works/{workReferenceNumber}/inspectionsto an optional fieldcall_logged_referenceof type string - Update the
InspectionTypeenum to renameslgtolive_siteanddefect_inspectiontonon_compliance_follow_up - Update the
InspectionCategoryenum to addsite_occupancyandconditionsboth selectable on the Create Inspection request if the InspectionType islive_site - Update the
InspectionOutcomesenum to renamewithdraw_defecttoagreed_site_complianceand addworks_stopped,works_stopped_apparatus_remaining,works_in_progress,works_in_progress_no_carriageway_incursion - Update the validation of
POST /works/{workReferenceNumber}/inspectionsthe fieldswas_call_logged,call_logged_to,call_logged_summary,call_logged_referenceare only accepted when when the InspectionType is set tolive_siteand the inspection outcome is set tofailed_high - Update the of
POST /worksandPOST /works/{workReferenceNumber}/permitsto automatically add the mandatory permit conditionsNCT01aandNCT01b. If these conditions are supplied as part of the create requests theircommentproperty will be ignored - Update the
GET /forward-plansendpoint to accept the following query parameters:forward_plan_status, of typeForwardPlanStatusarray;start_dateof type DateTime;end_dateof type DateTime;queryof type string, which will search by street name or forward plan reference number GET /works,GET /activitiesandGET /forward-plansendpoints have been updated to return GeoJSON FeatureCollection objects. Each GeoJSON Feature object now contains ageometryproperty which now reflects what theworks_coordinatespreviously were. Each GeoJSON Feature object also now contains apropertiesproperty which contains all previously available fields returned from the respective endpoints, for examplework_reference_numberwould be found here.- Add
GET /nsg/searchendpoint. (See resource guide for details) GET /nsg/streetsandGET /nsg/streets/{usrn}endpoints have been updated to returnstreet_special_desig_codeas an integer in order to reflect the [NSG specification](https://www.geoplace.co.uk/-/national-street-gazetteer-nsg-data-transfer-format-dtf-8-1-documents-released).- BREAKING CHANGE: Update Work API to change
POST /works/{workReferenceNumber}/inspectionsandGET /works/{workReferenceNumber}/inspections/{inspectionReferenceNumber}.failure_reasonsupdated from a string array to an array ofFailReasonDetails, which is composed of afailure_reason, of typeFailReasonenum;site\_ids, an array of affected sites; anddetails, a free text field description - BREAKING CHANGE: How we receive and provide NSG Special Designation information from the API now matches the NSG specification, we've introduced
special_desig_start_time,special_desig_end_timeandspecial_desig_periodicity_codeto various requests, see the swagger docs for more detail. - Update Work APIs
POST /works/{workReferenceNumber}/permitsto allow permit to be created on a works with only a forward plan. - Update
GET /works/{workReferenceNumber}/historywith aneventwhich is an enum of high-level event types that can occur in the system. - Added
PUT /works/{workReferenceNumber}/forward-plans/{forwardPlanReferenceNumber}/cancelendpoint to allow Promoters/Contractors to cancel forward plans. (See resource guide for details) - Restrict API users to the API interface and UI users to the UI interface
- Update Reporting API to add three optional query parameters added to the
GET /permitsandGET /alterationsendpoints in the Reporting API to enable lane rental filtering:lane_rental_assessment_outcome, array ofLaneRentalAssessmentOutcome; charges_not_agreed, of type boolean;lane_rental_charges_potentially_apply, of type boolean - Update the
POST /works/updatesendpoint with anupdate_idproperty. - Restrict API users to the API interface and UI users to the UI interface
- Added
GET /forward-plansendpoint to fetch forward plans in particular bounding box - Restrict API users to the API interface and UI users to the UI interface
- Update Party API to allow non-Admin, Planner users create and update workstreams associated with their organisation
- Restrict API users to the API interface and UI users to the UI interface
- Restrict API users to the API interface and UI users to the UI interface
- Updated inspections endpoint in Work API
- Updated authentication endpoint response in Work API
- Updated Work API to add additional forward plan endpoints and fields in existing endpoints
- Added forward plan endpoints to Reporting API
- Updated GET /works/updates endpoint on the Reporting API to include details on comments.
- Updated API documentation to explain permit reference number generation.
- Added Revert start and stop endpoints to Work API
- Added activities endpoints to Work API.
- Updated PermitSummaryResponse object in Reporting API to return more fields.
- Added forward plan endpoints to Work API.
- Added permit discount endpoint for updating discount after assessment to Work API.
- Audit events in the history response will include an object_reference. Where further information is required about what has changed this, object_reference can be used to find more details on the object
- Contractors can use the Reporting API to extract data from the service both as JSON and CSV format. These endpoints allow you to extract most works information efficiently for the organisations for which you're working. swa_code parameters are available on the endpoints which must be used by contractors to provide the SWA code of the promoter they are working for.
- Added lane rental assessment endpoints to Work API.
- Added activities endpoint to GeoJSON API to find activities in a given area.
- Added forgot password and password reset endpoints to Party API.
- Updated WRN validation to allow underscores as a replace character for non-URL friendly characters.
- New optional boolean properties have been added to the Reporting API `GET /permits` and `GET /alterations` endpoints for filtering results
- `access_token` and `refresh_token` properties have been added to the response of `POST /authenticate`. The `refresh_token` can be provided to the new Party API `POST /refresh` endpoint to retrieve a refreshed `id_token` and `access_token`. The `access_token` can be provided to the Party API `POST /logout` endpoint to invalidate all tokens associated with a user.
- An optional parameter, workstream_prefix, has been added to POST /work and POST /works/{work reference number}/permits endpoints, to allow API users to specify workstream for permit (if not set will default to "000"), see API Documentation Resource guide for details
- API user can now request further information on the updates Permits by calling the POST /permits/search with a list of work reference numbers returned by the GET /works/updates end point, see API Documentation Resource guide for details
- The street lookup information can now be returned using a USRN rather than coordinates. The GET streets/{usrn} endpoint will return a single street for the supplied USRN, see API Documentation Resource guide for details Updated Work API with non-breaking changes:
- If the user does not supply a work_reference_number as part of the request body to POST /works then it will be auto-generated with the following format:
<2 letter swa_org_prefix><3-letter workstream prefix><8 digit random number>
The generated work_reference_number is returned in the response.
More detail is available in the V1.1 API documentation Resource Guide for the Create work endpoint. - Updated Reporting API, added new sorting options for GET /permits to allow sorting by start/end/status Added new optional filter parameters for GET /fixed-penalty-notices to allow filtering by date Added new fields to GET /inspections response, returning Highway Authority and Promoter Organisation
- Added Environments section
- Added Versioning and Release Management section
- Added Roadmap section
- Referenced Onboarding and Business rule documents
- Updated Sequencing section with new flows and details
- Updated security section with details on user roles, see Security
- Added static Swagger JSON files, see Resource guide
- Added detail on continuous polling endpoint, see Technical Overview and Resource guide
- Exposed Street Lookup API, GeoJSON API and Reporting API for external use, see Technical Overview
- Details added for Polling endpoint planned for Reporting API, see Technical Overview
- Plans added for Notifications, see Technical Overview
- Details added for User account roles and permissions, see Security
- Additional features added to Work API
- Works history
- Works comments
- Submit immediate permit
- Permit alterations
- Scheduled inspections
- Permit cancellation
- Submit PAA
- Progress PAA to PA
town in its request body (if not provided, it will be inferred from NSG data):
{: .govuk-body}
town in their respective responses:
{: .govuk-body}
town in their respective responses:
{: .govuk-body}
GET /works/{workReferenceNumber}/section-81s/{section81ReferenceNumber} was listed as being released on the Party API. This was incorrect. This endpoint is available on the Works API and the documentation has been corrected.
{: .govuk-body}
Version 1.11 (12/12/2019):
{: .govuk-heading-s #upcoming-changes}
All APIs will be updated with the following changes:
{: .govuk-body}
permit_status field will be changing across the Works API, Reporting API and GeoJSON API. The new permit_status values are:
{: .govuk-body}
forward_plan_status available values will also be updated to replace closed with progressed. The new list of forward_plan_status values are:
{: .govuk-body}
assessment_status field will be updated and will no longer re-use the same values of the permit_status field. The new assessment_status values are:
{: .govuk-body}
assessment_status, instead the response of GET /works/{workReferenceNumber}/permits/{permitReferenceNumber} will now contain a boolean is_deemed property to indicate whether or not a permit has deemed.
{: .govuk-body}
Now that assessment_status and permit_status will contain different values, permit assessment will now be carried out by a new endpoint PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessment. Actions that will be carried out by this new endpoint include:
{: .govuk-body}
PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/status. The following properties will be removed from this endpoint and migrated to the PUT /works/{workReferenceNumber}/permits/{permitReferenceNumber}/assessment endpoint:
{: .govuk-body}