Create a Workflow Event

POST {{base_url}}/Workflow/Workflow

Use this endpoint to create a new workflow event.

Specify the data for the new workflow event in the request body.

Request

A successful call status of 201 Created returns the JSON representation for the newly created project and a call status of 400 Bad Request returns the JSON representation for the created project with a duplicate number.

Request Body

[{"name"=>"EventID", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ApplicationName", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"TableName", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"EventType", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ApprovalType", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"PRLevel", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"Active", "value"=>"{{boolean}}", "datatype"=>"string"}, {"name"=>"Description", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"Conditions", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"EventOrder", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"ApprovalType  \nCode", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"ApplicationType", "value"=>"{{string}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: Created

[{"EventID":"POST WFE API Test","ApplicationName":"UDIC_Asset","TableName":" ","EventType":"Change","ApprovalType":"","PRLevel":"","Active":"Y","Description":"Asset Purchased","Conditions":"","EventOrder":0,"ApprovalTypeCode":"","ApplicationType":""}]