/Create ActivityPOST

Create Activity

Creates one or more activities in OFS. Each Excel row becomes one activity.

1 — Excel file

Each row = one API call.

Submit to OFS

Upload an Excel file.

Fields

activityTyperequiredstring

Activity type label as configured in OFS.

resourceIdstring

Resource to assign activity to. Leave blank = non-scheduled.

datedate

Scheduled date.

customerNamestring

Customer full name. Max 420 chars.

customerEmailstring

Customer email. Max 320 chars.

phonestring

Customer phone number.

streetAddressstring

Used for geocoding. Max 240 chars.

citystring

City for geocoding. Max 60 chars.

stateProvincestring

State/Province for geocoding. Max 60 chars.

postalCodestring

Postal / ZIP code.

timeZonestring

IANA time zone. Defaults to resource time zone.

durationinteger

Activity duration in minutes.

serviceWindowStarttime

Earliest start time.

serviceWindowEndtime

Latest end time.

slaWindowStartdatetime

SLA commitment start.

slaWindowEnddatetime

SLA commitment end.

languagestring

Language code (e.g. en, fr).

coordXnumber

GPS longitude (-180 to 180). Overrides geocoding.

coordYnumber

GPS latitude (-90 to 90). Overrides geocoding.

appointmentNumberstring

Your external reference ID.

Notes

  • ·activityType must exactly match a type label configured in OFS.
  • ·If resourceId is omitted, the activity is created as non-scheduled (bucket).
  • ·Date must be in YYYY-MM-DD format. Cannot be in the past.