POST api/Category/Add?idcust={idcust}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idcust | integer |
Required |
|
| api-version |
The requested API version |
string |
Default value is 1.0 |
Body Parameters
sCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| GID | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 128 |
|
| Cat | string |
String length: inclusive between 0 and 15 |
|
| Active | boolean |
None. |
|
| rDefaultPerm | enRights |
None. |
|
| DatCreated | date |
None. |
|
| UserCatPerm | Collection of sUserCatPerm |
None. |
Request Formats
application/json, text/json
Sample:
{
"GID": "8ee1c5fa-c968-472c-ba2b-0d1523586c02",
"Name": "sample string 1",
"Cat": "sample string 2",
"Active": true,
"rDefaultPerm": 0,
"DatCreated": "2025-12-09T12:34:26.1839314+01:00",
"UserCatPerm": [
{
"GIDCat": "878077cb-fca8-4dce-86f3-5b5f9860ac58",
"IDUsr": "sample string 2",
"UserName": "sample string 3",
"rPerm": 0,
"DeleteMe": true,
"WSPermission": 0
},
{
"GIDCat": "878077cb-fca8-4dce-86f3-5b5f9860ac58",
"IDUsr": "sample string 2",
"UserName": "sample string 3",
"rPerm": 0,
"DeleteMe": true,
"WSPermission": 0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"62bb28ed-d0d5-48cd-b55e-a3f4b7140994"