POST api/AdmTipoComprobantes

Request Information

URI Parameters

None.

Body Parameters

AdmTipoComprobante
NameDescriptionTypeAdditional information
id

integer

None.

codigo

string

None.

descripcion

string

None.

numero

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "codigo": "sample string 2",
  "descripcion": "sample string 3",
  "numero": 1.0
}

text/html

Sample:
{"id":1,"codigo":"sample string 2","descripcion":"sample string 3","numero":1.0}

application/xml, text/xml

Sample:
<AdmTipoComprobante xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <codigo>sample string 2</codigo>
  <descripcion>sample string 3</descripcion>
  <id>1</id>
  <numero>1</numero>
</AdmTipoComprobante>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AdmTipoComprobante
NameDescriptionTypeAdditional information
id

integer

None.

codigo

string

None.

descripcion

string

None.

numero

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "codigo": "sample string 2",
  "descripcion": "sample string 3",
  "numero": 1.0
}

text/html

Sample:
{"id":1,"codigo":"sample string 2","descripcion":"sample string 3","numero":1.0}

application/xml, text/xml

Sample:
<AdmTipoComprobante xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <codigo>sample string 2</codigo>
  <descripcion>sample string 3</descripcion>
  <id>1</id>
  <numero>1</numero>
</AdmTipoComprobante>