electrical_profiles
import a new electrical profile set
Changed onpost/electrical_profile_set
Request
- Base URL: https://demo.osrd.fr/api
- URL: https://demo.osrd.fr/api/electrical_profile_set
- Auth: none declared
Query parameters
namestring required
Request body
Example request
{
"levels": [
{
"power_class": "1",
"track_ranges": [
{
"track": "01234567-89ab-cdef-0123-456789abcdef"
}
],
"value": "A"
}
]
}Response
The list of ids and names of electrical profile sets available
Example response
{
"data": {
"levels": [
{
"power_class": "1",
"track_ranges": [
{
"track": "01234567-89ab-cdef-0123-456789abcdef"
}
],
"value": "A"
}
]
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info