POST https://pim.tecnafood.it/api/magento/import

MagentoController :: indexAction

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
{"priority":"availability","api_key":"test-api-key","date":"2020-01-01"}
""

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Integrate\ImportApiBundle\Controller\MagentoController::indexAction"
_editmode
false
_event_controller
Integrate\ImportApiBundle\Controller\MagentoController {#1886
  #container: Symfony\Component\DependencyInjection\Argument\ServiceLocator {#1889 …}
  -mg_api_key: "test-api-key"
  -mandatory_fields: [
    "priority" => [
      "high"
      "medium"
      "low"
      "availability"
      "media"
    ]
  ]
  -mapping: "/var/www/public_html/bundles/Integrate/ImportApiBundle/src/Controller/../Mappings/magento2-export.yaml"
  -mappings: [
    "mandatory" => [
      "SKU" => "sku"
      "Listino1_prezzo" => "price"
      "vetrina_nome_prodotto_magento" => "name"
      "product_type" => "type_id"
    ]
    "high" => [
      "custom_grouped_message" => "custom_grouped_message"
      "disponibilita_custom" => "messaggio_disponibilita_custom"
      "stato_inventario" => "is_in_stock"
      "Vendibile" => "qty"
      "prezzo_offerta" => "special_price"
      "data_inizio_offerta" => "special_from_date"
      "data_fine_offerta" => "special_to_date"
      "status" => "status"
      "variabile_prodotto_semplice" => "variabile_prodotto_semplice"
      "short_description" => "short_description"
      "description" => "description"
      "visibility" => "visibility"
      "backorders" => "backorders"
    ]
    "medium" => null
    "low" => [
      "Aliquota_IVA" => "tax_class_name"
      "categoria_merceologica_1" => "categoria_merceologica_1"
      "categoria_merceologica_2" => "categoria_merceologica_2"
      "categoria_merceologica_3" => "categoria_merceologica_3"
      "Fornitore" => "fornitore"
      "sinonimi" => "sinonimi"
      "consumabile" => "consumabile"
      "unit_pricing_measure" => "unit_pricing_measure"
      "brand" => "brand"
      "indice_spedizioni" => "indice_spedizioni"
      "am_shipping_type" => "am_shipping_type"
      "Quantita_min_carrello" => "min_sale_qty"
      "abilita_incrementi_qta" => "enable_qty_increments"
      "incrementi_qta" => "qty_increments"
      "offer_item_condition" => "am_offer_item_condition"
      "taglia_abbigliamento" => "taglia_abbigliamento"
      "verso_guanto" => "verso_guanto"
      "enable_cptp" => "cptp_enable"
      "Robots" => "amtoolkit_robots"
      "meta_title" => "meta_title"
      "meta_description" => "meta_description"
      "meta_keyword" => "meta_keyword"
      "am_hide_from_html_sitemap" => "am_hide_from_html_sitemap"
      "certification_authority" => "certification_authority"
      "certification_name" => "certification_name"
      "certification_code" => "certification_code"
      "Peso" => "weight"
      "EAN" => "ean"
      "Categoria_sconto_descr" => "PWA_SP_sconto_rivenditori"
      "A_Taglie" => "articolo_a_taglie"
      "classe_energetica" => "energy_efficiency_class"
      "alt_base_image" => "base_image_label"
      "alt_small_image" => "small_image_label"
      "alt_thumbnail_image" => "thumbnail_image_label"
      "alt_flip_image" => "flip_image_label"
    ]
    "media" => [
      "Immagine_magento_base" => "base_image"
      "immagine_magento_small" => "small_image"
      "immagine_magento_thumbnail" => "thumbnail_image"
      "immagine_magento_flip" => "flip_image"
      "imageGallery" => "additional_images"
    ]
    "availability" => [
      "messaggio_disponibilita" => "messaggio_disponibilita"
      "data_disponibilita" => "data_disponibilita"
      "Costo_STD" => "prezzo_acquisto"
      "categoria_sconto" => "PWA_SP_sconto_rivenditori"
      "Vendibile" => "qty"
      "stato_inventario" => "is_in_stock"
    ]
  ]
  -assetLogger: Integrate\ImportApiBundle\Service\IntegrateAssetLogger {#1887 …}
}
_firewall_context
"security.firewall.map.context.main"
_pimcore_context
"default"
_pimcore_frontend_request
true
_route
"integrate_importapi_magento_index"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"9afc2e"
contentDocument
Pimcore\Model\Document\Page {#1763
  #dao: Pimcore\Model\Document\Page\Dao {#1769 …}
  #dependencies: null
  #__dataVersionTimestamp: 1708181545
  #path: "/"
  #properties: []
  #id: 1
  #creationDate: 1708181545
  #modificationDate: 1708181545
  #versionCount: 0
  #userOwner: 1
  #locked: null
  #userModification: 1
  #parentId: 0
  #parent: null
  #_fulldump: false
  #dirtyFields: []
  -activeDispatchingEvents: []
  #fullPathCache: null
  #type: "page"
  #key: ""
  #index: 999999
  #published: true
  #children: []
  #siblings: []
  #controller: "App\Controller\DefaultController::defaultAction"
  #template: ""
  #editables: null
  #versions: null
  #contentMainDocumentId: &1 null
  #contentMasterDocumentId: &1 null
  #supportsContentMain: true
  #missingRequiredEditable: null
  #staticGeneratorEnabled: null
  #staticGeneratorLifetime: null
  #inheritedEditables: []
  #scheduledTasks: null
  #title: ""
  #description: ""
  #prettyUrl: null
  dependencies: null
  __dataVersionTimestamp: 1708181545
  path: "/"
  properties: []
  id: 1
  creationDate: 1708181545
  modificationDate: 1708181545
  versionCount: 0
  userOwner: 1
  locked: null
  userModification: 1
  parentId: 0
  parent: null
  _fulldump: false
  dirtyFields: []
  fullPathCache: null
  type: "page"
  key: ""
  index: 999999
  published: true
  children: []
  siblings: []
  controller: "App\Controller\DefaultController::defaultAction"
  template: ""
  editables: null
  versions: null
  contentMainDocumentId: null
  contentMasterDocumentId: null
  supportsContentMain: true
  missingRequiredEditable: null
  staticGeneratorEnabled: null
  staticGeneratorLifetime: null
  inheritedEditables: []
  scheduledTasks: null
  title: ""
  description: ""
  prettyUrl: null
}

Request Headers

Header Value
accept
"*/*"
content-length
"72"
content-type
"application/x-www-form-urlencoded"
host
"pim.tecnafood.it"
user-agent
"PHP RestClient/0.1.8"
x-php-ob-level
"1"

Request Content

Raw

{"priority":"availability","api_key":"test-api-key","date":"2020-01-01"}

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-language
"en"
content-type
"application/json"
date
"Tue, 09 Jun 2026 12:00:05 GMT"
expires
"Tue, 01 Jan 1980 00:00:00 GMT"
pragma
"no-cache"
x-debug-token
"908e61"
x-powered-by
"pimcore"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/var/www/public_html/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 78
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 46
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 80
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/security-http/Firewall.php"
    "line" => 95
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 157
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/public_html/public/index.php"
    "line" => 19
    "args" => [
      "/var/www/public_html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
DB_HOST
"localhost"
DB_NAME
"magento"
DB_PASSWORD
"%15Q6#b6X5bn"
DB_PORT
"3306"
DB_USER
"magento"
MAILER_DSN
"smtp://e425df6b-d58f-420f-9d5a-44e8659bc958:e425df6b-d58f-420f-9d5a-44e8659bc958@smtp.elasticemail.com:2525?encryption=tls"
MAIL_FROM_ADDRESS
"noreply@tecnafood.it"
MAIL_FROM_NAME
"Tecnafood B2B"
MG_API_KEY
"test-api-key"
MG_PWD
"wFBVy(5[:2PO+cy*17f}xRQ5m"
MG_URL
"https://m2.tecnafood.it/"
MG_USR
"pim"
ORDER_NOTIFICATION_BCC
""
ORDER_NOTIFICATION_CC
"sanedda@integrate.digital"
ORDER_NOTIFICATION_TO
"rivenditori@tecnafood.it"
PIMCORE_DEV_MODE
"true"
RECAPTCHA_SECRET_KEY
"6Ld8MwwtAAAAAO66Hzms4jCmVyiN6Ut2solKUOkj"
RECAPTCHA_SITE_KEY
"6Ld8MwwtAAAAAPD3BkQguQz6ZxzTXStjQj3m0AvG"
ZS_PWD
"kd/a%5AwQmP.?"
ZS_SERVER
"188.14.219.151:82"
ZS_USR
"integrate@tecnafood.it"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"72"
CONTENT_TYPE
"application/x-www-form-urlencoded"
CONTEXT_DOCUMENT_ROOT
"/var/www/public_html/public"
CONTEXT_PREFIX
""
DOCTRINE_DEPRECATIONS
"trigger"
DOCUMENT_ROOT
"/var/www/public_html/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"1"
H2_STREAM_TAG
"3656328-58-1"
HOME
"/var/www"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"pim.tecnafood.it"
HTTP_USER_AGENT
"PHP RestClient/0.1.8"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"1"
REDIRECT_H2_STREAM_TAG
"3656328-58-1"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"pim.tecnafood.it"
REDIRECT_STATIC_PAGE_URI
"/%home"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aigARTAX9dqgagIBkAH9hwAABgs"
REDIRECT_URL
"/api/magento/import"
REMOTE_ADDR
"46.225.224.173"
REMOTE_PORT
"41626"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1781006405
REQUEST_TIME_FLOAT
1781006405.1363
REQUEST_URI
"/api/magento/import"
SCRIPT_FILENAME
"/var/www/public_html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"116.203.54.193"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"pim.tecnafood.it"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SHELL_VERBOSITY
3
SSL_TLS_SNI
"pim.tecnafood.it"
STATIC_PAGE_URI
"/%home"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,PIMCORE_DEV_MODE,DB_HOST,DB_PORT,DB_NAME,DB_USER,DB_PASSWORD,MG_API_KEY,ZS_SERVER,ZS_USR,ZS_PWD,MG_URL,MG_USR,MG_PWD,MAILER_DSN,MAIL_FROM_ADDRESS,MAIL_FROM_NAME,ORDER_NOTIFICATION_TO,ORDER_NOTIFICATION_CC,ORDER_NOTIFICATION_BCC,RECAPTCHA_SITE_KEY,RECAPTCHA_SECRET_KEY"
UNIQUE_ID
"aigARTAX9dqgagIBkAH9hwAABgs"
USER
"magento"
proxy-nokeepalive
"1"