The resource object contains a record of all resources made by or shared with a practitioner. The API allows you to create, update, and remove resources. It also allows you to retrieve resources linked to a treatment plan.
Lists all Resources that the Practitioner has access to.
practitioner_idstring
Required
Unique ID for the Practitioner
curl "https://api-us-snd.fullscript.io/api/clinic/practitioners/{practitioner_id}/resources" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'Creates a new Resource for the Practitioner. Only the following file types are allowed: jpg, jpeg, png, pdf, doc, xlsx, pptx.
practitioner_idstring
Required
The unique ID of the practitioner.
typestring
The type of resource. Can be any of the following strings: Guide, Handout, Infographic, Meal plan, or Workbook.
categorystring
The category of the resource. Can be any of the following strings: Nutrition, Lifestyle, Physical activity, Supplements, or Health conditions.
attachmentstring
Required
The resource that is being uploaded.
namestring
Required
The name of the resource that is being uploaded.
treatment_plan_idstring
The treatment plan ID with which the resource is being associated.
save_to_librarystring
Required
A boolean value that signifies whether the resource should be saved to the practitioner's resource library.
curl -X 'POST' "https://api-us-snd.fullscript.io/api/clinic/practitioners/{practitioner_id}/resources" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX' \
-d $'{
"type": "string",
"category": "string",
"attachment": "string",
"name": "string",
"treatment_plan_id": "string",
"save_to_library": "string"
}'Retrieves a Resource that the Practitioner has access to.
practitioner_idstring
Required
Unique ID for the Practitioner.
idstring
Required
Unique ID for the Resource.
curl "https://api-us-snd.fullscript.io/api/clinic/practitioners/{practitioner_id}/resources/{id}" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'Updates a Practitioner's Resource.
practitioner_idstring
Required
Unique ID for the Practitioner.
idstring
Required
Unique ID for the Resource.
curl -X 'PUT' "https://api-us-snd.fullscript.io/api/clinic/practitioners/{practitioner_id}/resources/{id}" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'Deletes an existing Practitioner's Resource.
practitioner_idstring
Required
Unique ID for the Practitioner.
idstring
Required
Unique ID for the Resource.
curl -X 'DELETE' "https://api-us-snd.fullscript.io/api/clinic/practitioners/{practitioner_id}/resources/{id}" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'The Fullscript resource object contains a list of all resources that have been created by Fullscript.
No arguments
curl "https://api-us-snd.fullscript.io/api/clinic/fullscript_resources" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'