AffiliationAPI

<back to all web services

GetLinkAffiliationOptionsRequest

Requires Authentication
The following routes are available for this service:
GET/v4/link-affiliation-options
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports AffiliationAPI.ServiceModel.V4.Requests
Imports AffiliationAPI.ServiceModel.V4.Responses

Namespace Global

    Namespace AffiliationAPI.ServiceModel.V4.Requests

        <DataContract>
        Public Partial Class GetLinkAffiliationOptionsRequest
            Implements IGetLinkAffiliationOptionsRequest
            <DataMember(Name:="linkId", IsRequired:=true)>
            Public Overridable Property LinkId As String Implements IGetLinkAffiliationOptionsRequest.LinkId
        End Class
    End Namespace

    Namespace AffiliationAPI.ServiceModel.V4.Responses

        Public Partial Class GetLinkAffiliationOptionsResponse
            Implements IGetLinkAffiliationOptionsResponse
            Public Overridable Property Data As LinkAffiliationOptionsResponse Implements IGetLinkAffiliationOptionsResponse.Data
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class

        Public Partial Class LinkAffiliationOptionsResponse
            Implements ILinkAffiliationOptionsResponse
            Public Overridable Property Id As String Implements ILinkAffiliationOptionsResponse.Id
            Public Overridable Property Type As String
            Public Overridable Property LinkId As String Implements ILinkAffiliationOptionsResponse.LinkId
            Public Overridable Property AffiliationDisabled As Boolean? Implements ILinkAffiliationOptionsResponse.AffiliationDisabled
            Public Overridable Property CreatedDate As Date? Implements ILinkAffiliationOptionsResponse.CreatedDate
        End Class
    End Namespace
End Namespace

VB.NET GetLinkAffiliationOptionsRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /v4/link-affiliation-options HTTP/1.1 
Host: affiliation-api-pr-4587.qa.platform.georiot.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"data":{"id":"String","type":"link-affiliation-options","linkId":"String","affiliationDisabled":false,"createdDate":"0001-01-01T00:00:00.0000000"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}