Skip to content

Dispatch import

Here Import data from dispatch query panel using csv file. To import the data from query panel you can provide any customize data based on your needs. The csv file data contains below mention fields. Which depict what data you want in dispatches.

Fields:-

Here fields exists with the any name. You can provide a field name based on your needs, and it's not necessary to provide fields respective to column display in UI. You can alias with any name. For e.g Recipient = User not necessary to used recipient. Field name are not case-sensitive

  • author- Provide an author name as UUID. If not provided it will take default logged-in user id.
  • recipient- Provide a recipient details.Recipient Means provide an dispatch creation user
    • User UUID
    • User email
  • swimlane- Provide an swimlane details.Swimlane can be any of below.

    • Swimlane UUID
    • Swimlane handle

    Note: At one time you can provide either swimlane or recipient.

  • tracker- Provide an tracker details for dispatch.It should be tracker UUID or tracker handle

  • date- Provide a date for dispatch creation
  • start- Provide a start time for dispatch.Start time format should be "8:00 pm" | "8:30 am"
  • end- Provide an end time for dispatch. End time format should be "8:00 pm" | "8:30 am"
  • body- Provide a body text for dispatch
  • data-*: Provide a values[Data] for dispatch. Here data-* means provide a tracker metric properties name to importing the data. For example data-[metric name] in place of * you can provide any metric name which you want in dispatch values.
    • e.g data-venue || Data-venue. Here venue is properties[metric] name of tracker metric.
  • serviceId: Provide a service Id for dispatches. It's an optional
  • batchId: Provide a batch-id for dispatches. It's an optional.

Examples

Below attached the image of csv file format for importing.

CSV data With Recipient details:-

author recipient tracker date start body data-activity data-title data-mapping serviceId end
xxxx-swimlane-uuid--xx test@gmail.com shout 2021-03-04 2021-03-04T10:05:51.000Z This is a body 朝食 breakfast_dynamic_752 7-7.5 example-service ID 2021-03-04T10:05:51.000Z

CSV data With Swimlane details:-

author swimlane tracker date start body data-activity data-title data-mapping serviceId end
xxxx-swimlane-uuid--xx distance xxxxxxxxxxxxxxxxxx 2021-03-04 2021-03-04T10:05:51.000Z This is a body 朝食 breakfast_dynamic_752 7-7.5 example-service ID 2021-03-04T10:05:51.000Z

User Import

For user import data you can used different fields as mention below:-

Fields:-

Here fields exists with the any name. You can provide a field name based on your needs, and it's not necessary to provide fields respective to column display in UI. You can alias with any name. For e.g email = user_email not necessary to used email only. Field name are not case-sensitive.

  • email: Provide a user email. It's mandatory fields
  • first: Provide a user first name. It's mandatory fields
  • last: Provide a user last name. It's mandatory fields
  • displayName: Provide a user display name
  • phoneNumber: Provide a user phone number
  • groupId: Provide a user group Id
  • externalId: Provide a user external id
  • gender: Provide a user gender
  • genderDetail: Provide a user gender detail
  • dob: Provide a user date of birth

Example

name email username dob gender externalId genderDetail phoneNumber first
xxxx--xx test@gmail.com test 2021-03-04 female xxxxxxxxx This is a body xxxxxxxxxx test