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 | "4e3c23" |
_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 | "3222" |
content-type | "application/json" |
host | "pim.monkeymusic.ua" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "products": [ { "odoo_id": 1842, "pp_odoo_id": 1834, "sku": "zildjian-z5aacdgg", "price": 625, "discount_price": 625, "qty_misha": 4, "pim_id": "4256", "qty_suppliers": 0, "sort_priority": 25, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1840, "pp_odoo_id": 1832, "sku": "zildjian-z5aacdgp", "price": 625, "discount_price": 625, "qty_misha": 0, "pim_id": "4254", "qty_suppliers": 0, "sort_priority": 22, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1833, "pp_odoo_id": 1825, "sku": "zildjian-z5abu", "price": 605, "discount_price": 605, "qty_misha": 4, "pim_id": "4245", "qty_suppliers": 0, "sort_priority": 16, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1848, "pp_odoo_id": 1840, "sku": "zildjian-zasjd", "price": 669, "discount_price": 669, "qty_misha": 0, "pim_id": "4268", "qty_suppliers": 0, "sort_priority": 37, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 930, "pp_odoo_id": 930, "sku": "daddario-ej13", "price": 355, "discount_price": 355, "qty_misha": 10, "pim_id": "882", "qty_suppliers": 0, "sort_priority": 215, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 965, "pp_odoo_id": 965, "sku": "elixir-16027", "price": 982, "discount_price": 982, "qty_misha": 16, "pim_id": "921", "qty_suppliers": 0, "sort_priority": 569, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1189, "pp_odoo_id": 1189, "sku": "dr-er-50", "price": 1530, "discount_price": 1530, "qty_misha": 0, "pim_id": "1723", "qty_suppliers": 0, "sort_priority": 1, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 892, "pp_odoo_id": 892, "sku": "ernie-ball-2831", "price": 1070, "discount_price": 1070, "qty_misha": 2, "pim_id": "825", "qty_suppliers": 0, "sort_priority": 22, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 437, "pp_odoo_id": 437, "sku": "elixir-19077", "price": 740, "discount_price": 740, "qty_misha": 10, "pim_id": "90", "qty_suppliers": 0, "sort_priority": 101, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1116, "pp_odoo_id": 1116, "sku": "savarez-510aj", "price": 950, "discount_price": 950, "qty_misha": 3, "pim_id": "1120", "qty_suppliers": 0, "sort_priority": 16, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 3037, "pp_odoo_id": 2943, "sku": "aquila-84u", "price": 405, "discount_price": 405, "qty_misha": 2, "pim_id": "5795", "qty_suppliers": 0, "sort_priority": 4, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 1591, "pp_odoo_id": 1584, "sku": "vic-firth-pad12", "price": 1960, "discount_price": 1960, "qty_misha": 0, "pim_id": "8102", "qty_suppliers": 0, "sort_priority": 36, "next_available_date": false, "tags": "", "stock_status_id": 5 }, { "odoo_id": 36, "pp_odoo_id": 36, "sku": "vic-firth-esb", "price": 880, "discount_price": 880, "qty_misha": 0, "pim_id": "8079", "qty_suppliers": 0, "sort_priority": 21, "next_available_date": false, "tags": "", "stock_status_id": 5 } ] }
Raw
{"products": [{"odoo_id": 1842, "pp_odoo_id": 1834, "sku": "zildjian-z5aacdgg", "price": 625.0, "discount_price": 625.0, "qty_misha": 4.0, "pim_id": "4256", "qty_suppliers": 0.0, "sort_priority": 25, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1840, "pp_odoo_id": 1832, "sku": "zildjian-z5aacdgp", "price": 625.0, "discount_price": 625.0, "qty_misha": 0.0, "pim_id": "4254", "qty_suppliers": 0.0, "sort_priority": 22, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1833, "pp_odoo_id": 1825, "sku": "zildjian-z5abu", "price": 605.0, "discount_price": 605.0, "qty_misha": 4.0, "pim_id": "4245", "qty_suppliers": 0.0, "sort_priority": 16, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1848, "pp_odoo_id": 1840, "sku": "zildjian-zasjd", "price": 669.0, "discount_price": 669.0, "qty_misha": 0.0, "pim_id": "4268", "qty_suppliers": 0.0, "sort_priority": 37, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 930, "pp_odoo_id": 930, "sku": "daddario-ej13", "price": 355.0, "discount_price": 355.0, "qty_misha": 10.0, "pim_id": "882", "qty_suppliers": 0.0, "sort_priority": 215, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 965, "pp_odoo_id": 965, "sku": "elixir-16027", "price": 982.0, "discount_price": 982.0, "qty_misha": 16.0, "pim_id": "921", "qty_suppliers": 0.0, "sort_priority": 569, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1189, "pp_odoo_id": 1189, "sku": "dr-er-50", "price": 1530.0, "discount_price": 1530.0, "qty_misha": 0.0, "pim_id": "1723", "qty_suppliers": 0.0, "sort_priority": 1, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 892, "pp_odoo_id": 892, "sku": "ernie-ball-2831", "price": 1070.0, "discount_price": 1070.0, "qty_misha": 2.0, "pim_id": "825", "qty_suppliers": 0.0, "sort_priority": 22, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 437, "pp_odoo_id": 437, "sku": "elixir-19077", "price": 740.0, "discount_price": 740.0, "qty_misha": 10.0, "pim_id": "90", "qty_suppliers": 0.0, "sort_priority": 101, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1116, "pp_odoo_id": 1116, "sku": "savarez-510aj", "price": 950.0, "discount_price": 950.0, "qty_misha": 3.0, "pim_id": "1120", "qty_suppliers": 0.0, "sort_priority": 16, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 3037, "pp_odoo_id": 2943, "sku": "aquila-84u", "price": 405.0, "discount_price": 405.0, "qty_misha": 2.0, "pim_id": "5795", "qty_suppliers": 0.0, "sort_priority": 4, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 1591, "pp_odoo_id": 1584, "sku": "vic-firth-pad12", "price": 1960.0, "discount_price": 1960.0, "qty_misha": 0.0, "pim_id": "8102", "qty_suppliers": 0.0, "sort_priority": 36, "next_available_date": false, "tags": "", "stock_status_id": 5}, {"odoo_id": 36, "pp_odoo_id": 36, "sku": "vic-firth-esb", "price": 880.0, "discount_price": 880.0, "qty_misha": 0.0, "pim_id": "8079", "qty_suppliers": 0.0, "sort_priority": 21, "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 13:27:25 GMT" |
x-debug-token | "64a546" |
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 | "3222" |
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 | "3222" |
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 | "41138" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1726925245 |
REQUEST_TIME_FLOAT | 1726925245.3777 |
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" |