<back to all web services

Status

The following routes are available for this service:
All Verbs/status
namespace SDS.V8.APIs.P4.EU.ServiceModel

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

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

    [<AllowNullLiteral>]
    type Generic() = 
        ///<summary>
        ///Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY
        ///</summary>
        [<ApiMember(DataType="String", Description="Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY", IsRequired=true, Name="ApiKey")>]
        member val ApiKey:String = null with get,set

    [<AllowNullLiteral>]
    type Status() = 
        inherit Generic()
        interface IGet

F# Status 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 /status HTTP/1.1 
Host: p4.smartdatasolutions.eu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

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

{"result":"String"}