POST api/Report/GetAttachment
Request Information
URI Parameters
None.
Body Parameters
GetAttachmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| idPriponka | globally unique identifier |
None. |
|
| idReport | integer |
None. |
|
| reportNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPriponka": "f61442c7-1f51-497d-bb64-d4a136e247f2",
"idReport": 1,
"reportNumber": "sample string 1"
}
application/xml, text/xml
Sample:
<GetAttachmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Report.Model"> <IdPriponka>f61442c7-1f51-497d-bb64-d4a136e247f2</IdPriponka> <Id_Report>1</Id_Report> <ReportNumber>sample string 1</ReportNumber> </GetAttachmentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetAttachmentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| attachment | Attachment |
None. |
|
| mesasge | string |
None. |
|
| isSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"attachment": {
"PriponkaId": "439ac252-d00f-459a-bfbf-f4d26c387482",
"Ime": "sample string 1",
"Koncnica": "sample string 2",
"Velikost": 1,
"Podatki": "QEA=",
"Ustvarjeno": "2026-01-07T20:31:23.8684352+01:00",
"Aktivna": true,
"VrstaPriponke": "sample string 3"
},
"mesasge": "sample string 1",
"isSuccess": true
}
application/xml, text/xml
Sample:
<GetAttachmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Report.Model">
<IsSuccess xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">true</IsSuccess>
<Mesasge xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 1</Mesasge>
<Attachment>
<Aktivna>true</Aktivna>
<Ime>sample string 1</Ime>
<Koncnica>sample string 2</Koncnica>
<Podatki>QEA=</Podatki>
<PriponkaId>439ac252-d00f-459a-bfbf-f4d26c387482</PriponkaId>
<Ustvarjeno>2026-01-07T20:31:23.8684352+01:00</Ustvarjeno>
<Velikost>1</Velikost>
<VrstaPriponke>sample string 3</VrstaPriponke>
</Attachment>
</GetAttachmentResponse>