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": "2b2d24e5-5470-419c-9ec7-2d091beb9dc3", "Name": "sample string 1", "Cat": "sample string 2", "Active": true, "rDefaultPerm": 0, "DatCreated": "2024-05-08T22:54:27.2447588+02:00", "UserCatPerm": [ { "GIDCat": "0ca7ac74-0e05-4be4-bab3-46c9c9e3cf55", "IDUsr": "sample string 2", "UserName": "sample string 3", "rPerm": 0, "DeleteMe": true, "WSPermission": 0 }, { "GIDCat": "0ca7ac74-0e05-4be4-bab3-46c9c9e3cf55", "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:
"6e3e1dc7-94ba-4d13-8acb-e6d785a7f1c8"