Skip to main content
Aria Knowledge Central

delete_product_field_category_m Sample Call and Response

This example shows a client deleting a product field category from the catalog, identified by its Aria-assigned field category number. It is based on the delete_product_field_category_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 category, since the method requires only one of the two.

Sample call

{
  "rest_call": "delete_product_field_category_m",
  "output_format": "json",
  "client_no": 10023,
  "auth_key": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "field_category_no": 7042
}

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 category to delete: field_category_no, the Aria-assigned numeric identifier, or field_category_name, a client-defined identifier. This example uses field_category_no and omits field_category_name, since the method requires exactly one of the two.

Sample response

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

An error_code of zero, paired with an error_msg of “OK,” indicates that Aria deleted the product field category 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?