POST api/Document/State

Request Information

URI Parameters

None.

Body Parameters

FeConsultaDocumento
NameDescriptionTypeAdditional information
emisor_Id

integer

None.

token

string

None.

clave

string

None.

consecutivo

string

None.

estado

integer

None.

detalle

string

None.

fechaEmision

string

None.

receptorNombre

string

None.

receptorTipoIdentificacion

string

None.

receptorNumeroIdentificacion

string

None.

totalImpuesto

decimal number

None.

totalDocumento

decimal number

None.

message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "emisor_Id": 1,
  "token": "sample string 2",
  "clave": "sample string 3",
  "consecutivo": "sample string 4",
  "estado": 5,
  "detalle": "sample string 6",
  "fechaEmision": "sample string 7",
  "receptorNombre": "sample string 8",
  "receptorTipoIdentificacion": "sample string 9",
  "receptorNumeroIdentificacion": "sample string 10",
  "totalImpuesto": 11.1,
  "totalDocumento": 12.1,
  "message": "sample string 13"
}

text/html

Sample:
{"emisor_Id":1,"token":"sample string 2","clave":"sample string 3","consecutivo":"sample string 4","estado":5,"detalle":"sample string 6","fechaEmision":"sample string 7","receptorNombre":"sample string 8","receptorTipoIdentificacion":"sample string 9","receptorNumeroIdentificacion":"sample string 10","totalImpuesto":11.1,"totalDocumento":12.1,"message":"sample string 13"}

application/xml, text/xml

Sample:
<FeConsultaDocumento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bussines.TableClasses">
  <clave>sample string 3</clave>
  <consecutivo>sample string 4</consecutivo>
  <detalle>sample string 6</detalle>
  <emisor_Id>1</emisor_Id>
  <estado>5</estado>
  <fechaEmision>sample string 7</fechaEmision>
  <message>sample string 13</message>
  <receptorNombre>sample string 8</receptorNombre>
  <receptorNumeroIdentificacion>sample string 10</receptorNumeroIdentificacion>
  <receptorTipoIdentificacion>sample string 9</receptorTipoIdentificacion>
  <token>sample string 2</token>
  <totalDocumento>12.1</totalDocumento>
  <totalImpuesto>11.1</totalImpuesto>
</FeConsultaDocumento>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.