POST api/{lang}/Quotation/Post
Crea en la base la cotización recibida.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lang | string |
None. |
Body Parameters
ViewModel de la cotización a crear
QuotationViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| CurrencyId | string |
Required |
|
| DateTime | date |
Required |
|
| Value | decimal number |
Required Range: inclusive between 1E-05 and 1,79769313486232E+308 |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"CurrencyId": "sample string 2",
"DateTime": "2026-11-09T16:47:03.170029-03:00",
"Value": 4.0
}
application/xml, text/xml
Sample:
<QuotationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tempo.Core.WebAPI.ViewModels"> <CurrencyId>sample string 2</CurrencyId> <DateTime>2026-11-09T16:47:03.170029-03:00</DateTime> <Id>sample string 1</Id> <Value>4</Value> </QuotationViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
De ser exitosa la creación retorna 200. De lo contrario retorna 400
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.