POST api/Catalogos/CreateDivision/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
CatalogoDivisionModelName | Description | Type | Additional information |
---|---|---|---|
division | integer |
None. |
|
nombreDivision | string |
None. |
|
id | integer |
None. |
|
nombre | string |
Required |
|
descripcion | string |
None. |
|
activo | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "division": 1, "nombreDivision": "sample string 1", "id": 2, "nombre": "sample string 3", "descripcion": "sample string 4", "activo": true }
application/xml, text/xml
Sample:
<CatalogoDivisionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models"> <activo>true</activo> <descripcion>sample string 4</descripcion> <id>2</id> <nombre>sample string 3</nombre> <division>1</division> <nombreDivision>sample string 1</nombreDivision> </CatalogoDivisionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CatalogoDivisionModelName | Description | Type | Additional information |
---|---|---|---|
division | integer |
None. |
|
nombreDivision | string |
None. |
|
id | integer |
None. |
|
nombre | string |
Required |
|
descripcion | string |
None. |
|
activo | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "division": 1, "nombreDivision": "sample string 1", "id": 2, "nombre": "sample string 3", "descripcion": "sample string 4", "activo": true }
application/xml, text/xml
Sample:
<CatalogoDivisionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models"> <activo>true</activo> <descripcion>sample string 4</descripcion> <id>2</id> <nombre>sample string 3</nombre> <division>1</division> <nombreDivision>sample string 1</nombreDivision> </CatalogoDivisionModel>