POST api/AdsFe

Request Information

URI Parameters

None.

Body Parameters

FEViewModel
NameDescriptionTypeAdditional information
Usuario

string

None.

Clave

string

None.

Cuit

decimal number

None.

Produccion

boolean

None.

PtoVta

integer

None.

Fecha

string

None.

TipoCbt

integer

None.

TipoDoc

integer

None.

DocNro

decimal number

None.

ImpTot

decimal number

None.

ImpTotConc

decimal number

None.

ImpNeto

decimal number

None.

ImpOpEx

decimal number

None.

FechaServDesde

string

None.

FechaServHasta

string

None.

FechaVtoPago

string

None.

MonId

string

None.

MonCotiz

decimal number

None.

OpcionalId

string

None.

OpcionalValor

string

None.

AgregaIva

Object

None.

Agregacompasoc

Object

None.

Agregatributo

Object

None.

AgregaOpcional

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "Usuario": "sample string 1",
  "Clave": "sample string 2",
  "Cuit": 3.1,
  "Produccion": true,
  "PtoVta": 5,
  "Fecha": "sample string 6",
  "TipoCbt": 7,
  "TipoDoc": 8,
  "DocNro": 9.1,
  "ImpTot": 10.1,
  "ImpTotConc": 11.1,
  "ImpNeto": 12.1,
  "ImpOpEx": 13.1,
  "FechaServDesde": "sample string 14",
  "FechaServHasta": "sample string 15",
  "FechaVtoPago": "sample string 16",
  "MonId": "sample string 17",
  "MonCotiz": 18.1,
  "OpcionalId": "sample string 19",
  "OpcionalValor": "sample string 20",
  "AgregaIva": {},
  "Agregacompasoc": {},
  "Agregatributo": {},
  "AgregaOpcional": {}
}

text/html

Sample:
{"Usuario":"sample string 1","Clave":"sample string 2","Cuit":3.1,"Produccion":true,"PtoVta":5,"Fecha":"sample string 6","TipoCbt":7,"TipoDoc":8,"DocNro":9.1,"ImpTot":10.1,"ImpTotConc":11.1,"ImpNeto":12.1,"ImpOpEx":13.1,"FechaServDesde":"sample string 14","FechaServHasta":"sample string 15","FechaVtoPago":"sample string 16","MonId":"sample string 17","MonCotiz":18.1,"OpcionalId":"sample string 19","OpcionalValor":"sample string 20","AgregaIva":{},"Agregacompasoc":{},"Agregatributo":{},"AgregaOpcional":{}}

application/xml, text/xml

Sample:
<FEViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models">
  <AgregaIva />
  <AgregaOpcional />
  <Agregacompasoc />
  <Agregatributo />
  <Clave>sample string 2</Clave>
  <Cuit>3.1</Cuit>
  <DocNro>9.1</DocNro>
  <Fecha>sample string 6</Fecha>
  <FechaServDesde>sample string 14</FechaServDesde>
  <FechaServHasta>sample string 15</FechaServHasta>
  <FechaVtoPago>sample string 16</FechaVtoPago>
  <ImpNeto>12.1</ImpNeto>
  <ImpOpEx>13.1</ImpOpEx>
  <ImpTot>10.1</ImpTot>
  <ImpTotConc>11.1</ImpTotConc>
  <MonCotiz>18.1</MonCotiz>
  <MonId>sample string 17</MonId>
  <OpcionalId>sample string 19</OpcionalId>
  <OpcionalValor>sample string 20</OpcionalValor>
  <Produccion>true</Produccion>
  <PtoVta>5</PtoVta>
  <TipoCbt>7</TipoCbt>
  <TipoDoc>8</TipoDoc>
  <Usuario>sample string 1</Usuario>
</FEViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reply
NameDescriptionTypeAdditional information
message

string

None.

result

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "result": 2,
  "data": {}
}

text/html

Sample:
{"message":"sample string 1","result":2,"data":{}}

application/xml, text/xml

Sample:
<Reply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS">
  <data />
  <message>sample string 1</message>
  <result>2</result>
</Reply>