App\Entity\Route
Resource class
Resource Metadata
Short name: "Route"
Item operations | Attributes |
---|---|
get | [ "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
delete | [ "method" => "DELETE" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
put | [ "method" => "PUT" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
patch | [ "method" => "PATCH" "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "jsonapi" => [ "application/vnd.api+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
insertday | [ "path" => "/route/{id}/insertday" "controller" => "App\Controller\RouteInsertDay" "method" => "POST" "openapi_context" => [ "public" => false "summary" => "Insert Day" "parameters" => [ [ "name" => "type" "required" => true "in" => "body" "description" => "before | after" ] [ "name" => "dayId" "required" => true "in" => "body" "description" => "ID of RouteDay for relation" ] ] "responses" => [ 200 => [ "description" => "json array with data of updated routeElements" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
route_settings | [ "path" => "/route/{id}/settings" "controller" => "App\Controller\RouteSettings" "method" => "POST" "openapi_context" => [ "public" => false "summary" => "Add Element to the route" "parameters" => [ [ "name" => "type" "required" => true "in" => "body" "description" => "RouteElement, Delivery, Location" ] [ "name" => "elementid" "required" => true "in" => "body" "description" => "ID of Delivery or Location" ] ] "responses" => [ 200 => [ "description" => "json array with data of updated routeElements" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
route_plan | [ "path" => "/route/{id}/planning" "controller" => "App\Controller\RoutePlanning" "method" => "POST" "openapi_context" => [ "public" => false "summary" => "Plan Route" "parameters" => [ [ "name" => "type" "required" => true "in" => "body" "description" => "RouteElement, Delivery, Location" ] [ "name" => "elementid" "required" => true "in" => "body" "description" => "ID of Delivery or Location" ] ] "responses" => [ 200 => [ "description" => "json array with data of updated routeElements" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
route_archive | [ "path" => "/route/{id}/archive" "controller" => "App\Controller\RouteArchive" "method" => "POST" "openapi_context" => [ "public" => false "summary" => "Move Route to archive" "parameters" => [ [ "name" => "type" "required" => true "in" => "body" "description" => "RouteElement, Delivery, Location" ] [ "name" => "elementid" "required" => true "in" => "body" "description" => "ID of Delivery or Location" ] ] "responses" => [ 200 => [ "description" => "json array with data of updated routeElements" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
move_element | [ "path" => "/route/{id}/move_element" "controller" => "App\Controller\RouteElementMove" "method" => "POST" "openapi_context" => [ "public" => false "summary" => "Move element in Route" "parameters" => [ [ "name" => "route_element_id" "required" => true "in" => "body" "description" => "ID of Route Element to move" ] [ "name" => "day_from" "required" => true "in" => "body" "description" => "ID of old Route Day" ] [ "name" => "day_to" "required" => true "in" => "body" "description" => "ID of new Route Day" ] [ "name" => "old_sequence" "required" => true "in" => "body" "description" => "Old Sequence" ] [ "name" => "new_sequence" "required" => true "in" => "body" "description" => "New Sequence" ] ] "responses" => [ 200 => [ "description" => "json array with data of updated elements" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
loading_pdf | [ "path" => "/route/{id}/routepdf-dl" "controller" => "App\Controller\RouteLoadingPDF" "method" => "GET" "openapi_context" => [ "public" => false "summary" => "Download PDF for load packages" ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
z_check_route | [ "path" => "/route/{id}/refresh" "controller" => "App\Controller\RouteRefresh" "method" => "POST" "openapi_context" => [ "public" => false "summary" => "Refresh Route Elements and Locations" "responses" => [ 200 => [ "description" => "json array with data of updated elements" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
Collection operations | Attributes |
---|---|
get | [ "method" => "GET" "normalization_context" => [ "groups" => [ "route:list" ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
post | [ "method" => "POST" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
route_calculation | [ "path" => "/route/calculate" "controller" => "App\Controller\RouteCalculation" "method" => "POST" "openapi_context" => [ "public" => false "tags" => [ "Route Calculations" ] "summary" => "Do several Route Calculations" "parameters" => [ [ "name" => "polygons" "required" => true "in" => "body" "description" => "Your Polygons as array(array(latitude, longitude), ...)" ] ] "responses" => [ 200 => [ "description" => "json array with route data" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
route_generation | [ "path" => "/route/generate" "controller" => "App\Controller\RouteGeneration" "method" => "POST" "openapi_context" => [ "public" => false "tags" => [ "Route Calculations" ] "summary" => "Do several Route Calculations" "parameters" => [ [ "name" => "polygons" "required" => true "in" => "body" "description" => "Your Polygons as array(array(latitude, longitude), ...)" ] ] "responses" => [ 200 => [ "description" => "json array with route data" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
route_info | [ "path" => "/route/routs_info" "controller" => "App\Controller\GetRouteInfo" "method" => "POST" "openapi_context" => [ "public" => true "summary" => "Get routs info" "description" => "Return total km, count location and total weight" "responses" => [ 200 => [ "description" => "json array with route data" ] ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "jsonhal" => [ "application/hal+json" ] "jsonapi" => [ "application/vnd.api+json" ] "json" => [ "application/json" ] "xml" => [ "application/xml" "text/xml" ] "yaml" => [ "application/x-yaml" ] "csv" => [ "text/csv" ] "html" => [ "text/html" ] ] ] |
Filters | |
---|---|
annotated_app_entity_route_api_platform_core_bridge_doctrine_orm_filter_search_filter string(56) "ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter" |
Attributes | |
---|---|
order | [ "startDate" "routeDays.dayIndex" ] |
normalization_context | [ "groups" => [ "layout:read" ] ] |
pagination_client_enabled | true |
pagination_client_items_per_page | true |
pagination_items_per_page | 100 |
input | null |
output | null |
Data Providers
No calls to collection data provider have been recorded.
No calls to item data provider have been recorded.
No calls to subresource data provider have been recorded.
Data Persisters
No calls to data persister have been recorded.