objects
Url
/V2.0/services/metadata/objects
HTTP Method
PUT
Description
create a workflow rule 
Parameters
Name Type Description
forType* string The entity where the workflow rule is created (e.g. WorkItem , User etc.)
name* string The name of the workflow rule
description string The description of the workflow rule
triggerType* string(TriggerType) The type of event that trigger the workflow rule
criteria string The condition for the workflow rule triggering
action* action The workflow action
Result
Name Type Description
id entityId (string)
In case of failure an error object will be returned
* indicates required fields



Url
/V2.0/services/metadata/objects
HTTP Method
DELETE
Description
delete a workflow rule 
Parameters
Name Type Description
id* entityId (string)
Result
Name Type Description
In case of failure an error object will be returned
* indicates required fields