GET | /libraryNavTopics | Use to get library topics |
---|
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 LibraryNavTopic() =
member val Name:String = null with get,set
member val Topics:ICollection<TopicItem> = null with get,set
[<AllowNullLiteral>]
type LibraryNavTopicsResponse() =
member val LibraryNavTopics:ICollection<LibraryNavTopic> = null with get,set
[<AllowNullLiteral>]
type BasicResourceLibraryRequest() =
member val ResourceLibraryMemberId:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type LibraryNavTopicsRequest() =
inherit BasicResourceLibraryRequest()
member val DigitalFitness:Boolean = new Boolean() with get,set
F# LibraryNavTopicsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /libraryNavTopics HTTP/1.1 Host: resourcelibrary.api.ashcompanies.com Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"libraryNavTopics":null}