GET | /topicsList | Use to get Resource Library Topic names |
---|
namespace ASH.ResourceLibrary.Interfaces.Models
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type TopicItem() =
member val Id:String = null with get,set
member val Title:String = null with get,set
member val IsNavItem:Boolean = new Boolean() with get,set
member val IsVisible:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type TopicListResponse() =
member val TopicsList:ResizeArray<TopicItem> = new ResizeArray<TopicItem>() with get,set
[<AllowNullLiteral>]
type BasicResourceLibraryRequest() =
member val ResourceLibraryMemberId:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type TopicListRequest() =
inherit BasicResourceLibraryRequest()
member val DigitalFitness:Boolean = new Boolean() with get,set
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 /topicsList HTTP/1.1 Host: resourcelibrary.api.ashcompanies.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"topicsList":[{"id":"String","title":"String","isNavItem":false,"isVisible":false}]}