POST api/Monedas
Request Information
URI Parameters
None.
Body Parameters
Moneda| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| descr | string |
Required String length: inclusive between 0 and 15 |
|
| valor | decimal number |
Required |
|
| udsBolsaDefault | integer |
Required |
|
| imagePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"descr": "sample string 2",
"valor": 3.0,
"udsBolsaDefault": 4,
"imagePath": "sample string 5"
}
application/xml, text/xml
Sample:
<Moneda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VendingAPI.Models"> <descr>sample string 2</descr> <id>1</id> <imagePath>sample string 5</imagePath> <udsBolsaDefault>4</udsBolsaDefault> <valor>3</valor> </Moneda>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |