| POST | /api/workflows/seturgent |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using IDB.Workflow.API.Operations;
namespace IDB.Workflow.API.Operations
{
///<summary>
///Mark a workflow as urgent.
///</summary>
[Api(Description="Mark a workflow as urgent.")]
public partial class SetWorkflowUrgentOperation
{
///<summary>
///ID of the workflow to affect
///</summary>
[ApiMember(Description="ID of the workflow to affect", IsRequired=true)]
public virtual int WorkflowID { get; set; }
}
}
C# SetWorkflowUrgentOperation DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/workflows/seturgent HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
WorkflowID: 0
}