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": "2b099bef-da58-4197-a1e3-b8f08af8d6b2",
"Name": "sample string 1",
"Cat": "sample string 2",
"Active": true,
"rDefaultPerm": 0,
"DatCreated": "2026-09-23T10:07:54.8089539+02:00",
"UserCatPerm": [
{
"GIDCat": "ff29327b-c980-4e97-97be-97e12cb97ea4",
"IDUsr": "sample string 2",
"UserName": "sample string 3",
"rPerm": 0,
"DeleteMe": true,
"WSPermission": 0
},
{
"GIDCat": "ff29327b-c980-4e97-97be-97e12cb97ea4",
"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:
"35b0ab50-8c45-472d-bcd7-e2428d7106c2"