Skip to main content
GET
/
v2
/
fill
/
jobs
/
{id}
/
explanation
Explanation
curl --request GET \
  --url https://api.solvice.io/v2/fill/jobs/{id}/explanation \
  --header 'Authorization: <api-key>'
{
  "score": {
    "hardScore": 123,
    "mediumScore": 123,
    "softScore": 123,
    "feasible": true
  },
  "unresolved": [
    {
      "constraint": "<string>",
      "score": "<string>"
    }
  ],
  "conflicts": [
    {
      "constraint": "<string>",
      "score": "<string>",
      "employee": "<string>",
      "shift": "<string>",
      "skill": "<string>"
    }
  ],
  "alternatives": {}
}

Authorizations

Authorization
string
header
required

Api Key based authentication (apikey)

Path Parameters

id
string
required

Response

200 - application/json

OK

Explains the conflicts of a certain fill solution and the unresolved constraints.

score
object
required

Score of the solution.

unresolved
object[]
required

Unresolved constraints in the solution

conflicts
object[] | null

Conflicts in the solution

alternatives
object

Alternative employee assignments per shift.