GET | /api/printers |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using IDB.API.DTO.Printers.Operations;
namespace IDB.API.DTO.Printers.Operations
{
public partial class GetPrinters
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/printers HTTP/1.1 Host: digiofficeapigateway.deltares.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"ID":0,"Description":"String","InternalCompanyID":0,"BinLogo":0,"BinBlank":0,"BinFollow":0,"BinExtra":0,"BinLabel":0}]