The request is passed by the action "Submit the business process to the API"
It is necessary to process the response with an array in which it is wrapped in double brackets: [{......}]
From the array you need to pull out the values of some fields.
Action link https://crm.sportlife.ua/admin/shop/workflowstatus/167/action/new/
Now the Field in XML/JSON is specified like this: /data/finished but it doesn't work.
Fields need to be pulled from the data array
Here is the response code from the logs:
[2021-02-23 10:36:39]
host: crm.sportlife.ua
url: /ajax/admin/chat/get/order/
contentID: shop-admin-notification-chart-order-block
point: /shop.starter.php
data: Array
(
[orderid] => 702
[requestUrl] => https://sl.lucky.fitness/client_tickets
[request] => {"client_id":"8","started":"2021-09-01","ticket_id":"1"}
[response] => {"success":true,"data":[{"id":161,"client_id":8,
The request is passed by the action "Submit the business process to the API" It is necessary to process the response with an array in which it is wrapped in double brackets: [{......}] From the array you need to pull out the values of some fields. Action link https://crm.sportlife.ua/admin/shop/workflowstatus/167/action/new/ Now the Field in XML/JSON is specified like this: /data/finished but it doesn't work. Fields need to be pulled from the data array Here is the response code from the logs: [2021-02-23 10:36:39] host: crm.sportlife.ua url: /ajax/admin/chat/get/order/ contentID: shop-admin-notification-chart-order-block point: /shop.starter.php data: Array ( [orderid] => 702 [requestUrl] => https://sl.lucky.fitness/client_tickets [request] => {"client_id":"8","started":"2021-09-01","ticket_id":"1"} [response] => {"success":true,"data":[{"id":161,"client_id":8,
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up