requests
patch/api/requests/{request_id}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

request_idinteger required

Headers

authorizationstring nullable

Cookies

session_idstring nullable

Request body

phone_numberstring nullable
start_datestring date-time nullable
end_datestring date-time nullable
reasonstring nullable
status'pending' | 'refused' | 'approved'

Represents the status of a request.

Response

Successful Response

idinteger required
phone_numberstring required
start_datestring date-time required
end_datestring date-time required
reasonstring nullable
created_atstring date-time required
processedboolean required
refusedboolean required
status'pending' | 'refused' | 'approved' required

Represents the status of a request.

loan_idinteger nullable

Changes

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      removed the unauthenticated enum value from the / response property for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      for the path request parameter request_id, the min was set to 1.00

    • info

      added the new optional header request parameter authorization

    • info

      added the required property to the response with the status