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
sCategoryName | 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": "93a6ea05-5a41-4ac0-b689-84c1f7a0032f", "Name": "sample string 1", "Cat": "sample string 2", "Active": true, "rDefaultPerm": 0, "DatCreated": "2025-09-04T05:39:13.6210321+02:00", "UserCatPerm": [ { "GIDCat": "e3586351-0727-421a-8b44-06fd1bb94a96", "IDUsr": "sample string 2", "UserName": "sample string 3", "rPerm": 0, "DeleteMe": true, "WSPermission": 0 }, { "GIDCat": "e3586351-0727-421a-8b44-06fd1bb94a96", "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:
"42d56281-2e35-4218-aaa3-520e2ffdda33"