| GET | /v4/link-affiliation-options |
|---|
namespace AffiliationAPI.ServiceModel.V4.Requests
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type LinkAffiliationOptionsResponse() =
member val Id:String = null with get,set
member val Type:String = null with get,set
member val LinkId:String = null with get,set
member val AffiliationDisabled:Nullable<Boolean> = new Nullable<Boolean>() with get,set
member val CreatedDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
[<AllowNullLiteral>]
type GetLinkAffiliationOptionsResponse() =
member val Data:LinkAffiliationOptionsResponse = null with get,set
member val ResponseStatus:ResponseStatus = null with get,set
[<DataContract>]
[<AllowNullLiteral>]
type GetLinkAffiliationOptionsRequest() =
[<DataMember(Name="linkId", IsRequired=true)>]
member val LinkId:String = null with get,set
F# 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
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"}}}