POST api/Wscpe/ConsultarUltimoOrden

Consulta un CAE para un punto de venta y Nro de comprobante

Request Information

URI Parameters

None.

Body Parameters

Solicitud que contiene el comprobante, nro cuit emisor, y ruta del certificado

ReqWscpeUltimoNroOrden
NameDescriptionTypeAdditional information
Sucursal

string

None.

Tipo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Sucursal": "sample string 1",
  "Tipo": 2
}

text/html

Sample:
{"Sucursal":"sample string 1","Tipo":2}

application/xml, text/xml

Sample:
<ReqWscpeUltimoNroOrden xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WS_Karma">
  <Sucursal>sample string 1</Sucursal>
  <Tipo>2</Tipo>
</ReqWscpeUltimoNroOrden>

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

Response Information

Resource Description

Objeto del tipo RspSolicitudCAE

RspWscpeUltimoNroOrden
NameDescriptionTypeAdditional information
Numero

integer

None.

Estado

boolean

None.

CodigoError

string

None.

Mensaje

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Numero": 1,
  "Estado": true,
  "CodigoError": "sample string 3",
  "Mensaje": "sample string 4"
}

text/html

Sample:
{"Numero":1,"Estado":true,"CodigoError":"sample string 3","Mensaje":"sample string 4"}

application/xml, text/xml

Sample:
<RspWscpeUltimoNroOrden xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WS_Karma">
  <CodigoError>sample string 3</CodigoError>
  <Estado>true</Estado>
  <Mensaje>sample string 4</Mensaje>
  <Numero>1</Numero>
</RspWscpeUltimoNroOrden>