Activities / Types

Create Activity Type

This endpoint allows you to create an Activity Type based on JSON input.

You will only be able to create an Activity Type after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST BODY

AttributeTypeDescription
branchVisibilityArrayIn which Branches the Activity Type is visible
descriptionBRStringActivity Type name in Brasilian Portuguese
descriptionDEStringActivity Type name in German
descriptionDKStringActivity Type name in Dutch
descriptionEN (Required)StringActivity Type name in English
descriptionESStringActivity Type name in Spanish
descriptionFRStringActivity Type name in French
descriptionITStringActivity Type name in Italian
descriptionPTStringActivity Type name in Portuguese
descriptionRUStringActivity Type name in Russian
descriptionUSStringActivity Type name in American English
generalBooleanIf true, this Activity Type will appear when adding a normal Activity
checkinBooleanIf true, this Activity Type will appear when doing a check-in
fastCheckinBooleanIf true, this Activity Type will appear when doing a fast check-in
phoneCallBooleanIf true, the Activity Type is a phone call
visitBooleanIf true, the Activity Type is a visit
videoCallBooleanIf true, the Activity Type is a video call
visibleInActivitiesBooleanIf true, the Activity Type is visible in the activity feed
visibleInAgendaActivitiesBooleanIf true, the Activity Type is visible in the calendar
workflowBooleanIf true, the Activity Type is visible in workflows
orderIntegerThe position in what you want the Activity Type to appear in the list

RESPONSE

Returns a JSON with information about the Activity Type just created.

AttributeType
IdId assigned to the new Activity Type
MessageThe operation status

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
post/activityTypes

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/activityTypes
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Request body

checkinboolean
descriptionENstring
descriptionESstring
fastCheckinboolean
generalboolean
orderstring
phoneCallboolean
visitboolean
videocallboolean

Response

Create Activity Type

Changes

No recorded changes to this operation across all 1 revision of this API.