POST api/createGastos

Request Information

URI Parameters

None.

Body Parameters

Gastos
NameDescriptionTypeAdditional information
usuarioGasto

integer

None.

observaciones

string

None.

archivo

string

None.

tipo_gasto

integer

None.

valor

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "usuarioGasto": 1,
  "observaciones": "sample string 2",
  "archivo": "sample string 3",
  "tipo_gasto": 4,
  "valor": 5.0
}

application/xml, text/xml

Sample:
<Gastos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mvfwebapi.Models">
  <archivo>sample string 3</archivo>
  <observaciones>sample string 2</observaciones>
  <tipo_gasto>4</tipo_gasto>
  <usuarioGasto>1</usuarioGasto>
  <valor>5</valor>
</Gastos>

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.