POST api/Items/updateItem
Request Information
URI Parameters
None.
Body Parameters
ItemListName | Description | Type | Additional information |
---|---|---|---|
ItemID | integer |
None. |
|
Nombre | string |
None. |
|
Descripcion | string |
None. |
|
GrupoID | integer |
None. |
|
NombreGrupo | string |
None. |
|
flagDefault | boolean |
None. |
|
Default | string |
None. |
|
Multiple | boolean |
None. |
|
totalPreguntas | integer |
None. |
|
Calificacion | decimal number |
None. |
|
NacionalExtranjera | string |
None. |
|
FechaCreacion | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ItemID": 1, "Nombre": "sample string 2", "Descripcion": "sample string 3", "GrupoID": 4, "NombreGrupo": "sample string 5", "flagDefault": true, "Default": "sample string 7", "Multiple": true, "totalPreguntas": 9, "Calificacion": 10.1, "NacionalExtranjera": "sample string 11", "FechaCreacion": "2024-11-28T07:23:39.5936427-05:00" }
application/xml, text/xml
Sample:
<ItemList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <Calificacion>10.1</Calificacion> <Default>sample string 7</Default> <Descripcion>sample string 3</Descripcion> <FechaCreacion>2024-11-28T07:23:39.5936427-05:00</FechaCreacion> <GrupoID>4</GrupoID> <ItemID>1</ItemID> <Multiple>true</Multiple> <NacionalExtranjera>sample string 11</NacionalExtranjera> <Nombre>sample string 2</Nombre> <NombreGrupo>sample string 5</NombreGrupo> <flagDefault>true</flagDefault> <totalPreguntas>9</totalPreguntas> </ItemList>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
itemIDResponseName | Description | Type | Additional information |
---|---|---|---|
status | integer |
None. |
|
itemID | integer |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "itemID": 2, "message": "sample string 3" }
application/xml, text/xml
Sample:
<itemIDResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <itemID>2</itemID> <message>sample string 3</message> <status>1</status> </itemIDResponse>