| GET | /komitenti |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Komitenti | form | List<Komitent> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Sifra | form | string | No | |
| Naziv | form | string | No | |
| Adresa | form | string | No | |
| Pib | form | string | No | |
| KontaktOsoba | form | string | No | |
| Telefon1 | form | string | No | |
| Telefon2 | form | string | No | |
| form | string | No | ||
| Ugovor | form | bool | No | |
| PdvObveznik | form | bool | No | |
| MaticniBroj | form | string | No | |
| Napomene | form | string | No | |
| OslobodjenObracunaPdv | form | bool | No | |
| LicnaKarta | form | bool | No | |
| TipKomitenta | form | IdNaziv | No | |
| Mesto | form | Mesto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Naziv | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Ptt | form | string | No | |
| Naziv | form | string | No |
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 /komitenti HTTP/1.1 Host: netcom.poslovnisoftver.rs Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
komitenti:
[
{
id: String,
sifra: String,
naziv: String,
adresa: String,
pib: String,
kontaktOsoba: String,
telefon1: String,
telefon2: String,
email: String,
maticniBroj: String,
napomene: String,
tipKomitenta:
{
id: String,
naziv: String
},
mesto:
{
id: String,
ptt: String,
naziv: String
}
}
],
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}