POST
/
createSolution
Creates a new solution with workflows.
curl --request POST \
  --url https://app.ezzydoc.com/EzzyService.svc/Rest/createSolution \
  --header 'Content-Type: application/json' \
  --data '{
  "solution_id": 123,
  "is_default_solution": true,
  "workflow_ids": [
    123
  ],
  "create_time": "2023-11-07T05:31:56Z",
  "user_id": "<string>",
  "user_settings": "<string>",
  "update_time": "2023-11-07T05:31:56Z",
  "solution_name": "<string>",
  "active": 123,
  "default_solution": 123
}'
{
  "solutions": [
    {
      "workflows": [
        {
          "workflow_id": 123,
          "workflow_name": "<string>",
          "solution_id": 123
        }
      ],
      "solution_id": 123,
      "is_default_solution": true,
      "workflow_ids": [
        123
      ],
      "create_time": "2023-11-07T05:31:56Z",
      "user_id": "<string>",
      "user_settings": "<string>",
      "update_time": "2023-11-07T05:31:56Z",
      "solution_name": "<string>",
      "active": 123,
      "default_solution": 123
    }
  ],
  "service_status": {
    "invoice_id": 123,
    "message": "<string>",
    "status": 0
  }
}

Query Parameters

APIKey
string
required

Body

solution_id
integer
is_default_solution
boolean
workflow_ids
integer[]
create_time
string<date-time>
user_id
string
user_settings
string
update_time
string<date-time>
solution_name
string
active
integer
default_solution
integer

Response

Success

solutions
object[]
service_status
object