export class ERAS2ClientNotification
{
public noteID: number;
public infotext: string;
public valid_from: string;
public valid_to?: string;
public valid_version: string;
public license: string;
public constructor(init?: Partial<ERAS2ClientNotification>) { (Object as any).assign(this, init); }
}
export class ERAS2ClientNotificationResponse
{
public notifications: ERAS2ClientNotification[];
public constructor(init?: Partial<ERAS2ClientNotificationResponse>) { (Object as any).assign(this, init); }
}
export class ERAS2ClientNotificationRequest
{
public eras2_version: string;
public eras2_license: string;
public CallingOS: string;
public CallingOSArchitecture: string;
public LocalIP: string;
public CallingHost: string;
public CallingUser: string;
public CallingDomain: string;
public constructor(init?: Partial<ERAS2ClientNotificationRequest>) { (Object as any).assign(this, init); }
}
TypeScript ERAS2ClientNotificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/ERAS2ClientNotificationRequest HTTP/1.1
Host: 52.142.207.43
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ecUpdaterLicenseCommModel.ERAS2ClientNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser">
<CallingDomain>String</CallingDomain>
<CallingHost>String</CallingHost>
<CallingOS>String</CallingOS>
<CallingOSArchitecture>String</CallingOSArchitecture>
<CallingUser>String</CallingUser>
<LocalIP>String</LocalIP>
<eras2_license>String</eras2_license>
<eras2_version>String</eras2_version>
</ecUpdaterLicenseCommModel.ERAS2ClientNotificationRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ecUpdaterLicenseCommModel.ERAS2ClientNotificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser">
<notifications>
<ecUpdaterLicenseCommModel.ERAS2ClientNotification>
<infotext>String</infotext>
<license>String</license>
<noteID>0</noteID>
<valid_from>0001-01-01T00:00:00</valid_from>
<valid_to>0001-01-01T00:00:00</valid_to>
<valid_version>String</valid_version>
</ecUpdaterLicenseCommModel.ERAS2ClientNotification>
</notifications>
</ecUpdaterLicenseCommModel.ERAS2ClientNotificationResponse>