Post workflow. This allows you to adjust and create values in the workflow “Firefighting” module of CustomerGauge. For example, if you have an external help desk system you can add new entries into the workflow to “CLOSE” a firefighting issue with a comment and user.


Resource Information

Response formats JSON (default), XML
HTTP method POST
Response family workflow
Header
Authorization: api_key XXXXX



Resource URL

Production Server:

https://api.customergauge.com/v4.1/workflow.json


POST Data

Post data as key value based on upload mapping.


POST Data Example


number_customergauge
 required
CustomerGauge record id
 Example Values: 12
status
 optional
Workflow status
 Example Values: CLOSE
Standard set: you can use OPEN, IN-PROGRESS, PROGRESS, CLOSED or CLOSE.
Extended set: As an option CustomerGauge can enable an extended set of workflow status. In this case, you can set workflow status with integer values 0 – 99. We also provide a text look-up. Please ask for details.
comment
 optional
Workflow Comment
 Example Values: Solved the issue
Use URL Encoded strings
assigned_to
 optional
Workflow Assigned to
 Example Values: des.patch@directness.net
Email of valid user in the CustomerGauge system



Example Requests


cURL example curl -X POST https://api.customergauge.com/v4.1/workflow.json? -d number_customergauge=12 -d status=CLOSE -d comment=”Solved the issue” -d assigned_to=des.patch@directness.net


Example Result

Message reported on successful operation:




1




{"Data":{"number_customergauge":12}}




Message reported on failed operation:




1




{"Error":{"Message":"Workflow not found","Code":400200}}