https://api.nomadcloud.fr/api/histories-analytics?month=7&nbrMonth=6&optionSelect=V&page=1&pointOfSaleId=4&year=2025

App\Entity\History Resource class

Resource Metadata

Short name: "Historiques des productions"

Item operations Attributes
historiessId
[
  "method" => "GET"
  "path" => "/histories/{id}"
  "read" => false
  "openapi_context" => [
    "summary" => "Récuperer une production par son ID."
    "description" => "Récuperer une production par son ID."
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "csv" => [
      "text/csv"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
    "binary" => [
      "application/octet-stream"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "csv" => [
      "text/csv"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
    "binary" => [
      "application/octet-stream"
    ]
  ]
]
Collection operations Attributes
historiesAnalytics
[
  "method" => "GET"
  "path" => "/histories-analytics"
  "controller" => "App\Controller\Api\History\HistoryAnalyticsController"
  "output" => [
    "class" => "App\Dto\ProductionsAnalytics"
    "name" => "ProductionsAnalytics"
  ]
  "openapi_context" => [
    "summary" => "Récupérer l'analyse des ventes pour un point de vente, un secteur  sur un mois donné."
    "description" => "Récupérer l'analyse des ventes pour un point de vente, un secteur  sur un mois donné."
    "parameters" => [
      [
        "name" => "pointOfSaleId"
        "in" => "query"
        "description" => "ID de point de vente"
        "type" => "integer"
        "required" => false
      ]
      [
        "name" => "organisationId"
        "in" => "query"
        "description" => "ID organisation"
        "type" => "integer"
        "required" => false
      ]
      [
        "name" => "codeCluster"
        "in" => "query"
        "description" => "code Cluster"
        "type" => "string"
        "required" => false
      ]
      [
        "name" => "codeInsee"
        "in" => "query"
        "description" => "code INSEE"
        "type" => "string"
        "required" => false
      ]
      [
        "name" => "month"
        "in" => "query"
        "description" => "mois"
        "type" => "integer"
        "required" => false
        "example" => 1
      ]
      [
        "name" => "year"
        "in" => "query"
        "description" => "année"
        "type" => "integer"
        "required" => false
        "example" => 2025
      ]
      [
        "name" => "optionSelect"
        "in" => "query"
        "description" => "option de sélection (B:Brute,V:Validation,R:Raccordement)"
        "type" => "string"
        "required" => false
        "example" => "V"
      ]
      [
        "name" => "categoryId"
        "in" => "query"
        "description" => "Catégorie"
        "schema" => [
          "type" => "array"
          "items" => [
            "type" => "integer"
          ]
        ]
        "required" => false
      ]
      [
        "name" => "nbrMonth"
        "in" => "query"
        "description" => "nombre du mois"
        "type" => "integer"
        "required" => false
        "example" => 6
      ]
      [
        "name" => "idUser"
        "in" => "query"
        "description" => "ID uilisateur"
        "type" => "integer"
        "required" => false
      ]
      [
        "name" => "sellerId"
        "in" => "query"
        "description" => "ID vendeur"
        "type" => "integer"
        "required" => false
      ]
      [
        "name" => "perid"
        "in" => "query"
        "description" => "Identifiant vendeur"
        "type" => "string"
        "required" => false
      ]
      [
        "name" => "departement"
        "in" => "query"
        "description" => "Département"
        "type" => "string"
        "required" => false
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "csv" => [
      "text/csv"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
    "binary" => [
      "application/octet-stream"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "csv" => [
      "text/csv"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
    "binary" => [
      "application/octet-stream"
    ]
  ]
]
Filters
No available filter declared for this resource.
Attributes
input
null
output
null

Data Providers

# Answer Collection data provider
1 TRUE ApiPlatform\Core\Bridge\Doctrine\Orm\CollectionDataProvider
Context
[
  "filters" => [
    "year" => "2025"
    "month" => "7"
    "nbrMonth" => "6"
    "page" => "1"
    "optionSelect" => "V"
    "pointOfSaleId" => "4"
  ]
  "operation_type" => "collection"
  "collection_operation_name" => "historiesAnalytics"
  "resource_class" => "App\Entity\History"
  "iri_only" => false
  "input" => null
  "output" => [
    "class" => "App\Dto\ProductionsAnalytics"
    "name" => "ProductionsAnalytics"
  ]
  "request_uri" => "/api/histories-analytics?year=2025&month=7&nbrMonth=6&page=1&optionSelect=V&pointOfSaleId=4"
  "uri" => "https://api.nomadcloud.fr/api/histories-analytics?month=7&nbrMonth=6&optionSelect=V&page=1&pointOfSaleId=4&year=2025"
]

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.