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": "83dd994b-196b-48f5-b57c-0a0790163086",
"Name": "sample string 1",
"Cat": "sample string 2",
"Active": true,
"rDefaultPerm": 0,
"DatCreated": "2026-06-19T20:10:23.5301373+02:00",
"UserCatPerm": [
{
"GIDCat": "695a59c5-e693-40ea-857d-c493bd33ed06",
"IDUsr": "sample string 2",
"UserName": "sample string 3",
"rPerm": 0,
"DeleteMe": true,
"WSPermission": 0
},
{
"GIDCat": "695a59c5-e693-40ea-857d-c493bd33ed06",
"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:
"c38fec25-0a4b-4272-b1b9-d5a2097c0c5b"