PUT api/ContratistaAPI/Put/{id}

Modifica un Registro

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

Contratista
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

RazonSocial

string

Required

String length: inclusive between 0 and 100

CUIT

string

Required

String length: inclusive between 0 and 10

Telefono

string

String length: inclusive between 0 and 50

Mail

string

String length: inclusive between 0 and 50

CodigoSap

string

String length: inclusive between 0 and 10

Propio

boolean

None.

FechaDeBaja

date

None.

FechaDeModificacion

date

None.

UsuarioDeModificacion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "d8a15390-2711-4fb5-bb11-d4a2322a4a21",
  "RazonSocial": "sample string 2",
  "CUIT": "sample string 3",
  "Telefono": "sample string 4",
  "Mail": "sample string 5",
  "CodigoSap": "sample string 6",
  "Propio": true,
  "FechaDeBaja": "2026-01-09T12:46:48.9641702-03:00",
  "FechaDeModificacion": "2026-01-09T12:46:48.9641702-03:00",
  "UsuarioDeModificacion": "sample string 7"
}

application/xml, text/xml

Sample:
<Contratista xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <CUIT>sample string 3</CUIT>
  <CodigoSap>sample string 6</CodigoSap>
  <FechaDeBaja>2026-01-09T12:46:48.9641702-03:00</FechaDeBaja>
  <FechaDeModificacion>2026-01-09T12:46:48.9641702-03:00</FechaDeModificacion>
  <Id>d8a15390-2711-4fb5-bb11-d4a2322a4a21</Id>
  <Mail>sample string 5</Mail>
  <Propio>true</Propio>
  <RazonSocial>sample string 2</RazonSocial>
  <Telefono>sample string 4</Telefono>
  <UsuarioDeModificacion>sample string 7</UsuarioDeModificacion>
</Contratista>

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.