PUT api/Categorys1/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Categorys| Name | Description | Type | Additional information |
|---|---|---|---|
| Nombre | string |
None. |
|
| Img | string |
None. |
|
| idSup | integer |
None. |
|
| HasChild | boolean |
None. |
|
| Switch | boolean |
None. |
|
| id | integer |
None. |
|
| Orden | integer |
None. |
|
| loc1 | boolean |
None. |
|
| loc2 | boolean |
None. |
|
| loc3 | boolean |
None. |
|
| loc4 | boolean |
None. |
|
| loc5 | boolean |
None. |
|
| UrlMaster | string |
None. |
|
| Products | Collection of Products |
None. |
Request Formats
application/json, text/json
Sample:
{
"Nombre": "sample string 1",
"Img": "sample string 2",
"idSup": 1,
"HasChild": true,
"Switch": true,
"id": 4,
"Orden": 1,
"loc1": true,
"loc2": true,
"loc3": true,
"loc4": true,
"loc5": true,
"UrlMaster": "sample string 10",
"Products": [
{
"Code": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"idCategory": 1,
"Price": 1.1,
"PercentDiscount": 1.1,
"Img1": "sample string 4",
"Img2": "sample string 5",
"Img3": "sample string 6",
"Img4": "sample string 7",
"Img5": "sample string 8",
"StockUnity": 1,
"Available": true,
"ShowWeb": true,
"ShowApp": true,
"NewP": true,
"Recommended": true,
"Offer": true,
"Import": true,
"idProvider": 1,
"idColor": 1,
"Weight": 1.1,
"Height": 1.1,
"Depth": 1.1,
"AdmisionDate": "2025-12-06T14:07:06.6612182-06:00",
"LastModified": "2025-12-06T14:07:06.6612182-06:00",
"parameter1": "sample string 9",
"parameter2": "sample string 10",
"switch1": true,
"switch2": true,
"switch3": true,
"Img1Switch": true,
"Img2Switch": true,
"Img3Switch": true,
"Img4Switch": true,
"Img5Switch": true,
"id": 11,
"Width": 1.1,
"idBrand": 1,
"loc1": true,
"loc2": true,
"loc3": true,
"loc4": true,
"loc5": true,
"codeloc1": "sample string 17",
"codeloc2": "sample string 18",
"codeloc3": "sample string 19",
"codeloc4": "sample string 20",
"codeloc5": "sample string 21",
"UrlMaster": "sample string 22"
},
{
"Code": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"idCategory": 1,
"Price": 1.1,
"PercentDiscount": 1.1,
"Img1": "sample string 4",
"Img2": "sample string 5",
"Img3": "sample string 6",
"Img4": "sample string 7",
"Img5": "sample string 8",
"StockUnity": 1,
"Available": true,
"ShowWeb": true,
"ShowApp": true,
"NewP": true,
"Recommended": true,
"Offer": true,
"Import": true,
"idProvider": 1,
"idColor": 1,
"Weight": 1.1,
"Height": 1.1,
"Depth": 1.1,
"AdmisionDate": "2025-12-06T14:07:06.6612182-06:00",
"LastModified": "2025-12-06T14:07:06.6612182-06:00",
"parameter1": "sample string 9",
"parameter2": "sample string 10",
"switch1": true,
"switch2": true,
"switch3": true,
"Img1Switch": true,
"Img2Switch": true,
"Img3Switch": true,
"Img4Switch": true,
"Img5Switch": true,
"id": 11,
"Width": 1.1,
"idBrand": 1,
"loc1": true,
"loc2": true,
"loc3": true,
"loc4": true,
"loc5": true,
"codeloc1": "sample string 17",
"codeloc2": "sample string 18",
"codeloc3": "sample string 19",
"codeloc4": "sample string 20",
"codeloc5": "sample string 21",
"UrlMaster": "sample string 22"
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.