ScriptsController :: restPimOdooPricesAction
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "StockBundle\Controller\ScriptsController::restPimOdooPricesAction" |
_editmode | false |
_evented_controller | StockBundle\Controller\ScriptsController {#2622 -db: Pimcore\Db\Connection {#318 …} -logger: Pimcore\Log\ApplicationLogger {#2623 …} -odooExport: StockBundle\Tools\OdooExport {#2628 …} -mmConfig: StockBundle\Tools\Common\MonkeyConfig {#2645 …} -opencart: StockBundle\Tools\OpencartConnector {#2646 …} -pim_root_cat_id: 56 #container: ContainerXhyNa0j\appAppKernelDevDebugContainer {#65 …} } |
_firewall_context | "security.firewall.map.context.demo_cms_fw" |
_pimcore_context | "default" |
_pimcore_frontend_request | true |
_route | "rest_pim_odoo_prices" |
_route_params | [] |
_stopwatch_token | "464aa5" |
_template_controller | [ StockBundle\Controller\ScriptsController {#2622 -db: Pimcore\Db\Connection {#318 …} -logger: Pimcore\Log\ApplicationLogger {#2623 …} -odooExport: StockBundle\Tools\OdooExport {#2628 …} -mmConfig: StockBundle\Tools\Common\MonkeyConfig {#2645 …} -opencart: StockBundle\Tools\OpencartConnector {#2646 …} -pim_root_cat_id: 56 #container: ContainerXhyNa0j\appAppKernelDevDebugContainer {#65 …} } "restPimOdooPricesAction" ] |
_template_controller_auto_render | true |
_template_controller_auto_render_engine | "php" |
contentDocument | Pimcore\Model\Document\Page {#2556 #title: "" #description: "" #metaData: [] #type: "page" #prettyUrl: null #targetGroupIds: "" -useTargetGroup: null #module: null #controller: "default" #action: "default" #template: "" -elements: null #editables: null #versions: null #contentMasterDocumentId: "0" #supportsContentMaster: true #missingRequiredEditable: null -inheritedElements: [] #inheritedEditables: [] #fullPathCache: null #id: 1 #parentId: 0 #parent: null #key: "" #path: "/" #index: 999999 #published: true #creationDate: 1368522989 #modificationDate: 1600347041 #userOwner: 1 #userModification: 0 #properties: [ "blog" => Pimcore\Model\Property {#2554 #name: "blog" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 1 #inheritable: true #inherited: false #dao: null : "blog" : null : "document" : "document" : null : 1 : true : false } "language" => Pimcore\Model\Property {#2551 #name: "language" #data: "en" #type: "text" #ctype: "document" #cpath: null #cid: 1 #inheritable: true #inherited: false #dao: null : "language" : "en" : "text" : "document" : null : 1 : true : false } "leftNavStartNode" => Pimcore\Model\Property {#2549 #name: "leftNavStartNode" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 1 #inheritable: true #inherited: false #dao: null : "leftNavStartNode" : null : "document" : "document" : null : 1 : true : false } "mainNavStartNode" => Pimcore\Model\Property {#2548 #name: "mainNavStartNode" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 1 #inheritable: true #inherited: false #dao: null : "mainNavStartNode" : null : "document" : "document" : null : 1 : true : false } "navigation_name" => Pimcore\Model\Property {#2547 #name: "navigation_name" #data: "Home" #type: "text" #ctype: "document" #cpath: null #cid: 1 #inheritable: false #inherited: false #dao: null : "navigation_name" : "Home" : "text" : "document" : null : 1 : false : false } "sidebar" => Pimcore\Model\Property {#2546 #name: "sidebar" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 1 #inheritable: true #inherited: false #dao: null : "sidebar" : null : "document" : "document" : null : 1 : true : false } ] #children: [] #hasChildren: [] #siblings: [] #hasSiblings: [] #locked: null #versionCount: 3 #dependencies: null #__dataVersionTimestamp: 1600347041 #dao: null #_fulldump: false #o_dirtyFields: null +scheduledTasks: null +"____pimcore_cache_item__": "document_1" : "" : "" : [] : "page" : null : "" : null : "default" : "default" : "" : null : null : "0" : true : null : [] : null : 1 : 0 : null : "" : "/" : 999999 : true : 1368522989 : 1600347041 : 1 : 0 : [ "blog" => Pimcore\Model\Property {#2554} "language" => Pimcore\Model\Property {#2551} "leftNavStartNode" => Pimcore\Model\Property {#2549} "mainNavStartNode" => Pimcore\Model\Property {#2548} "navigation_name" => Pimcore\Model\Property {#2547} "sidebar" => Pimcore\Model\Property {#2546} ] : [] : [] : [] : [] : null : 3 : null : 1600347041 : false : null : null } |
Request Headers
Header | Value |
---|---|
accept-encoding | "identity" |
content-length | "757" |
content-type | "application/json" |
host | "pim.monkeymusic.ua" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "products": [ { "odoo_id": 1843, "pp_odoo_id": 1835, "sku": "zildjian-zastblk", "price": 715, "discount_price": 715, "qty_misha": 5, "pim_id": "4257", "qty_suppliers": 0, "sort_priority": 22, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 418, "pp_odoo_id": 418, "sku": "elixir-12002", "price": 690, "discount_price": 690, "qty_misha": 7, "pim_id": "65", "qty_suppliers": 0, "sort_priority": 133, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1620, "pp_odoo_id": 1613, "sku": "vic-firth-pad6", "price": 1331, "discount_price": 1331, "qty_misha": 5, "pim_id": "8100", "qty_suppliers": 0, "sort_priority": 19, "next_available_date": false, "tags": "", "stock_status_id": 5 } ] }
Raw
{"products": [{"odoo_id": 1843, "pp_odoo_id": 1835, "sku": "zildjian-zastblk", "price": 715.0, "discount_price": 715.0, "qty_misha": 5.0, "pim_id": "4257", "qty_suppliers": 0.0, "sort_priority": 22, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 418, "pp_odoo_id": 418, "sku": "elixir-12002", "price": 690.0, "discount_price": 690.0, "qty_misha": 7.0, "pim_id": "65", "qty_suppliers": 0.0, "sort_priority": 133, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1620, "pp_odoo_id": 1613, "sku": "vic-firth-pad6", "price": 1331.0, "discount_price": 1331.0, "qty_misha": 5.0, "pim_id": "8100", "qty_suppliers": 0.0, "sort_priority": 19, "next_available_date": false, "tags": "", "stock_status_id": 5}]}
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-language | "en" |
content-type | "application/json" |
date | "Sat, 21 Sep 2024 17:22:42 GMT" |
x-debug-token | "6b9153" |
x-powered-by | "pimcore" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_ENV | "dev" |
SECRET | "wwb40zz1JSiIledjreguHmBfZ0fKn6ro" |
Defined as regular env variables
Key | Value |
---|---|
CONTENT_LENGTH | "757" |
CONTENT_TYPE | "application/json" |
DOCUMENT_ROOT | "/var/www/pim.monkeymusic.com.ua/my-project/web" |
DOCUMENT_URI | "/app.php" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/lib/nginx" |
HTTPS | "on" |
HTTP_ACCEPT_ENCODING | "identity" |
HTTP_CONTENT_LENGTH | "757" |
HTTP_CONTENT_TYPE | "application/json" |
HTTP_HOST | "pim.monkeymusic.ua" |
PHP_SELF | "/app.php" |
PIMCORE_ENVIRONMENT | "dev" |
QUERY_STRING | "" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "173.249.36.175" |
REMOTE_PORT | "59054" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1726939362 |
REQUEST_TIME_FLOAT | 1726939362.1247 |
REQUEST_URI | "/rest/pim-odoo-prices-update" |
SCRIPT_FILENAME | "/var/www/pim.monkeymusic.com.ua/my-project/web/app.php" |
SCRIPT_NAME | "/app.php" |
SERVER_ADDR | "173.249.36.175" |
SERVER_NAME | "pim.monkeymusic.ua" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.20.1" |
SYMFONY_DOTENV_VARS | "APP_ENV,SECRET" |
SYMFONY_ENV | "dev" |
USER | "nginx" |