... | ... | @@ -40,7 +40,7 @@ Through the operation **GET** to the *endpoint* **/bandejasalida/1.0/srtievents* |
|
|
|
|
|
The REST API is hosted in the following domain:
|
|
|
|
|
|
> https://bandejadesalida-dev.cmobility30.es:8443
|
|
|
> https://pre.cmobility30.es
|
|
|
|
|
|
Some points to keep in mind:
|
|
|
|
... | ... | @@ -52,7 +52,7 @@ Some points to keep in mind: |
|
|
|
|
|
For the validation of the user, a token must be obtained and attached in the body of the requests.
|
|
|
|
|
|
> https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/getToken
|
|
|
> [General · (cmobility30.es)](https://gitlab.cs.cmobility30.es/dgt3.0_esp/general/-/wikis/home)
|
|
|
|
|
|
Example of correct answer:
|
|
|
|
... | ... | @@ -82,23 +82,13 @@ Example of wrong answer: |
|
|
|
|
|
The API makes available to users a series of *endpoints* with the data that make up the main event:
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getCategories
|
|
|
- https://pre.cmobility30.es/bandejadesalida/v1/mastertables/categories
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getChangeTables
|
|
|
- https://pre.cmobility30.es/bandejadesalida/v1/mastertables/modes
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getEventsArea
|
|
|
- https://pre.cmobility30.es/bandejadesalida/v1/mastertables/geomtypes
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getModes
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getProvinces
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getRoads/:idProv
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getRoadsDirection
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getErrorCodes
|
|
|
|
|
|
- https://bandejadesalida-dev.cmobility30.es:8443/api/1.0/mastertables/getTypesPmvv
|
|
|
- https://pre.cmobility30.es/bandejadesalida/v1/mastertables/direction
|
|
|
|
|
|
The format will be:
|
|
|
|
... | ... | @@ -185,11 +175,3 @@ Response example: |
|
|
"withgeom":1
|
|
|
}
|
|
|
``` |
|
|
|
|
|
## Swagger UI
|
|
|
|
|
|
The application makes a self-generated Swagger available to the user. It can be found at the following URL:
|
|
|
|
|
|
> https://bandejadesalida-dev.cmobility30.es:8443/swagger-ui.html
|
|
|
|
|
|
You must have the certificate to access. |
|
|
\ No newline at end of file |