Skip to main content
Aria Knowledge Central

delete_revrec_profile_m Sample Call and Response

This example shows a client deleting two revenue recognition profiles, identified by their Aria-assigned profile identifiers, that are no longer in use. It is based on the delete_revrec_profile_m method as defined in methods_m_r73.yml, Admin Tools API.

This example includes every required field for this identifier-only delete call. It does not attempt to show the alternative, client-defined way of identifying the profiles, since the method requires only one of the two.

Sample call

{
  "rest_call": "delete_revrec_profile_m",
  "output_format": "json",
  "client_no": 10023,
  "auth_key": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "profile_id": [10452, 10453]
}

The rest_call and output_format fields are not part of the method’s own documented arguments. The REST layer adds them to every call: rest_call names the method being invoked, and output_format requests a JSON response rather than the default WDDX format. Within the method’s own arguments, client_no and auth_key identify and authenticate the client making the call. The method accepts two alternative ways to identify the profiles to delete: profile_id, an array of Aria-assigned numeric identifiers, or client_profile_id, an array of client-defined identifiers. This example uses profile_id and omits client_profile_id, since the method requires exactly one of the two. Both sides of this alternative are themselves arrays, since a single call can delete more than one profile at a time.

Sample response

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

An error_code of zero, paired with an error_msg of “OK,” indicates that Aria deleted both revenue recognition profiles successfully. The method’s returns block consists only of these two error indicators, so there is no additional output to show.

TOP
  • Was this article helpful?