Workflow API
{ urn:com.soa.dnworkflow.api } WorkflowAPI
The operations in the Workflow service allow you to add, retrieve, manage, and delete custom workflows on the platform.
POST/workflow/definitionsaddWorkflowDefinition
Parameters
Accepts application/x-www-form-urlencoded
Name
Type
Description
Model
Name
form
string
Description
form
string
ObjectType
form
string
Reponse
Produces application/jsonapplication/xmlapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
WorkflowDefinition
WorkflowDefinition {
ObjectType( string )
Description( string )
Updated( dateTime )
ObjectReferenceCount( long )
State( string )
Key( string )
BusinessID( string )
Name( string )
}
POST/workflow/definitionsaddWorkloadDefinitionConfiguration
Parameters
Accepts multipart/form-data
Name
Type
Description
Model
body
entity
base64Binary
Reponse
Produces application/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v81+json
Status Code
Reason
Model
200
Success
WorkflowDefinition
WorkflowDefinition {
ObjectType( string )
Description( string )
Updated( dateTime )
ObjectReferenceCount( long )
State( string )
Key( string )
BusinessID( string )
Name( string )
}
GET/workflow/definitionslistWorkflowDefinitions
Parameters
Name
Type
Description
Model
BusinessID
query
string
ObjectType
query
string
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
rss
rss {
rssChannel {
rssImage {
rssItem {
rssEnclosure {
rssGuid {}
rssSource {}
rssCategory {}
rssSkipHours {
rssSkipDays {
rssCloud {
rssTextInput {
channel( rssChannel )
version( string )
}
rssChannel {
image( rssImage )
copyright( string )
item( rssItem )
skipHours( rssSkipHours )
lastBuildDate( string )
link( anyURI )
rating( string )
description( string )
generator( string )
language( string )
title( string )
managingEditor( string )
webMaster( string )
pubDate( string )
ttl( int )
skipDays( rssSkipDays )
cloud( rssCloud )
textInput( rssTextInput )
docs( anyURI )
category( rssCategory )
}
rssImage {
link( anyURI )
width( int )
description( string )
title( string )
url( string )
height( int )
}
rssItem {
comments( anyURI )
enclosure( rssEnclosure )
author( string )
link( anyURI )
description( string )
guid( rssGuid )
source( rssSource )
title( string )
category( rssCategory )
pubDate( string )
}
rssEnclosure {
length( string )
type( string )
url( string )
}
rssGuid {}
rssSource {}
rssCategory {}
rssSkipHours {
hour( Collection of string )
}
rssSkipDays {
day( Collection of string )
}
rssCloud {
path( string )
protocol( string )
port( int )
registerProcedure( string )
domain( string )
}
rssTextInput {
name( string )
link( anyURI )
description( string )
title( string )
}
GET/workflow/definitions/{WorkflowDefKey}getWorkflowDefinition
Parameters
Name
Type
Description
Model
WorkflowDefKey
path
string
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
WorkflowDefinition
WorkflowDefinition {
ObjectType( string )
Description( string )
Updated( dateTime )
ObjectReferenceCount( long )
State( string )
Key( string )
BusinessID( string )
Name( string )
}
POST/workflow/definitions/{WorkflowDefKey}uploadWorkloadConfiguration
Parameters
Accepts multipart/form-data
Name
Type
Description
Model
WorkflowDefKey
path
string
body
entity
base64Binary
Reponse
Produces application/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
WorkflowDefinition
WorkflowDefinition {
ObjectType( string )
Description( string )
Updated( dateTime )
ObjectReferenceCount( long )
State( string )
Key( string )
BusinessID( string )
Name( string )
}
DELETE/workflow/definitions/{WorkflowDefKey}deleteWorkflowDefinition
Parameters
Name
Type
Description
Model
WorkflowDefKey
path
string
Reponse
Produces text/plain
Status Code
Reason
Model
200
Success
string
GET/workflow/definitions/{WorkflowDefKey}/configuration.xmlgetWorkflowDefinitionConfiguration
Parameters
Name
Type
Description
Model
WorkflowDefKey
path
string
download
query
boolean
Reponse
Produces text/xmlapplication/xmlapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
any
POST/workflow/objects/{ObjectID}/actionsperformWorkflowAction
Parameters
Accepts application/xml application/json application/vnd.soa.v71+json application/vnd.soa.v72+json application/vnd.soa.v80+json application/vnd.soa.v71+xml application/vnd.soa.v72+xml application/vnd.soa.v80+xml application/vnd.soa.v81+json application/vnd.soa.v81+xml
Name
Type
Description
Model
ObjectID
path
string
body
entity
Action
Action {
ActionParameter {
ActionName( string, required )
Parameters( Collection of ActionParameter, required )
UserID( string, required )
Comments( string )
}
ActionParameter {
Value( string )
Name( string, required )
}
Reponse
Produces text/plain
Status Code
Reason
Model
200
Success
string
GET/workflow/objects/{ObjectID}/actionsgetActions
Parameters
Name
Type
Description
Model
ObjectID
path
string
IncludeReservedActions
query
boolean
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
rss
rss {
rssChannel {
rssImage {
rssItem {
rssEnclosure {
rssGuid {}
rssSource {}
rssCategory {}
rssSkipHours {
rssSkipDays {
rssCloud {
rssTextInput {
channel( rssChannel )
version( string )
}
rssChannel {
image( rssImage )
copyright( string )
item( rssItem )
skipHours( rssSkipHours )
lastBuildDate( string )
link( anyURI )
rating( string )
description( string )
generator( string )
language( string )
title( string )
managingEditor( string )
webMaster( string )
pubDate( string )
ttl( int )
skipDays( rssSkipDays )
cloud( rssCloud )
textInput( rssTextInput )
docs( anyURI )
category( rssCategory )
}
rssImage {
link( anyURI )
width( int )
description( string )
title( string )
url( string )
height( int )
}
rssItem {
comments( anyURI )
enclosure( rssEnclosure )
author( string )
link( anyURI )
description( string )
guid( rssGuid )
source( rssSource )
title( string )
category( rssCategory )
pubDate( string )
}
rssEnclosure {
length( string )
type( string )
url( string )
}
rssGuid {}
rssSource {}
rssCategory {}
rssSkipHours {
hour( Collection of string )
}
rssSkipDays {
day( Collection of string )
}
rssCloud {
path( string )
protocol( string )
port( int )
registerProcedure( string )
domain( string )
}
rssTextInput {
name( string )
link( anyURI )
description( string )
title( string )
}
GET/workflow/objecttypes/{ObjectType}/initactions/{InitActionID}getInitActionDetails
Parameters
Name
Type
Description
Model
ObjectType
path
string
InitActionID
path
string
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
WfActionDefinition
WfActionDefinition {
ActionName( string )
StepID( int )
StateName( string )
}
GET/workflow/objects/{ObjectID}/actions/{ActionID}getActionDetails
Parameters
Name
Type
Description
Model
ObjectID
path
string
ActionID
path
string
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
WfActionDefinition
WfActionDefinition {
ActionName( string )
StepID( int )
StateName( string )
}