| GET, POST | /fibuscan/Onlinehandel/EtsyGetAuthLink |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using FIBUdataServiceStack.ServiceModel.Messages;
namespace FIBUdataServiceStack.ServiceModel.Messages
{
public partial class EtsyGetAuthLinkRequest
{
public virtual string OAUTH_CONSUMER_KEY { get; set; }
public virtual string OAUTH_CONSUMER_SECRET { get; set; }
public virtual string oauth_token { get; set; }
public virtual string oauth_verifier { get; set; }
public virtual long bankindex { get; set; }
}
public partial class EtsyGetAuthLinkResponse
{
public virtual string EtsyAuthorizationLink { get; set; }
public virtual string error { get; set; }
public virtual string request_token { get; set; }
public virtual string Token { get; set; }
public virtual string TokenSecret { get; set; }
}
}
C# EtsyGetAuthLinkRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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/csv
Content-Length: length
{"EtsyAuthorizationLink":"String","error":"String","request_token":"String","Token":"String","TokenSecret":"String"}