POST api/Inmobbague/Extras?idDepartamento={idDepartamento}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idDepartamento

integer

Required

Body Parameters

Collection of Extra
NameDescriptionTypeAdditional information
id

integer

None.

uso

string

None.

construccion

decimal number

None.

tipo

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "uso": "sample string 2",
    "construccion": 3.1,
    "tipo": "sample string 4"
  },
  {
    "id": 1,
    "uso": "sample string 2",
    "construccion": 3.1,
    "tipo": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfExtra xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DLLInmobbagueApi.Models">
  <Extra>
    <construccion>3.1</construccion>
    <id>1</id>
    <tipo>sample string 4</tipo>
    <uso>sample string 2</uso>
  </Extra>
  <Extra>
    <construccion>3.1</construccion>
    <id>1</id>
    <tipo>sample string 4</tipo>
    <uso>sample string 2</uso>
  </Extra>
</ArrayOfExtra>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.