Field Squared API Services

<back to all web services

OAuthInfo

Represents and item that provides info required to provision an integration object

The following routes are available for this service:
GET/{WorkspaceId}/OAuthInfo
import java.math.*
import java.util.*
import net.servicestack.client.*


/**
* Represents and item that provides info required to provision an integration object
*/
open class OAuthInfo
{
    var WorkspaceId:String? = null
    var OAuthUrl:String? = null
    var App:String? = null
    var ApiKey:String? = null
    var ApiSecret:String? = null
    var IsTestEnv:Boolean? = null
}

Kotlin OAuthInfo DTOs

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

HTTP + XML

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

GET /{WorkspaceId}/OAuthInfo HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: application/xml