ConsumerApi

<back to all web services

ShareAdMessageLinkRequest

Consumer
Requires Authentication
Required role:Consumer
The following routes are available for this service:
GET/share/share-ad-message-linkCreate a share ad-message linkThe link contains a JWT token with the identity of the referring user and the shared ad-message as well as the expiration of the link.
namespace ConsumerApi

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type ShareAdMessageLinkResponse() = 
        member val LinkWithShareAdMessageToken:String = null with get,set

    [<AllowNullLiteral>]
    type ShareAdMessageLinkRequest() = 
        interface IGet
        [<Validate(Validator="NotNull")>]
        member val AdMessageId:Nullable<Int64> = new Nullable<Int64>() with get,set

F# ShareAdMessageLinkRequest DTOs

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

HTTP + JSV

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

GET /share/share-ad-message-link HTTP/1.1 
Host: unstable-consumer-api.brovs.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	linkWithShareAdMessageToken: String
}