PUT api/tiposActivo

Request Information

URI Parameters

None.

Body Parameters

TipoActivoUpdateDTO
NameDescriptionTypeAdditional information
Id

integer

Required

Nombre

string

Required

String length: inclusive between 0 and 300

Estado

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Nombre": "sample string 2",
  "Estado": true
}

application/xml, text/xml

Sample:
<TipoActivoUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiGLM.Models.DTOs">
  <Estado>true</Estado>
  <Id>1</Id>
  <Nombre>sample string 2</Nombre>
</TipoActivoUpdateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseDTOOfTipoActivoDTO
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

TipoActivoDTO

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {
    "Id": 1,
    "Nombre": "sample string 2",
    "Estado": true
  },
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ApiResponseDTOOfTipoActivoDTOFGazmyZH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiGLM.Models.DTOs">
  <Data>
    <Estado>true</Estado>
    <Id>1</Id>
    <Nombre>sample string 2</Nombre>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ApiResponseDTOOfTipoActivoDTOFGazmyZH>