POST api/Proveedor/AgregarAnexo

Request Information

URI Parameters

None.

Body Parameters

AnexoModel
NameDescriptionTypeAdditional information
IdDocumento

globally unique identifier

None.

NombreCompleto

string

Required

AnexoBase64

string

Required

Request Formats

application/json, text/json

Sample:
{
  "IdDocumento": "45d59050-da3f-4956-b2f3-e77c8d02f5f8",
  "NombreCompleto": "sample string 2",
  "AnexoBase64": "sample string 3"
}

application/xml, text/xml

Sample:
<AnexoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIFACSEV2.Models.Json">
  <AnexoBase64>sample string 3</AnexoBase64>
  <IdDocumento>45d59050-da3f-4956-b2f3-e77c8d02f5f8</IdDocumento>
  <NombreCompleto>sample string 2</NombreCompleto>
</AnexoModel>

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 'AnexoModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />