POST api/Documento

Request Information

URI Parameters

None.

Body Parameters

DocumentoTipo
NameDescriptionTypeAdditional information
DocumentoId

integer

None.

Archivo

HttpPostedFileBase

None.

TipoDocumento

integer

None.

ProyectoId

integer

None.

NombreUsuario

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentoId": 1,
  "Archivo": null,
  "TipoDocumento": 1,
  "ProyectoId": 2,
  "NombreUsuario": "sample string 3"
}

application/xml, text/xml

Sample:
<DocumentoTipo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LogicaPulep.Modelo">
  <Archivo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <DocumentoId>1</DocumentoId>
  <NombreUsuario>sample string 3</NombreUsuario>
  <ProyectoId>2</ProyectoId>
  <TipoDocumento>1</TipoDocumento>
</DocumentoTipo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>