This commit is contained in:
Viktoria Polyakova
2026-01-25 08:57:38 +00:00
commit 4fb101c5db
7657 changed files with 497012 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
### Get all stages or by boardId
GET {{url}}/api/crm/stages
Content-Type: application/json
Authorization: Bearer {{token}}
### Save stages batch
POST {{url}}/api/crm/stages/batch
Content-Type: application/json
Authorization: Bearer {{token}}
{
"stages": [
{
"id": "172",
"name": "Stage 1",
"color": "#fff",
"code": null,
"isSystem": false,
"sortOrder": 1,
"boardId": {{boardId}},
"state": "unchanged"
},
{
"id": "298",
"name": "Stage 2",
"color": "#fff",
"code": null,
"isSystem": false,
"sortOrder": 2,
"boardId": {{boardId}},
"state": "updated"
},
{
"id": "{{$randomInt}}",
"name": "Stage 4",
"color": "#fff",
"code": null,
"isSystem": false,
"sortOrder": 1,
"boardId": {{boardId}},
"state": "added"
}
]
}