api
patch/api/leave/{id}/

Request

  • The document declares no server URL.
  • Auth: API key in cookie sessionid

Path parameters

idinteger required

Request body

status'pending' | 'approved' | 'denied'
hr_commentstring nullable

Response

status'pending' | 'approved' | 'denied'
hr_commentstring nullable

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the optional property to the response with the status

    • breaking

      request property was restricted to a list of enum values (media type: application/json)

    • breaking

      request property was restricted to a list of enum values (media type: application/x-www-form-urlencoded)

    • breaking

      request property was restricted to a list of enum values (media type: multipart/form-data)

    • breaking

      the request property type changed from no type to string (media type: application/json)

    • breaking

      the response's property type changed from no type to string for status

    • warning

      removed from the request property allOf list (media type: application/json)

    • warning

      removed from the request property allOf list (media type: application/x-www-form-urlencoded)

    • warning

      removed from the request property allOf list (media type: multipart/form-data)

    • warning

      added the new approved enum value to the response property for the response status

    • warning

      added the new denied enum value to the response property for the response status

    • warning

      added the new pending enum value to the response property for the response status

    • info

      added the new approved enum value to the request property (media type: application/json)

    • info

      added the new approved enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new approved enum value to the request property (media type: multipart/form-data)

    • info

      added the new denied enum value to the request property (media type: application/json)

    • info

      added the new denied enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new denied enum value to the request property (media type: multipart/form-data)

    • info

      added the new pending enum value to the request property (media type: application/json)

    • info

      added the new pending enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new pending enum value to the request property (media type: multipart/form-data)

    • info

      removed the pattern ^[-a-zA-Z0-9_]+$ from the request property (media type: application/json)

    • info

      removed the pattern ^[-a-zA-Z0-9_]+$ from the request property (media type: application/x-www-form-urlencoded)

    • info

      removed the pattern ^[-a-zA-Z0-9_]+$ from the request property (media type: multipart/form-data)

    • info

      the request property type was generalized from no type to string (media type: application/x-www-form-urlencoded)

    • info

      the request property type was generalized from no type to string (media type: multipart/form-data)

    • info

      removed from the response property allOf list for the response status

    • info

      the response's property pattern ^[-a-zA-Z0-9_]+$ was removed for the status