Update a workflow session by id
PATCH {{baseUrl}}/workflow_sessions/:id
Update a workflow session by id
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
run | boolean | Will run the created/updated workflow session if successful |
Request Body
{"workflow_session"=>{"workflow_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "requester_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "requester_type"=>"User", "profile_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "profile_ids"=>["urn:uuid:cab4bfc9-8016-18e7-5b19-7d8af470a6da", "urn:uuid:9aebe4ca-70e8-453c-983b-334a4cdbc7b4"], "status"=>"completed", "attributes"=>{"text_attribute_uid"=>"static text", "date_attribute_uid"=>"01/15/2020", "profile_select_attribute_uid"=>"79ed1cb6-9977-4965-9bfe-f2bcc242523e", "multiple_profile_select_attribute_uid"=>"59ed1cb6-9977-4965-9bfe-f2bcc242523e, 89ed1cb6-9977-4965-9bfe-f2bcc242523e", "profile_search_attribute_uid"=>"79ed1cb6-9977-4965-9bfe-f2bcc242523e", "multiple_profile_search_attribute_uid"=>"59ed1cb6-9977-4965-9bfe-f2bcc242523e, 89ed1cb6-9977-4965-9bfe-f2bcc242523e", "contributor_select_attribute_uid"=>"49ed1cb6-9977-4965-9bfe-f2bcc2425244", "contributor_search_attribute_uid"=>"49ed1cb6-9977-4965-9bfe-f2bcc2425244", "multiple_contributor_search_attribute_uid"=>"59ed1cb6-9977-4965-9bfe-f2bcc242523e, 89ed1cb6-9977-4965-9bfe-f2bcc242523e", "owner_select_attribute_uid"=>"79ed1cb6-9977-4965-9bfe-f2bcc242523e", "owner_search_attribute_uid"=>"79ed1cb6-9977-4965-9bfe-f2bcc242523e", "dropdown_attribute_uid"=>"yes, no", "tags_attribute_uid"=>"yes, no", "checkbox_attribute_uid"=>"yes, no", "text_area_uid"=>"static text", "radio_attribute_uid"=>"yes, no"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"workflow_session":{"id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","uid":"veniam velitproident nulla utlab","workflow_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","requester_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","requester_type":"User","profile_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","profile_ids":["8f768b73-c306-cd94-3e93-1ea49808e47b","a6e60a5c-0a1b-57da-08f7-6c73499e0b69"],"status":"completed","attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","profile_search_attribute_uid":"Profile Name","multiple_profile_search_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name (user_email@test.com)","contributor_search_attribute_uid":"User Name (user_email@test.com)","multiple_contributor_search_attribute_uid":"User Name (user_email@test.com),Second User Name (user_email@test.com),Third User Name (user_email@test.com)","owner_select_attribute_uid":"User Name (user_email@test.com)","owner_search_attribute_uid":"User Name (user_email@test.com)","dropdown_attribute_uid":"yes, no","tags_attribute_uid":"yes, no","checkbox_attribute_uid":"yes, no","text_area_uid":"static text","radio_attribute_uid":"yes, no"}}}