POST api/cotizacionMoneda/Insert

Request Information

URI Parameters

None.

Body Parameters

cotizacionMoneda
NameDescriptionTypeAdditional information
id

string

Required

fecha

date

Required

id_moneda

string

Required

id_mercado

string

None.

precioVenta

decimal number

None.

precioCompra

decimal number

None.

mercadoMoneda

mercadoMoneda

None.

Moneda

Moneda

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "fecha": "2018-08-20T06:26:22.1602347-03:00",
  "id_moneda": "sample string 3",
  "id_mercado": "sample string 4",
  "precioVenta": 5.0,
  "precioCompra": 6.0,
  "mercadoMoneda": {
    "id": "sample string 1",
    "nombre": "sample string 2"
  },
  "Moneda": {
    "id": "sample string 1",
    "nombre": "sample string 2",
    "alias": "sample string 3"
  }
}

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

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.