younifyd
Menu

Change custom views' sort order

Change custom views' sort order

PUT/settings/custom_views/actions/change_sort

Use it in a workflow

  1. Add a step and choose the Zoho CRM connector.
  2. Pick the Change custom views' sort order action (under Metadata).
  3. Fill in the fields below, then reference the result from later steps as {{changeCustomViewsSortOrder.response.data}}.

Request

Query parameters

modulestringrequired

Specify the API name of the module for which to manage Custom Views. Refer to the Use the [Get Modules API](modules.yaml#$.paths./settings/modules.get) to retrieve module IDs.resource for valid values.

Request body

Enter the body as JSON in the step's Body field.

custom_viewsarray<object>required

Specify the list of Custom Views for which to update the sort order.

sort_byobjectrequired2 fields

Represents a reference to a field in the Custom View, identified by its API name and unique ID.

sort_orderstringrequired

Specify the sort order for the Custom View. Possible values: **asc** - Ascending order. **desc** - Descending order.

One ofascdesc

idstring (int64)required

Specify the unique ID of the Custom View for which to update the sort order.

json
{
  "custom_views": [
    {
      "sort_by": {
        "api_name": "string",
        "id": "string"
      },
      "sort_order": "asc",
      "id": "string"
    }
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{changeCustomViewsSortOrder.response.data.<field>}}.

custom_viewsarray<object>

Represents the list of Custom View update success items.

statusstringrequired

Represents the status of the update response. Possible values: **success** - The operation was successful.

One ofsuccess

codestringrequired

Represents the success code for the update operation. Possible values: **SUCCESS** - The Custom View update completed successfully.

One ofSUCCESS

messagestringrequired

Represents the success message for the update operation.

detailsobjectrequired1 fields

Represents the additional details for the successful update operation.

json
{
  "custom_views": [
    {
      "status": "success",
      "code": "SUCCESS",
      "message": "string",
      "details": {
        "id": "string"
      }
    }
  ]
}

Need more? See the Zoho CRM guide for connection setup and behaviour shared by every action.