POST api/Grupos

Insertar un nuevo grupo.

Request Information

URI Parameters

None.

Body Parameters

El JSON del grupo { Id = "Id del grupo", Nombre = "nombre del grupo" }.

GruposModels
NameDescriptionTypeAdditional information
Id

El Id del grupo.

string

None.

Nombre

El nombre del grupo.

string

None.

Nombre2

El nombre con el id del grupo.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Nombre": "sample string 2",
  "Nombre2": "sample string 3"
}

application/xml, text/xml

Sample:
<GruposModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Biolabs.Models">
  <Id>sample string 1</Id>
  <Nombre>sample string 2</Nombre>
  <Nombre2>sample string 3</Nombre2>
</GruposModels>

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.