POST api/envasado/{id}?tipo={tipo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| tipo | string |
Required |
Body Parameters
envasado| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| capacidad | decimal number |
None. |
|
| tipo | string |
None. |
|
| estado | integer |
None. |
|
| idOP | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"capacidad": 2.1,
"tipo": "sample string 3",
"estado": 4,
"idOP": 1
}
application/xml, text/xml
Sample:
<envasado xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic"> <capacidad>2.1</capacidad> <estado>4</estado> <id>1</id> <idOP>1</idOP> <tipo>sample string 3</tipo> </envasado>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.