Skip to content

Command 110 — Add a comment to the client historyrenamed

Same call, some fields renamed. POST /client/{clientID}/comment.

V2 checks an app permission on every call — V1 checked none — and a call whose permission is missing answers 400 with errorCode 15, the same status as an invalid payload (see 4.4). Grant these to the API user before porting the command; the names are the ones of the permission tree in flowww.

CallPermission
POST /client/{clientID}/commentClients → History - Comment
POST /client/{clientID}/historyClients → New conversion
GET /client/{clientID}/historyClients → History - List
API V1
curl --location 'https://euapi.flowww.net/v1/fwa_external_get.asp?cmd=110&doctor=USER_LOGIN&pass=USER_PASS&country=ES&key=SYSTEM_KEY&ClientID=1' \
--data-urlencode 'ClientCRMDate=24/01/2022' \
--data-urlencode 'ClientCRMTime=12:00:00' \
--data-urlencode 'ClientCRMText=Called to confirm the appointment.'
API V2
curl --location 'https://api.flowww.net/v2/client/1/comment?clinicID=1' \
--header 'Authorization: Bearer <api_key>' \
--header 'Content-Type: application/json' \
--data '{"ClientComment": "Called to confirm the appointment."}'
API V1API V2Notes
ClientID{clientID} in the path—
ClientCRMTextClientCommentRenamed.
ClientCRMDate + ClientCRMTime—Gap: the comment is stamped with the moment of the call. If the original timestamp matters (imports, back-dated notes), put it inside the text.
—?clinicID=Documented as required: send it.
TopicAPI V1API V2
Client checkAnswered “ClientID not found” when the client did not exist.Does not check that the client exists. Make sure the id is current (merged clients are not translated — see 4.7).
Origin of the commentMarked as an external comment.Stored as a comment written by the API user, like one written in the application. Start the text with your own tag (for example [Web]) if the clinic needs to tell them apart.
FormatPlain text.Converted to HTML: line breaks and special characters are kept for display in the application.
AnswerMeaningWhat to do
400 224The comment was not saved (for example, the id is not a number).Check the clientID.
400 (errorCode 15)The API user lacks Clients → History → Add comments.Grant the permission.