department-for-transport-public / D-TRO

Digital Traffic Regulation Orders (D-TRO)
MIT License
3 stars 1 forks source link

"traAffected" in Integration - create #20

Closed martinl-sym closed 4 weeks ago

martinl-sym commented 1 month ago

It seems like the "traAffected" in integration only includes codes 1234 and 4643.

I would expect all SWA codes to be available to test supplying d-tro for different local authorities.

Also to ensure this is available in production.

JHB9876 commented 4 weeks ago

On behalf of DfT:

We foresee and expect all SWA codes to be available to test for supplying D-TRO records for different local authorities. The D-TRO Service does not activate SWA codes for Traffic Regulation Authorities that are not already using our system (meaning they need to be onboarded as Publishers first). Therefore, if we upload a record that has a traAffected that is not already into D-TRO system, it will fail.

Also, as an example, if you are in the systems as tra 1, you won't be able to add records for tra 2.