Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieves detailed information about a specific client
cURL
curl --request GET \ --url http://localhost:3000/api/artist-clients/get-client/{id}
import requests url = "http://localhost:3000/api/artist-clients/get-client/{id}" response = requests.get(url) print(response.text)
const options = {method: 'GET'}; fetch('http://localhost:3000/api/artist-clients/get-client/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_PORT => "3000", CURLOPT_URL => "http://localhost:3000/api/artist-clients/get-client/{id}", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "net/http" "io" ) func main() { url := "http://localhost:3000/api/artist-clients/get-client/{id}" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.get("http://localhost:3000/api/artist-clients/get-client/{id}") .asString();
require 'uri' require 'net/http' url = URI("http://localhost:3000/api/artist-clients/get-client/{id}") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body
{ "id": "<string>", "displayName": "<string>", "email": "<string>", "locations": [ { "address": "<string>", "city": "<string>", "state": "<string>", "country": "<string>", "latitude": 123, "longitude": 123 } ], "phoneNumber": "<string>", "photoURL": "<string>", "pronouns": "Don't Specify", "firstBookingDate": 123, "totalSpent": 123, "notes": "<string>", "bookingIds": [ "<string>" ], "conversationId": "<string>", "bookings": [ { "id": "<string>", "status": "<string>", "dateTimestamp": 123, "startTime": 123, "endTime": 123, "totalFee": "<string>", "depositFee": "<string>", "location": "<string>" } ], "otherPronouns": "<string>" }
{ "message": "<string>" }
The ID of the client to retrieve
Client information retrieved successfully
The unique identifier of the client
The client's display name
The client's email address
List of client's locations
Show child attributes
The client's phone number
URL to the client's profile photo
The client's preferred pronouns
Don't Specify
He/Him
She/Her
They/Them
Other
Timestamp of the first booking with this client
Total amount spent by this client
Artist's notes about this client
List of booking IDs associated with this client
ID of the conversation thread with this client
List of bookings associated with this client
Custom pronouns when pronouns is 'Other'