POST api/documentos/actualizaDocumento

Request Information

URI Parameters

None.

Body Parameters

ActualizaDocumento
NameDescriptionTypeAdditional information
EntryId

integer

None.

Metadatos

Collection of Metadato

None.

access_token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryId": 1,
  "Metadatos": [
    {
      "Nombre": "sample string 1",
      "Valor": {}
    },
    {
      "Nombre": "sample string 1",
      "Valor": {}
    }
  ],
  "access_token": "sample string 2"
}

application/xml, text/xml

Sample:
<ActualizaDocumento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WS_ApiLaserfiche.Models">
  <EntryId>1</EntryId>
  <Metadatos>
    <Metadato>
      <Nombre>sample string 1</Nombre>
      <Valor />
    </Metadato>
    <Metadato>
      <Nombre>sample string 1</Nombre>
      <Valor />
    </Metadato>
  </Metadatos>
  <access_token>sample string 2</access_token>
</ActualizaDocumento>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.