POST api/ArchivoDtoes

Request Information

URI Parameters

None.

Body Parameters

ArchivoDto
NameDescriptionTypeAdditional information
Id

integer

None.

Nombre

string

None.

Tipo

string

None.

Byte

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Nombre": "sample string 2",
  "Tipo": "sample string 3",
  "Byte": "QEA="
}

application/xml, text/xml

Sample:
<ArchivoDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>1</Id>
  <Nombre>sample string 2</Nombre>
  <Tipo>sample string 3</Tipo>
  <Byte>QEA=</Byte>
</ArchivoDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ArchivoDto'.

Response Information

Resource Description

ArchivoDto
NameDescriptionTypeAdditional information
Id

integer

None.

Nombre

string

None.

Tipo

string

None.

Byte

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Nombre": "sample string 2",
  "Tipo": "sample string 3",
  "Byte": "QEA="
}

application/xml, text/xml

Sample:
<ArchivoDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>1</Id>
  <Nombre>sample string 2</Nombre>
  <Tipo>sample string 3</Tipo>
  <Byte>QEA=</Byte>
</ArchivoDto>