Scheduler Field
These are the endpoints that are available under the /schedulerField path, which shows any fields you have set up for your business account.
Endpoint | Description |
---|---|
GET /schedulerFieldList | Returns all schedulerFields objects on an account in array format. |
GET /schedulerFieldList/reason/{reasonId} | Returns all schedulerFields objects for specified reason in array format. |
GET /schedulerFieldList/mode/{mode} | Returns all schedulerFields objects for specified mode in array format. Accepted mode types: APPT, CLIENT, CLASS. |
GET /schedulerField/{schedulerPreferenceFieldDefnId} | Returns a JSON object for specified scheduler field. |
POST /schedulerField | Creates a new schedulerFields object on an account. Request body/payload:Â Pass a schedulerFields object with the schedulerPreferenceFieldDefnId included. For these calls, you need to pass a schedulerFields object with all required fields and any fields you want to set filled in the body of the payload - make sure you set the saving property to true. We have an example of a schedulerFields object in the responses section below and have indicated the required fields in the object values table at the bottom of this page. |
PUT /schedulerField | Updates an existing scheduler fields object. Request body/payload:Â Pass a schedulerFields object with all required objects defined. For these calls, you need to pass a schedulerFields object with all required fields and any fields you want to update filled in the body of the payload. We have an example of a schedulerFields object in the responses section below and have indicated the required fields in the object values table at the bottom of this page. |
There are no parameters included with schedulerFields calls.
For a description of how the conditional properties (generally those properties that begin with "dep") interact, see the documentation on the Scheduler Field Dependent Properties child page.
Property name | Type | Required | Description |
---|---|---|---|
active | boolean | Yes | Indicates whether or not the specified scheduler field should return following a GET call. |
allowClientEdit | boolean | Yes | Indicates whether or not client can edit the specified scheduler field. |
basicTagName | string | Yes | Displays as the email tag that populates the value of the specified scheduler field. |
businessId | integer | Yes | Provides unique numeric ID of the business to which the specified scheduler field belongs. |
code | string | All fields TimeTap provides at the point of account creation have a unique code representative of that field; if the specified scheduler field was added by the user to the account, the code would be UDF, which stands for User Defined Field. | |
createdDate | integer | Displays as date the specified scheduler field was created in milliseconds elapsed since January 1, 1970 00:00:00 UTC form. | |
createdUser | string | Displays as username of user who created the specified scheduler field. | |
dataType | string | Yes | Provides the type of data needed in responses to the specified scheduler field. Has acceptable values "TXT", "DATE", "CHKBOX", "LIST", "AREA", "LIST_CHKBOX", and "FILEUPLOAD". |
defaultNullValue | string | Displays as the default value that shows for the specified scheduler field when it has a value of null. | |
defaultValue | string | Displays as default value that has been set for the specified scheduler field. | |
depAction | string | For conditional fields, provides the action that is taken if the dependent condition is met. | |
depCondition | string | For conditional fields, provides the condition that must be met. | |
depError | string | For conditional fields, provides the error message that displays if the dependent condition is not met. | |
depFieldDefnId | integer | For conditional fields, provides the schedulerFieldDefnId of the field with which the specified scheduler field interacts. | |
depSetValue | string | For conditional fields, provides the setting of the dependent value. | |
depType | string | For conditional fields, provides the type of dependent condition that must be met. | |
depValue | string | For conditional fields, provides the value required to meet the dependent condition. | |
errorMessage | string | Displays as the message that appears when an incorrect value is submitted for the specified scheduler field. | |
extendedValue | string | Will fill in when field is used on a Client profile, Appointment detail, or Class (depending on mode) depending on the dataType of the specified scheduler field. If dataType is anything but "FILEUPLOAD", it will fill in with the value directly; if it is a "FILEUPLOAD" dataType, this will provide the link to the file to download. | |
fieldValues | string | Provides the different responses that are possible for the specified scheduler field. Only applicable to "LIST" and "LIST_CHKBOX" dataTypes. | |
filterByService | boolean | Indicates whether or not the specified scheduler field can be filtered by service. Only applicable if the mode property is equal to APPT or CLASS. | |
hint | string | Displays as the text to be shown below the specified scheduler field. | |
internalDisplayName | string | Displays as the contents of the Internal Label for the specified scheduler field if it has one, otherwise displays as the contents of its Field Label. | |
internalLabel | string | Displays as the contents of the Internal Label for the specified scheduler field. | |
label | string | Yes | Displays as the text appearing adjacent to the specified scheduler field. |
labelTag | string | Yes | Provides a tag to display the specified scheduler field's label text. Generally takes the form "tagName + _LABEL" wrapped in % signs. Can be used with email templates. |
mask | string | Displays as format required for the specified scheduler field. Example: (###) ###-####. | |
mode | string | Provides the mode of the service attached to the specified scheduler field. Used for back office. Available values include "CLIENT", "COURSE", "APPT", and "CLASS". | |
modifiedDate | integer | Displays as date that the specified scheduler field was last updated in milliseconds elapsed since January 1, 1970 00:00:00 UTC form. | |
modifiedUser | string | Displays as username of user who last updated the specified scheduler field. | |
oldFieldIds | |||
required | boolean | Yes | Indicates whether or not the specified scheduler field requires a response. |
requiredJSON | string | ||
schedulerPreferenceFieldDefnId | integer | Yes, on PUT calls | Provides unique numeric ID for the specified scheduler field. |
serviceIds | array | If the specified scheduler field is of mode "APPT" and filterByService is true, then can fill in with list of reasonIds that the fields would be assigned to. When clients book appointments for the reasonIds contained in this list, they will be prompted to fill in these fields. | |
sortOrder | integer | Displays the order in which the specified scheduler field appears in the list of scheduler fields. | |
styleJSON | string | ||
tagName | string | Provides the base tagName for the fields label and value of the specified scheduler field. If you want to display the field's value in an email, you would wrap the tagName in % signs; if you want to display the field's label in an email you would add _LABEL at the end of the tagName and wrap in % signs. | |
userDefinedField | boolean | Indicates whether or not the specified scheduler field was created by a user. | |
validationError | string | If value entered fails to meet the conditions of the RegEx expression entered in the the validationRegex field, this error message will show to the client on the scheduler. | |
validationRegex | string | Provides a space to add a RegEx expression to validate the value put into the specified scheduler field against. | |
value | string | Displays the value associated with the specified scheduler field when it is input to the Client Profile, Appointment Detail, or Class Session. | |
valueList | string | Displays as a list of all values for the specified scheduler field. | |
valueMap | string | ||
valueTag | string | The valueTag can be put into emails and messages as a merge field to display the value that was put into the value property of the specified scheduler field. Generally takes the form of the tagName wrapped in % signs. | |
visible | boolean | Yes | Indicates whether or not the specified scheduler field is set to show at all. Unlike the visibleOnScheduler property, if visible is set to false, the field will not show to staff if they are on the Client Profile, Appointment Detail, or Class Session screens. |
visibleOnScheduler | boolean | Yes | Indicates whether or not the specified scheduler field is set to show to clients as they are booking on your scheduler. If set to false, field will only be visible to staff on the back office. |