POST api/EncargadoAPI/Post

POST

Request Information

URI Parameters

None.

Body Parameters

Encargado
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Nombre

string

Required

String length: inclusive between 0 and 50

Apellido

string

Required

String length: inclusive between 0 and 50

DNI_LEG

string

Required

String length: inclusive between 0 and 50

Cel

string

Required

String length: inclusive between 0 and 50

Mail

string

Required

String length: inclusive between 0 and 100

Ingreso

date

None.

FechaDeBaja

date

None.

FechaDeModificacion

date

None.

UsuarioDeModificacion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4002451c-56f1-42a3-b0c3-be3c6a5e8cb7",
  "Nombre": "sample string 2",
  "Apellido": "sample string 3",
  "DNI_LEG": "sample string 4",
  "Cel": "sample string 5",
  "Mail": "sample string 6",
  "Ingreso": "2026-01-09T12:21:57.6415732-03:00",
  "FechaDeBaja": "2026-01-09T12:21:57.6415732-03:00",
  "FechaDeModificacion": "2026-01-09T12:21:57.6415732-03:00",
  "UsuarioDeModificacion": "sample string 8"
}

application/xml, text/xml

Sample:
<Encargado xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <Apellido>sample string 3</Apellido>
  <Cel>sample string 5</Cel>
  <DNI_LEG>sample string 4</DNI_LEG>
  <FechaDeBaja>2026-01-09T12:21:57.6415732-03:00</FechaDeBaja>
  <FechaDeModificacion>2026-01-09T12:21:57.6415732-03:00</FechaDeModificacion>
  <Id>4002451c-56f1-42a3-b0c3-be3c6a5e8cb7</Id>
  <Ingreso>2026-01-09T12:21:57.6415732-03:00</Ingreso>
  <Mail>sample string 6</Mail>
  <Nombre>sample string 2</Nombre>
  <UsuarioDeModificacion>sample string 8</UsuarioDeModificacion>
</Encargado>

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.