External Actions (Core)
Endpoints to attach external actions to processes and append logs to external actions.
This part of the API is in Beta status. For details, see the API release lifecycle documentation. Returns a list with all external actions.
all entities after given Id.
number of entities to show
25Filter by the given group or groups
Filter by the given processRef
Returning the list of external actions available.
ExternalAction
Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.
User-defined text strings for grouping external actions
The version of the document to be used in optimistic locking mechanisms.
42The date this entity was created at the platform. This value is generated by the service.
2020-02-03T08:45:51.525ZThe date this entity was modified last. This value is generated by the service.
2020-02-03T09:45:51.525ZThe id of this external action. It is generated during creation automatically and suits as the primary identifier of the described entity.
LGMl2DuvPnfPoSHhYFOmThe name of this external action.
Id of the global process related to this entity.
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
External action not found
GET /api/externalactions HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"nameLocalized": "{ en_US: 'SomeName' }",
"action": {
"cancel": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"elements": [
{
"titleLocalized": "{ en_US: 'SomeName' }",
"elementType": "TEXT_INPUT",
"style": "BODY",
"title": "text"
}
],
"success": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"type": "BLANK_LINK"
},
"customAttributes": {},
"groups": [
"text"
],
"version": 42,
"created": "2020-02-03T08:45:51.525Z",
"lastModified": "2020-02-03T09:45:51.525Z"
}
]Creates a new external action for a process.
ExternalActionForCreation
Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.
User-defined text strings for grouping external actions
Id of the global process related to this entity.
The external action was successfully created.
ExternalAction
Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.
User-defined text strings for grouping external actions
The version of the document to be used in optimistic locking mechanisms.
42The date this entity was created at the platform. This value is generated by the service.
2020-02-03T08:45:51.525ZThe date this entity was modified last. This value is generated by the service.
2020-02-03T09:45:51.525ZThe id of this external action. It is generated during creation automatically and suits as the primary identifier of the described entity.
LGMl2DuvPnfPoSHhYFOmThe name of this external action.
Id of the global process related to this entity.
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
External action not found
POST /api/externalactions HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 380
{
"nameLocalized": "{ en_US: 'SomeName' }",
"action": {
"cancel": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"elements": [
{
"titleLocalized": "{ en_US: 'SomeName' }",
"elementType": "TEXT_INPUT",
"style": "BODY",
"title": "text"
}
],
"success": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"type": "BLANK_LINK"
},
"customAttributes": {},
"groups": [
"text"
],
"processRef": "text"
}{
"id": "LGMl2DuvPnfPoSHhYFOm",
"name": "text",
"processRef": "text",
"nameLocalized": "{ en_US: 'SomeName' }",
"action": {
"cancel": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"elements": [
{
"titleLocalized": "{ en_US: 'SomeName' }",
"elementType": "TEXT_INPUT",
"style": "BODY",
"title": "text"
}
],
"success": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"type": "BLANK_LINK"
},
"customAttributes": {},
"groups": [
"text"
],
"version": 42,
"created": "2020-02-03T08:45:51.525Z",
"lastModified": "2020-02-03T09:45:51.525Z"
}This part of the API is in Beta status. For details, see the API release lifecycle documentation. Returns an external action with the given id if found.
Id of the external action you want to get
External action was found & you are allowed to get it. The result is in the body.
ExternalAction
Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.
User-defined text strings for grouping external actions
The version of the document to be used in optimistic locking mechanisms.
42The date this entity was created at the platform. This value is generated by the service.
2020-02-03T08:45:51.525ZThe date this entity was modified last. This value is generated by the service.
2020-02-03T09:45:51.525ZThe id of this external action. It is generated during creation automatically and suits as the primary identifier of the described entity.
LGMl2DuvPnfPoSHhYFOmThe name of this external action.
Id of the global process related to this entity.
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
External action not found
GET /api/externalactions/{externalActionId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"nameLocalized": "{ en_US: 'SomeName' }",
"action": {
"cancel": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"elements": [
{
"titleLocalized": "{ en_US: 'SomeName' }",
"elementType": "TEXT_INPUT",
"style": "BODY",
"title": "text"
}
],
"success": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"type": "BLANK_LINK"
},
"customAttributes": {},
"groups": [
"text"
],
"version": 42,
"created": "2020-02-03T08:45:51.525Z",
"lastModified": "2020-02-03T09:45:51.525Z"
}
]This part of the API is in Beta status. For details, see the API release lifecycle documentation. Replaces the external action with the provided in the body.
ID of the external action that you want update
ExternalActionForReplacement
Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.
User-defined text strings for grouping external actions
42External action was found & you are allowed to update it.
ExternalAction
Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.
User-defined text strings for grouping external actions
The version of the document to be used in optimistic locking mechanisms.
42The date this entity was created at the platform. This value is generated by the service.
2020-02-03T08:45:51.525ZThe date this entity was modified last. This value is generated by the service.
2020-02-03T09:45:51.525ZThe id of this external action. It is generated during creation automatically and suits as the primary identifier of the described entity.
LGMl2DuvPnfPoSHhYFOmThe name of this external action.
Id of the global process related to this entity.
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
Facility not found
PUT /api/externalactions/{externalActionId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 373
{
"nameLocalized": "{ en_US: 'SomeName' }",
"action": {
"cancel": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"elements": [
{
"titleLocalized": "{ en_US: 'SomeName' }",
"elementType": "TEXT_INPUT",
"style": "BODY",
"title": "text"
}
],
"success": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"type": "BLANK_LINK"
},
"customAttributes": {},
"groups": [
"text"
],
"version": 42
}[
{
"nameLocalized": "{ en_US: 'SomeName' }",
"action": {
"cancel": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"elements": [
{
"titleLocalized": "{ en_US: 'SomeName' }",
"elementType": "TEXT_INPUT",
"style": "BODY",
"title": "text"
}
],
"success": {
"labelLocalized": "{ en_US: 'SomeName' }",
"label": "text"
},
"type": "BLANK_LINK"
},
"customAttributes": {},
"groups": [
"text"
],
"version": 42,
"created": "2020-02-03T08:45:51.525Z",
"lastModified": "2020-02-03T09:45:51.525Z"
}
]This part of the API is in Beta status. For details, see the API release lifecycle documentation.
ID of the external action that you want delete
External action was found & you were allowed to delete it.
No content
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
External action not found
DELETE /api/externalactions/{externalActionId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
This part of the API is in Beta status. For details, see the API release lifecycle documentation. Returns the logs related with the given external action.
Id of the external action you want to get the logs from
all entities after given Id
number of entities to show
25Logs were found & you are allowed to get it. The result is in the body.
ExternalActionLogs
Total number of found entities for this query
42Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
External action logs not found
GET /api/externalactions/{externalActionId}/logs HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"externalActionLogs": [
{
"actionPayload": {
"linkOpenedAt": "2020-02-03T08:45:50.525Z"
},
"requiresAnonymization": true
}
],
"total": 42
}
]Creates a new external action log.
ID of the external action you want to create the log for
ExternalActionLogForCreation
The log for the external action was successfully created.
ExternalActionLog
The date this action has been executed
2020-02-03T08:45:50.525ZId of the refered external action.
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
External action not found
POST /api/externalactions/{externalActionId}/logs HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"actionPayload": {
"linkOpenedAt": "2020-02-03T08:45:50.525Z"
},
"requiresAnonymization": true
}{
"created": "2020-02-03T08:45:50.525Z",
"editor": {
"userId": "text",
"username": "text"
},
"externalActionRef": "text",
"id": "text",
"actionPayload": {
"linkOpenedAt": "2020-02-03T08:45:50.525Z"
},
"requiresAnonymization": true
}Last updated
Was this helpful?

