| GET | /reportParameters |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetReportParameters
{
}
open class ReportParameters
{
open var id:String? = null
open var documentOrdinal:Int? = null
open var official:String? = null
open var operation:ReportOperation? = null
open var dateOfReceipt:Date? = null
open var authorizedPersonJMBG:String? = null
open var authorizedPersonFullName:String? = null
open var authorizedPersonLocation:String? = null
open var authorizedPersonStatementDate:Date? = null
}
enum class ReportOperation(val value:Int)
{
@SerializedName("0") PrijavaOdStranePoreznogObveznika(0),
@SerializedName("1") PrijavaUImePoreznogObveznika(1),
@SerializedName("2") Izmjena(2),
@SerializedName("3") IzmjenaPrijavaPoreskeUprave(3),
}
Kotlin GetReportParameters DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
id: String,
documentOrdinal: 0,
official: String,
operation: 0,
dateOfReceipt: 0001-01-01,
authorizedPersonJMBG: String,
authorizedPersonFullName: String,
authorizedPersonLocation: String,
authorizedPersonStatementDate: 0001-01-01
}