POST api/Report/UpdateAttachment
Request Information
URI Parameters
None.
Body Parameters
ReportUpdateAttachmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| attachment | Attachment |
None. |
|
| reportNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"attachment": {
"PriponkaId": "a31888f2-da53-4a6d-bdcc-8fe08a9c56c0",
"Ime": "sample string 1",
"Koncnica": "sample string 2",
"Velikost": 1,
"Podatki": "QEA=",
"Ustvarjeno": "2026-01-07T20:31:25.3840286+01:00",
"Aktivna": true,
"VrstaPriponke": "sample string 3"
},
"reportNumber": "sample string 1"
}
application/xml, text/xml
Sample:
<ReportUpdateAttachmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Report.Model">
<Attachment>
<Aktivna>true</Aktivna>
<Ime>sample string 1</Ime>
<Koncnica>sample string 2</Koncnica>
<Podatki>QEA=</Podatki>
<PriponkaId>a31888f2-da53-4a6d-bdcc-8fe08a9c56c0</PriponkaId>
<Ustvarjeno>2026-01-07T20:31:25.3840286+01:00</Ustvarjeno>
<Velikost>1</Velikost>
<VrstaPriponke>sample string 3</VrstaPriponke>
</Attachment>
<ReportNumber>sample string 1</ReportNumber>
</ReportUpdateAttachmentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReportUpdateAttachmentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| mesasge | string |
None. |
|
| isSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"mesasge": "sample string 1",
"isSuccess": true
}
application/xml, text/xml
Sample:
<ReportUpdateAttachmentResponse 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> </ReportUpdateAttachmentResponse>