PUT api/Rols/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Rol
NameDescriptionTypeAdditional information
RowID

integer

None.

RolCode

string

String length: inclusive between 0 and 50

Nombre

string

String length: inclusive between 0 and 50

TipoRol

string

String length: inclusive between 0 and 1

VerTodoElMenu

boolean

None.

ManejaSectores

boolean

None.

ManejaCargue

boolean

None.

ManejaAsociados

boolean

None.

ManejaProCom

boolean

None.

EsAsociado

boolean

None.

Cod_Anterior

integer

None.

CreatedBy

string

Required

String length: inclusive between 0 and 50

CreationDate

date

None.

ModifiedBy

string

String length: inclusive between 0 and 50

ModDate

date

None.

MostrarIconos

boolean

None.

ActualizaProveedores

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RowID": 1,
  "RolCode": "sample string 2",
  "Nombre": "sample string 3",
  "TipoRol": "sample string 4",
  "VerTodoElMenu": true,
  "ManejaSectores": true,
  "ManejaCargue": true,
  "ManejaAsociados": true,
  "ManejaProCom": true,
  "EsAsociado": true,
  "Cod_Anterior": 1,
  "CreatedBy": "sample string 5",
  "CreationDate": "2025-05-04T09:48:39.6862016-05:00",
  "ModifiedBy": "sample string 7",
  "ModDate": "2025-05-04T09:48:39.6862016-05:00",
  "MostrarIconos": true,
  "ActualizaProveedores": true
}

application/xml, text/xml

Sample:
<Rol xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBAMovilCoreService.Models">
  <ActualizaProveedores>true</ActualizaProveedores>
  <Cod_Anterior>1</Cod_Anterior>
  <CreatedBy>sample string 5</CreatedBy>
  <CreationDate>2025-05-04T09:48:39.6862016-05:00</CreationDate>
  <EsAsociado>true</EsAsociado>
  <ManejaAsociados>true</ManejaAsociados>
  <ManejaCargue>true</ManejaCargue>
  <ManejaProCom>true</ManejaProCom>
  <ManejaSectores>true</ManejaSectores>
  <ModDate>2025-05-04T09:48:39.6862016-05:00</ModDate>
  <ModifiedBy>sample string 7</ModifiedBy>
  <MostrarIconos>true</MostrarIconos>
  <Nombre>sample string 3</Nombre>
  <RolCode>sample string 2</RolCode>
  <RowID>1</RowID>
  <TipoRol>sample string 4</TipoRol>
  <VerTodoElMenu>true</VerTodoElMenu>
</Rol>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Rol'.

Response Information

Resource Description

None.