Skip to main content
Aria Knowledge Central

keep_alive_m Sample Call and Response

This example extends the expiry time of a valid session by the number of minutes pre-defined for the client, based on the method definition in plsql_m_r73.yml.

This is a simple utility method with only one optional argument beyond the standard client_no and auth_key fields, so this example includes every field the method accepts.

Sample call

{
  "rest_call": "keep_alive_m",
  "output_format": "json",
  "client_no": 10023,
  "auth_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "session_id": "9f8e7d6c5b4a3928374655647382910a"
}

The envelope fields rest_call and output_format are added by the REST layer and are not part of the method’s own documented arguments. The session_id field identifies the specific session whose expiry time is to be extended.

Sample response

{
  "error_code": 0,
  "error_msg": "OK",
  "error_details": ""
}

An error_code of zero and an error_msg of OK indicate that the session was found and its expiry time was successfully extended. This method returns no fields beyond the standard error indicators.

TOP
  • Was this article helpful?