POST api/Category/Add?idcust={idcust}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idcust | integer |
Required |
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": "897e908d-11be-4230-93e1-ddbe9a0c2d7a",
"Name": "sample string 1",
"Cat": "sample string 2",
"Active": true,
"rDefaultPerm": 0,
"DatCreated": "2026-03-11T08:37:09.1365685+01:00",
"UserCatPerm": [
{
"GIDCat": "28c769a9-7c93-4979-90d4-3ac02f13fd35",
"IDUsr": "sample string 2",
"UserName": "sample string 3",
"rPerm": 0,
"DeleteMe": true,
"WSPermission": 0
},
{
"GIDCat": "28c769a9-7c93-4979-90d4-3ac02f13fd35",
"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:
"a0d9cd6e-0ede-4f62-91f5-b162265d7979"