| POST | /user-state/revision-requests |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using tvpl.api.ServiceModel;
namespace tvpl.api.ServiceModel
{
public partial class SetRevisionRequestsRequest
{
public SetRevisionRequestsRequest()
{
Data = new Dictionary<int, string>{};
}
public virtual int WorkflowId { get; set; }
public virtual int StepId { get; set; }
public virtual Dictionary<int, string> Data { get; set; }
}
}
C# SetRevisionRequestsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /user-state/revision-requests HTTP/1.1
Host: etc-api.vsmlab.vn
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"workflowId":0,"stepId":0,"data":{"0":"String"}}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length false