| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<EtsyGetAuthLinkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<OAUTH_CONSUMER_KEY>String</OAUTH_CONSUMER_KEY>
<OAUTH_CONSUMER_SECRET>String</OAUTH_CONSUMER_SECRET>
<bankindex>0</bankindex>
<oauth_token>String</oauth_token>
<oauth_verifier>String</oauth_verifier>
</EtsyGetAuthLinkRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EtsyGetAuthLinkResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages"> <EtsyAuthorizationLink>String</EtsyAuthorizationLink> <Token>String</Token> <TokenSecret>String</TokenSecret> <error>String</error> <request_token>String</request_token> </EtsyGetAuthLinkResponse>