WebService

<back to all web services

ERAS2ClientNotificationRequest

import java.math.*
import java.util.*
import net.servicestack.client.*


open class ERAS2ClientNotificationRequest
{
    var eras2_version:String? = null
    var eras2_license:String? = null
    var CallingOS:String? = null
    var CallingOSArchitecture:String? = null
    var LocalIP:String? = null
    var CallingHost:String? = null
    var CallingUser:String? = null
    var CallingDomain:String? = null
}

open class ERAS2ClientNotificationResponse
{
    var notifications:ArrayList<ERAS2ClientNotification> = ArrayList<ERAS2ClientNotification>()
}

open class ERAS2ClientNotification
{
    var noteID:Long? = null
    var infotext:String? = null
    var valid_from:Date? = null
    var valid_to:Date? = null
    var valid_version:String? = null
    var license:String? = null
}

Kotlin ERAS2ClientNotificationRequest 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 /jsonl/reply/ERAS2ClientNotificationRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"eras2_version":"String","eras2_license":"String","CallingOS":"String","CallingOSArchitecture":"String","LocalIP":"String","CallingHost":"String","CallingUser":"String","CallingDomain":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"notifications":[{"noteID":0,"infotext":"String","valid_from":"\/Date(-62135596800000-0000)\/","valid_to":"\/Date(-62135596800000-0000)\/","valid_version":"String","license":"String"}]}