Step 1: Create a Client – POST api/ClientApi/Post

Created by Enda Madden, Modified on Tue, 8 Oct at 7:13 AM by Enda Madden

Assuming you have an OpenFIT account and you have successfully logged into https://api.openfit.care/ 


Each Client in OpenFIT is associated with a Location whether you have a Location created or multiple . 


Using the CompanyLocationAPI/Get method you can fetch the IDs of the Locations setup in your instance.




Sample Request body for the ClientAPI/Post method

You can now call the ClientAPI/Post method substituting the fetched CompanyLocationID from above along with the Client details you wish to enter.


OpenFIT API - Screenshot of Request body for ClientAPI/Post API method


Sample Request Response of  the ClientAPI/Post method

Assuming you receive a 201 success message then the response body will look like this.


Next Step

Now you have created a Client it's important to retain the newly created Client ID for the next step where you create an Episode in Step 2 using the EpisodeAPI/Post method and attach this Client to the Episode.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article