| 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
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.
POST /status HTTP/1.1
Host: p4.smartdatasolutions.eu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"apiKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":"String"}