| GET | /reportParameters |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class GetReportParameters
{
}
public static class ReportParameters
{
public String id = null;
public Integer documentOrdinal = null;
public String official = null;
public ReportOperation operation = null;
public Date dateOfReceipt = null;
public String authorizedPersonJMBG = null;
public String authorizedPersonFullName = null;
public String authorizedPersonLocation = null;
public Date authorizedPersonStatementDate = null;
public String getId() { return id; }
public ReportParameters setId(String value) { this.id = value; return this; }
public Integer getDocumentOrdinal() { return documentOrdinal; }
public ReportParameters setDocumentOrdinal(Integer value) { this.documentOrdinal = value; return this; }
public String getOfficial() { return official; }
public ReportParameters setOfficial(String value) { this.official = value; return this; }
public ReportOperation getOperation() { return operation; }
public ReportParameters setOperation(ReportOperation value) { this.operation = value; return this; }
public Date getDateOfReceipt() { return dateOfReceipt; }
public ReportParameters setDateOfReceipt(Date value) { this.dateOfReceipt = value; return this; }
public String getAuthorizedPersonJMBG() { return authorizedPersonJMBG; }
public ReportParameters setAuthorizedPersonJMBG(String value) { this.authorizedPersonJMBG = value; return this; }
public String getAuthorizedPersonFullName() { return authorizedPersonFullName; }
public ReportParameters setAuthorizedPersonFullName(String value) { this.authorizedPersonFullName = value; return this; }
public String getAuthorizedPersonLocation() { return authorizedPersonLocation; }
public ReportParameters setAuthorizedPersonLocation(String value) { this.authorizedPersonLocation = value; return this; }
public Date getAuthorizedPersonStatementDate() { return authorizedPersonStatementDate; }
public ReportParameters setAuthorizedPersonStatementDate(Date value) { this.authorizedPersonStatementDate = value; return this; }
}
public static enum ReportOperation
{
@SerializedName("0") PrijavaOdStranePoreznogObveznika(0),
@SerializedName("1") PrijavaUImePoreznogObveznika(1),
@SerializedName("2") Izmjena(2),
@SerializedName("3") IzmjenaPrijavaPoreskeUprave(3);
private final int value;
ReportOperation(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
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.
GET /reportParameters HTTP/1.1 Host: fbihtaapi.bettor.webhop.biz Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id":"String","documentOrdinal":0,"official":"String","operation":0,"dateOfReceipt":"0001-01-01T00:00:00.0000000Z","authorizedPersonJMBG":"String","authorizedPersonFullName":"String","authorizedPersonLocation":"String","authorizedPersonStatementDate":"0001-01-01T00:00:00.0000000Z"}