POST api/DipendentiFile

Request Information

URI Parameters

None.

Body Parameters

DipendentiFile
NameDescriptionTypeAdditional information
IDFile

integer

None.

IDFolder

integer

None.

Path

string

Required

TypeofFile

TypeFile

None.

DueToDeletion

boolean

None.

DateDeletion

date

None.

ModelState

EnmModelState

None.

Stream

MemoryStream

None.

DisplayType

string

None.

DisplayDeletion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDFile": 1,
  "IDFolder": 2,
  "Path": "sample string 3",
  "TypeofFile": 0,
  "DueToDeletion": true,
  "DateDeletion": "2025-12-10T18:09:32.3548322+01:00",
  "ModelState": 0,
  "Stream": null,
  "DisplayType": "Indefinito",
  "DisplayDeletion": "IN CANCELLAZIONE"
}

application/xml, text/xml

Sample:
<DipendentiFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Puliservice.Data.S3">
  <DateDeletion>2025-12-10T18:09:32.3548322+01:00</DateDeletion>
  <DueToDeletion>true</DueToDeletion>
  <IDFile>1</IDFile>
  <IDFolder>2</IDFolder>
  <ModelState>Unchanged</ModelState>
  <Path>sample string 3</Path>
  <Stream xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.IO" i:nil="true" />
  <TypeofFile>NULL</TypeofFile>
</DipendentiFile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.