| GET POST | /api/misa-wesign/sid-callback |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class MisaWeSignSidCallbackRequest
{
public String state = null;
public String sid = null;
public String code = null;
public String error = null;
public String getState() { return state; }
public MisaWeSignSidCallbackRequest setState(String value) { this.state = value; return this; }
public String getSid() { return sid; }
public MisaWeSignSidCallbackRequest setSid(String value) { this.sid = value; return this; }
public String getCode() { return code; }
public MisaWeSignSidCallbackRequest setCode(String value) { this.code = value; return this; }
public String getError() { return error; }
public MisaWeSignSidCallbackRequest setError(String value) { this.error = value; return this; }
}
}
Java MisaWeSignSidCallbackRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/misa-wesign/sid-callback HTTP/1.1
Host: qlcn-api.vsmlab.vn
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<MisaWeSignSidCallbackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
<Code>String</Code>
<Error>String</Error>
<Sid>String</Sid>
<State>String</State>
</MisaWeSignSidCallbackRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />