Skip to main content
Save/update element
curl --request PUT \
  --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId}/elements/{slug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "slug": "<string>",
  "data": {},
  "status": "draft"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

visitId
string
required
slug
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Element saved successfully.

slug
string
data
object
status
enum<string>
Available options:
draft,
completed,
reviewed,
approved