POST api/Equipos/Insert

Request Information

URI Parameters

None.

Body Parameters

EEquipo
NameDescriptionTypeAdditional information
Id

integer

None.

Acronym

string

None.

Name

string

None.

Cantidad

integer

None.

Stock

integer

None.

SellPrice

decimal number

None.

DayPrice

decimal number

None.

WeekPrice

decimal number

None.

MonthPrice

decimal number

None.

CobrarDomingo

boolean

None.

CobrarFeriado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Acronym": "sample string 2",
  "Name": "sample string 3",
  "Cantidad": 4,
  "Stock": 5,
  "SellPrice": 6.1,
  "DayPrice": 7.1,
  "WeekPrice": 8.1,
  "MonthPrice": 9.1,
  "CobrarDomingo": true,
  "CobrarFeriado": true
}

application/xml, text/xml

Sample:
<EEquipo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entidades">
  <Acronym>sample string 2</Acronym>
  <Cantidad>4</Cantidad>
  <CobrarDomingo>true</CobrarDomingo>
  <CobrarFeriado>true</CobrarFeriado>
  <DayPrice>7.1</DayPrice>
  <Id>1</Id>
  <MonthPrice>9.1</MonthPrice>
  <Name>sample string 3</Name>
  <SellPrice>6.1</SellPrice>
  <Stock>5</Stock>
  <WeekPrice>8.1</WeekPrice>
</EEquipo>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.