POST api/Agente/AltaAgenteAduanal

Request Information

URI Parameters

None.

Body Parameters

Agente
NameDescriptionTypeAdditional information
FIIDAGENTE_ADUANAL

integer

None.

FSNOMBRE

string

None.

FSAPELLIDOS

string

None.

FSNOMBRE_COMPLETO

string

None.

FSDIRECCION

string

None.

FINUMERO_PATENTE

integer

None.

FDALTA

date

None.

FIIDESTATUS

integer

None.

FIIDAGREGADO_POR

integer

None.

FSCORREO

string

None.

FSUSUARIO

string

None.

FSCONTRASENA

string

None.

oArchivosO

Collection of Archivos

None.

nTipoUsuario

integer

None.

nIdProspectoAgenteAduanal

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FIIDAGENTE_ADUANAL": 1,
  "FSNOMBRE": "sample string 2",
  "FSAPELLIDOS": "sample string 3",
  "FSNOMBRE_COMPLETO": "sample string 4",
  "FSDIRECCION": "sample string 5",
  "FINUMERO_PATENTE": 1,
  "FDALTA": "2025-05-10T15:50:02.8115945-06:00",
  "FIIDESTATUS": 1,
  "FIIDAGREGADO_POR": 1,
  "FSCORREO": "sample string 6",
  "FSUSUARIO": "sample string 7",
  "FSCONTRASENA": "sample string 8",
  "oArchivosO": [
    {
      "nIdDocumento": 1,
      "sNombreArchivo": "sample string 2",
      "sArchivoBase64": "sample string 3",
      "sRuta": "sample string 4",
      "sHash": "sample string 5",
      "bActualizable": true,
      "bRechazado": true,
      "sMotivoRechazo": "sample string 8",
      "bArchivo": "QEA="
    },
    {
      "nIdDocumento": 1,
      "sNombreArchivo": "sample string 2",
      "sArchivoBase64": "sample string 3",
      "sRuta": "sample string 4",
      "sHash": "sample string 5",
      "bActualizable": true,
      "bRechazado": true,
      "sMotivoRechazo": "sample string 8",
      "bArchivo": "QEA="
    }
  ],
  "nTipoUsuario": 9,
  "nIdProspectoAgenteAduanal": 1
}

application/xml, text/xml

Sample:
<Agente xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExtranetWS.Models">
  <FDALTA>2025-05-10T15:50:02.8115945-06:00</FDALTA>
  <FIIDAGENTE_ADUANAL>1</FIIDAGENTE_ADUANAL>
  <FIIDAGREGADO_POR>1</FIIDAGREGADO_POR>
  <FIIDESTATUS>1</FIIDESTATUS>
  <FINUMERO_PATENTE>1</FINUMERO_PATENTE>
  <FSAPELLIDOS>sample string 3</FSAPELLIDOS>
  <FSCONTRASENA>sample string 8</FSCONTRASENA>
  <FSCORREO>sample string 6</FSCORREO>
  <FSDIRECCION>sample string 5</FSDIRECCION>
  <FSNOMBRE>sample string 2</FSNOMBRE>
  <FSNOMBRE_COMPLETO>sample string 4</FSNOMBRE_COMPLETO>
  <FSUSUARIO>sample string 7</FSUSUARIO>
  <nIdProspectoAgenteAduanal>1</nIdProspectoAgenteAduanal>
  <nTipoUsuario>9</nTipoUsuario>
  <oArchivosO>
    <Archivos>
      <bActualizable>true</bActualizable>
      <bArchivo>QEA=</bArchivo>
      <bRechazado>true</bRechazado>
      <nIdDocumento>1</nIdDocumento>
      <sArchivoBase64>sample string 3</sArchivoBase64>
      <sHash>sample string 5</sHash>
      <sMotivoRechazo>sample string 8</sMotivoRechazo>
      <sNombreArchivo>sample string 2</sNombreArchivo>
      <sRuta>sample string 4</sRuta>
    </Archivos>
    <Archivos>
      <bActualizable>true</bActualizable>
      <bArchivo>QEA=</bArchivo>
      <bRechazado>true</bRechazado>
      <nIdDocumento>1</nIdDocumento>
      <sArchivoBase64>sample string 3</sArchivoBase64>
      <sHash>sample string 5</sHash>
      <sMotivoRechazo>sample string 8</sMotivoRechazo>
      <sNombreArchivo>sample string 2</sNombreArchivo>
      <sRuta>sample string 4</sRuta>
    </Archivos>
  </oArchivosO>
</Agente>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.