1b.app
Link copied -

API request not working on OneBox OS.

Есть сложности с API?
У нас есть новый переработанный компонент для работы с API! Посмотреть компонент
Good afternoon. Faced a problem. When adding a contact using the API method, the latest version of OneBox OS gives an error. On the test OneBox, everything works correctly. The request was made according to the template.
Original question is available on version: ru

Answers:

https://petyaporoshenko777.crm-onebox.com/ - link to Boxing, where it doesn't work.
https://crm-onebox.com/ru/api/users/ - the link from where the example of forming an API request was taken.
Request example:
https://petyaporoshenko777.crm-onebox.com/api/orders/add/?login=*****&passwo... =Kyiv&managername=Inna Leonova&ordercode=1333929&sum=320&comments=prepaid&source=my store&payed=1&productArray[0][id]=100500&productArray[0][name]=Test PRODUCT1&productArray[0][price]=102&productArray[0][count]=1&productArray [1][id]=123131&productArray[1][name]=New test product2&productArray[1][price]=122&productArray[1][count]=2
27.08.2021, 11:23
Original comment available on version: ru

UPD
Here is a request we try, it still gives an error
https://petyaporoshenko777.crm-onebox.com/api/orders/add/?login=testtest&pas...
PS
Incorrectly gave a link and a screenshot of the API from the OneBox website. The API request is not contacts, but the order API request.
https://crm-onebox.com/en/api/orders/
27.08.2021, 11:59
Original comment available on version: ru

The error indicates that the username and/or password are incorrect. Try to re-register the username and password for this contact
27.08.2021, 15:43
Original comment available on version: ru


Maria
OneBox production wrote:
The error indicates that the username and/or password are incorrect. Try to re-register the username and password for this contact

I've already changed my login - it didn't help.
The password (key) when you click on "generate" does not change.
27.08.2021, 16:27
Original comment available on version: ru

I had to change my password here.
https://petyaporoshenko777.crm-onebox.com/app/employer/4/permissions/
then the password for rest-api changes and it can be used. Checked it works. Change the password to the one you need and try to substitute it in the request
27.08.2021, 16:41
Original comment available on version: ru


Maria
OneBox production wrote:
I had to change my password here.
https://petyaporoshenko777.crm-onebox.com/app/employer/4/permissions/
then the password for rest-api changes and it can be used. Checked it works. Change the password to the one you need and try to substitute it in the request

thanks a lot
27.08.2021, 17:00
Original comment available on version: ru

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