Create a journey template

post

/hcmRestApi/resources/11.13.18.05/journeys

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : All Step Tasks
Type: array
Title: All Step Tasks
The allStepTasks resource is a child of the journeys resource. It includes all the tasks in the parent journey template.
Show Source
Nested Schema : Contacts
Type: array
Title: Contacts
The contacts resource is a child of the journeys resource. It includes a list of contacts associated with the parent journey template.
Show Source
Nested Schema : Events
Type: array
Title: Events
The events resource is a child of the journeys resource. It includes all events associated with the parent journey template.
Show Source
Nested Schema : Notes
Type: array
Title: Notes
The notes resource is a child of the journeys resource. It includes all the notes associated with the parent journey template.
Show Source
Nested Schema : Properties
Type: array
Title: Properties
The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Show Source
Nested Schema : Tasks
Type: array
Title: Tasks
The tasks resource is a child of the journeys resource. It includes all the tasks in the parent journey template.
Show Source
Nested Schema : Task Types
Type: array
Title: Task Types
The taskTypes resource is the child of the journeys resource. It includes all the task types associated with the parent journey template.
Show Source
Nested Schema : journeys-allStepTasks-item-post-request
Type: object
Show Source
Nested Schema : journeys-contacts-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : journeys-notes-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : journeys-tasks-item-post-request
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Notifications
Type: array
Title: Notifications
The notifications resource is a child of the tasks resource. It includes notification settings for the task performer and owner.
Show Source
Nested Schema : Properties
Type: array
Title: Properties
The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Show Source
Nested Schema : journeys-tasks-documents-item-post-request
Type: object
Show Source
Nested Schema : journeys-tasks-notifications-item-post-request
Type: object
Show Source
Nested Schema : journeys-tasks-properties-item-post-request
Type: object
Show Source
Nested Schema : journeys-taskTypes-item-post-request
Type: object
Show Source
  • Maximum Length: 61
    Code of the journey template task type property.
  • Identifier of the journey template task type property.
  • Properties
    Title: Properties
    The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Nested Schema : Properties
Type: array
Title: Properties
The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Show Source
Nested Schema : journeys-taskTypes-properties-item-post-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : journeys-item-response
Type: object
Show Source
Nested Schema : All Step Tasks
Type: array
Title: All Step Tasks
The allStepTasks resource is a child of the journeys resource. It includes all the tasks in the parent journey template.
Show Source
Nested Schema : Contacts
Type: array
Title: Contacts
The contacts resource is a child of the journeys resource. It includes a list of contacts associated with the parent journey template.
Show Source
Nested Schema : Events
Type: array
Title: Events
The events resource is a child of the journeys resource. It includes all events associated with the parent journey template.
Show Source
Nested Schema : Notes
Type: array
Title: Notes
The notes resource is a child of the journeys resource. It includes all the notes associated with the parent journey template.
Show Source
Nested Schema : Properties
Type: array
Title: Properties
The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Show Source
Nested Schema : Tasks
Type: array
Title: Tasks
The tasks resource is a child of the journeys resource. It includes all the tasks in the parent journey template.
Show Source
Nested Schema : Task Types
Type: array
Title: Task Types
The taskTypes resource is the child of the journeys resource. It includes all the task types associated with the parent journey template.
Show Source
Nested Schema : journeys-allStepTasks-item-response
Type: object
Show Source
Nested Schema : journeys-contacts-item-response
Type: object
Show Source
Nested Schema : journeys-events-item-response
Type: object
Show Source
Nested Schema : journeys-notes-item-response
Type: object
Show Source
Nested Schema : journeys-properties-item-response
Type: object
Show Source
Nested Schema : journeys-tasks-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Notifications
Type: array
Title: Notifications
The notifications resource is a child of the tasks resource. It includes notification settings for the task performer and owner.
Show Source
Nested Schema : Properties
Type: array
Title: Properties
The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Show Source
Nested Schema : journeys-tasks-documents-item-response
Type: object
Show Source
Nested Schema : journeys-tasks-notifications-item-response
Type: object
Show Source
Nested Schema : journeys-tasks-properties-item-response
Type: object
Show Source
Nested Schema : journeys-taskTypes-item-response
Type: object
Show Source
  • Maximum Length: 61
    Code of the journey template task type property.
  • Identifier of the journey template task type property.
  • Links
  • Read Only: true
    Maximum Length: 161
    Name of the journey template task type property.
  • Properties
    Title: Properties
    The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
  • Read Only: true
    Maximum Length: 30
    Subtype of the journey template task type property.
  • Read Only: true
    Maximum Length: 80
    Subtype meaning of the journey template task type property.
  • Read Only: true
    Maximum Length: 30
    Type of the journey template task type property.
  • Read Only: true
    Maximum Length: 80
    Type meaning of the journey template task type property.
Nested Schema : Properties
Type: array
Title: Properties
The properties resource is the child of the journeys resource. It includes all the journey properties associated with the parent journey template.
Show Source
Nested Schema : journeys-taskTypes-properties-item-response
Type: object
Show Source
Back to Top