Good afternoon
In the action "Send process to API" https://univer.1b.app/admin/shop/workflowstatus/1163/action/new/
when the parameter "state" = 0, it is not sent to the server.
And when the value in the "state" parameter is -1 or 1, JSON Data is transmitted to the server correctly.
Transfer examples:
1. When passing the parameter "state" = 0
Data: { "idCode": "296",
"status": "1",
"type": "full",
}
2. When passing the "state" parameter as an additional field with a default value of 0, the parameter appears in the output with an empty value
{"idCode":"296",
"state":"",
"status":"1",
"type":"full",
}
Tell me how to pass the parameter value - 0?
Good afternoon In the action "Send process to API" https://univer.1b.app/admin/shop/workflowstatus/1163/action/new/ when the parameter "state" = 0, it is not sent to the server. And when the value in the "state" parameter is -1 or 1, JSON Data is transmitted to the server correctly. Transfer examples: 1. When passing the parameter "state" = 0 Data: { "idCode": "296", "status": "1", "type": "full", } 2. When passing the "state" parameter as an additional field with a default value of 0, the parameter appears in the output with an empty value {"idCode":"296", "state":"", "status":"1", "type":"full", } Tell me how to pass the parameter value - 0?
[quote]
Ustimenko Igor
OneBox production wrote:
you need to finish the transmission setting 0 as a line so that it is not empty 1h
[/quote]
Can I count on [Pyatetsky Nikolay Nikolaevich #77]
Tyndyk Maxim Vadimovich OneBox production wrote: Good afternoon. The logic of the action has been changed - now you can pass 0 as the value of an additional parameter.
Everything is working. Thanks a lot!
[quote]
Tyndyk Maxim Vadimovich
OneBox production wrote:
Good afternoon.
The logic of the action has been changed - now you can pass 0 as the value of an additional parameter.
[/quote]
Everything is working.
Thanks a lot!
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