Status code 404 Not Found

Description The requested resource cannot be found. The detail property reveals additional information about why the resource was not found.

Either the resource path isn’t specified in the API’s OpenAPI description.

GET /enterprises

HTTP/1.1 404 Not Found
Content-Type: application/problem+json

{
  "type": "urn:problem-type:belgif:resourceNotFound",
  "href": "https://www.belgif.be/specification/rest/api-guide/problems/resourceNotFound.html",
  "status": 404,
  "title": "Resource Not Found",
  "detail": "No resource /enterprises found"
}

Either a path parameter or an optional child resource path doesn’t resolve to an existing resource. Look for more details in the issues property.

Parent resource not found
GET /enterprises/0206731645/employees/12345678901

HTTP/1.1 404 Not Found
Content-Type: application/problem+json

{
  "type": "urn:problem-type:belgif:resourceNotFound",
  "href": "https://www.belgif.be/specification/rest/api-guide/problems/resourceNotFound.html",
  "status": 404,
  "title": "Resource not found",
  "detail": "No resource /enterprises/0206731645 found",
  "issues": [
      {
        "in": "path",
        "name": "enterpriseNumber",
        "detail": "The enterprise number 0206731645 is not assigned",
        "value": "0206731645"
      }
  ]
}
Child resource not found
GET /enterprises/0206731645/employees/12345678901

HTTP/1.1 404 Not Found
Content-Type: application/problem+json

{
  "type": "urn:problem-type:belgif:resourceNotFound",
  "href": "https://www.belgif.be/specification/rest/api-guide/problems/resourceNotFound.html",
  "status": 404,
  "title": "Resource not found",
  "detail": "No resource /enterprises/0206731645/employees/12345678901 found",
  "issues": [
      {
        "in": "path",
        "name": "employeeSsin",
        "detail": "Employee with SSIN 12345678901 of enterprise 0206731645 does not exist",
        "value": "12345678901"
      }
  ]
}
Optional child singleton resource not found
GET /enterprises/0206731645/employees/12345678901/profilePicture

HTTP/1.1 404 Not Found
Content-Type: application/problem+json

{
  "type": "urn:problem-type:belgif:resourceNotFound",
  "href": "https://www.belgif.be/specification/rest/api-guide/problems/resourceNotFound.html",
  "status": 404,
  "title": "Resource not found",
  "detail": "No resource /enterprises/0206731645/employees/12345678901/profilePicture found",
  "issues": [
      {
        "in": "path",
        "name": "profilePicture",
        "detail": "Employee 12345678901 of enterpise 0206731645 does not have a profile picture"
      }
  ]
}