POST api/Category/Add?idcust={idcust}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idcust

integer

Required

Body Parameters

sCategory
NameDescriptionTypeAdditional 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": "fe2ceeab-63a8-481d-bcd0-28430caeb103",
  "Name": "sample string 1",
  "Cat": "sample string 2",
  "Active": true,
  "rDefaultPerm": 0,
  "DatCreated": "2026-09-14T10:13:06.59768+02:00",
  "UserCatPerm": [
    {
      "GIDCat": "51030b89-487c-46c5-8497-70c4ad86854a",
      "IDUsr": "sample string 2",
      "UserName": "sample string 3",
      "rPerm": 0,
      "DeleteMe": true,
      "WSPermission": 0
    },
    {
      "GIDCat": "51030b89-487c-46c5-8497-70c4ad86854a",
      "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 identifier

Response Formats

application/json, text/json

Sample:
"d8d1b13e-89f1-4c7e-9134-06c5872353fd"