| GET | /provider/export |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ExportProviderRequest
{
public String name = null;
public String phone = null;
public Integer providerType = null;
public String getName() { return name; }
public ExportProviderRequest setName(String value) { this.name = value; return this; }
public String getPhone() { return phone; }
public ExportProviderRequest setPhone(String value) { this.phone = value; return this; }
public Integer getProviderType() { return providerType; }
public ExportProviderRequest setProviderType(Integer value) { this.providerType = value; return this; }
}
}
Java ExportProviderRequest 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.
GET /provider/export HTTP/1.1 Host: etc-api.vsmlab.vn Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length (byte[])