Request
|
PUT <baseurl>/workItem/complete/59/2/true
|
Request body
|
{
"workItemBody":
{
"dataModel":
{
"inputs":
[
{
"@name": "IssueDetails",
"@type": "String",
"@array": "false",
"simpleSpec":
{
"value": "Model 8000"
}
},
{
"@name": "IssueDescription",
"@type": "String",
"@array": "false",
"simpleSpec":
{
"value": "Needs info"
}
},
{
"@name": "ContactPhone",
"@type": "String",
"@array": "false",
"simpleSpec":
{
"value": "889-344-2288"
}
},
{
"@name": "ContactName",
"@type": "String",
"@array": "false",
"simpleSpec":
{
"value": "Frank Smith"
}
}
],
"inouts":
[
{
"@name": "ResolutionDetails",
"@type": "String",
"@array": "false",
"simpleSpec": ""
},
{
"@name": "ResolutionDescription",
"@type": "String",
"@array": "false",
"simpleSpec": ""
}
]
}
}
}
|
Response
|
{
"nextWorkItem":
{
"@id": "60",
"@version": "2"
}
}
|