FBiHBetting.Aggregator.WebApi

<back to all web services

GetReportParameters

The following routes are available for this service:
GET/reportParameters
"use strict";
/** @typedef {number} */
export var ReportOperation;
(function (ReportOperation) {
    ReportOperation[ReportOperation["Prijava_od_strane_poreznog_obveznika"] = 0] = "Prijava_od_strane_poreznog_obveznika"
    ReportOperation[ReportOperation["Prijava_u_ime_poreznog_obveznika"] = 1] = "Prijava_u_ime_poreznog_obveznika"
    ReportOperation[ReportOperation["Izmjena"] = 2] = "Izmjena"
    ReportOperation[ReportOperation["Izmjena_prijava_poreske_uprave"] = 3] = "Izmjena_prijava_poreske_uprave"
})(ReportOperation || (ReportOperation = {}));
export class ReportParameters {
    /** @param {{id?:string,documentOrdinal?:number,official?:string,operation?:ReportOperation,dateOfReceipt?:string,authorizedPersonJMBG?:string,authorizedPersonFullName?:string,authorizedPersonLocation?:string,authorizedPersonStatementDate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {number} */
    documentOrdinal;
    /** @type {string} */
    official;
    /** @type {ReportOperation} */
    operation;
    /** @type {string} */
    dateOfReceipt;
    /** @type {string} */
    authorizedPersonJMBG;
    /** @type {string} */
    authorizedPersonFullName;
    /** @type {string} */
    authorizedPersonLocation;
    /** @type {string} */
    authorizedPersonStatementDate;
}
export class GetReportParameters {
    constructor(init) { Object.assign(this, init) }
}

JavaScript GetReportParameters DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}