| GET | /GetNodeChildrenRequest | This will return no data for those nodes with collectible children. There is no advanced APi version for this call. |
|---|
namespace Cdn.PublicApiV2.Dto
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type BaseResponse() =
member val Total:Int32 = new Int32() with get,set
member val OpCode:Int32 = new Int32() with get,set
member val ErrorText:String = null with get,set
member val RequestTime:String = null with get,set
member val ResponseTime:String = null with get,set
member val TotalExecutionTime:String = null with get,set
member val CachedResponse:Boolean = new Boolean() with get,set
member val PermitAccess:Boolean = new Boolean() with get,set
member val AccessDeniedMessage:String = null with get,set
[<AllowNullLiteral>]
type NodeDto() =
member val Id:Int64 = new Int64() with get,set
member val Name:String = null with get,set
member val Description:String = null with get,set
member val FeaturedImageUrl:String = null with get,set
member val FeaturedImageAttribution:String = null with get,set
member val FlagCode:String = null with get,set
member val CountryName:String = null with get,set
member val SortingPosition:Int32 = new Int32() with get,set
member val NodeChildrenCountLive:Int32 = new Int32() with get,set
member val CollectibleChildrenCountLive:Int32 = new Int32() with get,set
member val ParentNode_Id:Nullable<Int64> = new Nullable<Int64>() with get,set
member val RootNode_Id:Nullable<Int64> = new Nullable<Int64>() with get,set
member val ChildNodes:ResizeArray<NodeDto> = null with get,set
[<AllowNullLiteral>]
type NodeResponse() =
inherit BaseResponse()
member val Data:ResizeArray<NodeDto> = null with get,set
///<summary>
///Retrieve node children for a given node
///</summary>
[<Api(Description="Retrieve node children for a given node")>]
[<AllowNullLiteral>]
type GetNodeChildrenRequest() =
member val NodeId:Nullable<Int64> = new Nullable<Int64>() with get,set
F# GetNodeChildrenRequest 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 /GetNodeChildrenRequest HTTP/1.1 Host: publicapiv2dev.greysheet.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Data":[{"Id":0,"Name":"String","Description":"String","FeaturedImageUrl":"String","FeaturedImageAttribution":"String","FlagCode":"String","CountryName":"String","SortingPosition":0,"NodeChildrenCountLive":0,"CollectibleChildrenCountLive":0,"ParentNode_Id":0,"RootNode_Id":0,"ChildNodes":[{"Id":0,"Name":"String","Description":"String","FeaturedImageUrl":"String","FeaturedImageAttribution":"String","FlagCode":"String","CountryName":"String","SortingPosition":0,"NodeChildrenCountLive":0,"CollectibleChildrenCountLive":0,"ParentNode_Id":0,"RootNode_Id":0,"ChildNodes":[{"Id":0,"Name":"String","Description":"String","FeaturedImageUrl":"String","FeaturedImageAttribution":"String","FlagCode":"String","CountryName":"String","SortingPosition":0,"NodeChildrenCountLive":0,"CollectibleChildrenCountLive":0,"ParentNode_Id":0,"RootNode_Id":0}]}]}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false,"PermitAccess":false,"AccessDeniedMessage":"String"}