How to receive data in the backend when hitting frappe.call?

I can’t find any proper documentation on how can I receive data on the backend when calling frappe.call method. Can anybody really help on it??

this is my client, now where to access the args which I am passing??

The team needs to work on documenting atleast the basis stuff properly.

Hi @Abhiraj_Tulsyan, the passing args(trip_id) will go to the server script method. As the mentioned path “stockarea.stockarea.api.transport_area.get_trip_details”, the args will go into the get_trip_details method. You can easily point the key of the args dictionary like, args.get(“trip_id”).