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": "41b2d30d-e092-42b7-afb9-564e83757500",
"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>41b2d30d-e092-42b7-afb9-564e83757500</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": "826ea1f0-f901-4018-9a83-7f2b743b91cc",
"Ime": "sample string 1",
"Koncnica": "sample string 2",
"Velikost": 1,
"Podatki": "QEA=",
"Ustvarjeno": "2025-12-11T02:47:58.6879211+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>826ea1f0-f901-4018-9a83-7f2b743b91cc</PriponkaId>
<Ustvarjeno>2025-12-11T02:47:58.6879211+01:00</Ustvarjeno>
<Velikost>1</Velikost>
<VrstaPriponke>sample string 3</VrstaPriponke>
</Attachment>
</GetAttachmentResponse>