POST api/actualizaprecintos

Request Information

URI Parameters

None.

Body Parameters

AutorizacionEntregaPrecintoRegistroRPS
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

CodLiqu

integer

None.

NombreCompleto

string

None.

DNI

string

None.

EmpresaPertenece

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "CodLiqu": 3,
  "NombreCompleto": "sample string 4",
  "DNI": "sample string 5",
  "EmpresaPertenece": "sample string 6"
}

text/xml

Sample:
<AutorizacionEntregaPrecintoRegistroRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <CodLiqu>3</CodLiqu>
  <DNI>sample string 5</DNI>
  <EmpresaPertenece>sample string 6</EmpresaPertenece>
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
  <NombreCompleto>sample string 4</NombreCompleto>
</AutorizacionEntregaPrecintoRegistroRPS>

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

Response Information

Resource Description

Collection of MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Cod": 1,
    "Msj": "sample string 2"
  },
  {
    "Cod": 1,
    "Msj": "sample string 2"
  }
]

text/xml

Sample:
<ArrayOfMsjRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <MsjRPS>
    <Cod>1</Cod>
    <Msj>sample string 2</Msj>
  </MsjRPS>
  <MsjRPS>
    <Cod>1</Cod>
    <Msj>sample string 2</Msj>
  </MsjRPS>
</ArrayOfMsjRPS>