ConsumerApi

<back to all web services

StarredAdRequest

Consumer
Requires Authentication
Required role:Consumer
The following routes are available for this service:
POST/ad/StarredAd
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ConsumerApi

Namespace Global
End Namespace

VB.NET StarredAdRequest DTOs

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

HTTP + OTHER

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

POST /ad/StarredAd HTTP/1.1 
Host: unstable-consumer-api.brovs.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"adId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"starredAdId":0}