POST api/berac/dodaj
Request Information
URI Parameters
None.
Body Parameters
BeraciName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Ime | string |
None. |
|
Prezime | string |
None. |
|
Kontakt | string |
None. |
|
Prebivaliste | string |
None. |
|
Slika | Collection of byte |
None. |
|
SlikaNaziv | string |
None. |
|
SlikaPutanja | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Ime": "sample string 2", "Prezime": "sample string 3", "Kontakt": "sample string 4", "Prebivaliste": "sample string 5", "Slika": "QEA=", "SlikaNaziv": "sample string 6", "SlikaPutanja": "sample string 7" }
application/xml, text/xml
Sample:
<Beraci xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CB.API"> <Id>1</Id> <Ime>sample string 2</Ime> <Kontakt>sample string 4</Kontakt> <Prebivaliste>sample string 5</Prebivaliste> <Prezime>sample string 3</Prezime> <Slika>QEA=</Slika> <SlikaNaziv>sample string 6</SlikaNaziv> <SlikaPutanja>sample string 7</SlikaPutanja> </Beraci>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>