1b.app
Link copied -

Problem with request

I have an API request to create an operation (attachment below), the problem is that they go to the Issue tab, and I would like to add them to the CRM tab
Request:
data = [
{
"workflowid": 1,
"statusid": 1,
"name": "text",
"content": "text",
"client": {
"name": "Text",
"namelast": "Last Name",
"namemiddle": "Middle name",
"phones": ["+phone"],
"findbyArray": ["phone"],
"returnwithoutupdate": True,
"showerrorafterfind": False
},
"clientaddress": "city text, street text, 1",
"delivery": "novaposhta",
"payment": "cash",
"currency": "UAN",
"products": [
{
"productinfo": {
"name": "text"
},
"count": "1",
"price": "325500"
}
]
}
]
Original question is available on version: ru

Answers:

Good afternoon.
The API request does not affect the display in the CRM application in any way - in the request you pass the workflowid by which the business process in which to create the process is regulated (and the BP has its own type).
And in the application/method of displaying CRM, you need to specify the displayed processes in the settings, in particular /app/crm/showwf/settings-main/
25.06.2025, 09:07
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