FIBUdataServiceStack

<back to all web services

EtsyGetAuthLinkRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/EtsyGetAuthLink
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EtsyGetAuthLinkRequest
    {
        public String OAUTH_CONSUMER_KEY = null;
        public String OAUTH_CONSUMER_SECRET = null;
        public String oauth_token = null;
        public String oauth_verifier = null;
        public Long bankindex = null;
        
        public String getOauthConsumerKey() { return OAUTH_CONSUMER_KEY; }
        public EtsyGetAuthLinkRequest setOauthConsumerKey(String value) { this.OAUTH_CONSUMER_KEY = value; return this; }
        public String getOauthConsumerSecret() { return OAUTH_CONSUMER_SECRET; }
        public EtsyGetAuthLinkRequest setOauthConsumerSecret(String value) { this.OAUTH_CONSUMER_SECRET = value; return this; }
        public String getOauthToken() { return oauth_token; }
        public EtsyGetAuthLinkRequest setOauthToken(String value) { this.oauth_token = value; return this; }
        public String getOauthVerifier() { return oauth_verifier; }
        public EtsyGetAuthLinkRequest setOauthVerifier(String value) { this.oauth_verifier = value; return this; }
        public Long getBankindex() { return bankindex; }
        public EtsyGetAuthLinkRequest setBankindex(Long value) { this.bankindex = value; return this; }
    }

    public static class EtsyGetAuthLinkResponse
    {
        public String EtsyAuthorizationLink = null;
        public String error = null;
        public String request_token = null;
        public String Token = null;
        public String TokenSecret = null;
        
        public String getEtsyAuthorizationLink() { return EtsyAuthorizationLink; }
        public EtsyGetAuthLinkResponse setEtsyAuthorizationLink(String value) { this.EtsyAuthorizationLink = value; return this; }
        public String getError() { return error; }
        public EtsyGetAuthLinkResponse setError(String value) { this.error = value; return this; }
        public String getRequestToken() { return request_token; }
        public EtsyGetAuthLinkResponse setRequestToken(String value) { this.request_token = value; return this; }
        public String getToken() { return Token; }
        public EtsyGetAuthLinkResponse setToken(String value) { this.Token = value; return this; }
        public String getTokenSecret() { return TokenSecret; }
        public EtsyGetAuthLinkResponse setTokenSecret(String value) { this.TokenSecret = value; return this; }
    }

}

Java EtsyGetAuthLinkRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /fibuscan/Onlinehandel/EtsyGetAuthLink HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	OAUTH_CONSUMER_KEY: String,
	OAUTH_CONSUMER_SECRET: String,
	oauth_token: String,
	oauth_verifier: String,
	bankindex: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	EtsyAuthorizationLink: String,
	error: String,
	request_token: String,
	Token: String,
	TokenSecret: String
}