POST api/Empresas/updateTipoContrato

Request Information

URI Parameters

None.

Body Parameters

TipoContratoObj
NameDescriptionTypeAdditional information
id

integer

None.

Nombre

string

None.

RolAutList

string

None.

FechaCreacion

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Nombre": "sample string 2",
  "RolAutList": "sample string 3",
  "FechaCreacion": "2024-11-28T07:23:39.736266-05:00"
}

application/xml, text/xml

Sample:
<TipoContratoObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models">
  <FechaCreacion>2024-11-28T07:23:39.736266-05:00</FechaCreacion>
  <Nombre>sample string 2</Nombre>
  <RolAutList>sample string 3</RolAutList>
  <id>1</id>
</TipoContratoObj>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

defaultResponse
NameDescriptionTypeAdditional information
status

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<defaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models">
  <message>sample string 2</message>
  <status>1</status>
</defaultResponse>