| POST | /v1/formfill/status/{Token}/pay |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FormFillPayRequest
{
public String Token = null;
public String getToken() { return Token; }
public FormFillPayRequest setToken(String value) { this.Token = value; return this; }
}
public static class FormFillPayResponse
{
public String PayUrl = null;
public ResponseStatus ResponseStatus = null;
public String getPayUrl() { return PayUrl; }
public FormFillPayResponse setPayUrl(String value) { this.PayUrl = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FormFillPayResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
}
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 /v1/formfill/status/{Token}/pay HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
PayUrl: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}