| GET, POST | /fibuscan/Onlinehandel/info-box-details/import |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using FIBUdataServiceStack.ServiceModel.Messages;
namespace FIBUdataServiceStack.ServiceModel.Messages
{
public partial class OnlinehandelInfoBoxImportRequest
{
public virtual string wert { get; set; }
public virtual DateTime? vonDatum { get; set; }
public virtual DateTime? bisDatum { get; set; }
public virtual bool aktiv { get; set; }
public virtual bool istWebclient2Aktiv { get; set; }
public virtual bool istWebclient3Aktiv { get; set; }
public virtual bool istWebclientAlphaAktiv { get; set; }
}
public partial class OnlinehandelInfoBoxImportResponse
{
public virtual string error { get; set; }
public virtual bool result { get; set; }
}
}
C# OnlinehandelInfoBoxImportRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/info-box-details/import HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"wert":"String","vonDatum":"\/Date(-62135596800000-0000)\/","bisDatum":"\/Date(-62135596800000-0000)\/","aktiv":false,"istWebclient2Aktiv":false,"istWebclient3Aktiv":false,"istWebclientAlphaAktiv":false}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"error":"String","result":false}