Updated client scripts to make API request by ID and not client name

This update changes the API request for client details to be made by ID and not client name