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": "18144bce-1e6a-446d-9c20-bf9472c9c675",
"Ime": "sample string 1",
"Koncnica": "sample string 2",
"Velikost": 1,
"Podatki": "QEA=",
"Ustvarjeno": "2025-12-11T02:47:58.7972999+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>18144bce-1e6a-446d-9c20-bf9472c9c675</PriponkaId>
<Ustvarjeno>2025-12-11T02:47:58.7972999+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>