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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idcust

integer

Required

api-version

The requested API version

string

Default value is 1.0

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": "67610378-315c-47ad-ae81-3c5d1f232996",
  "Name": "sample string 1",
  "Cat": "sample string 2",
  "Active": true,
  "rDefaultPerm": 0,
  "DatCreated": "2024-12-27T10:49:04.2223917+01:00",
  "UserCatPerm": [
    {
      "GIDCat": "dee9c9ab-00d5-4185-bd86-158378c3b9d2",
      "IDUsr": "sample string 2",
      "UserName": "sample string 3",
      "rPerm": 0,
      "DeleteMe": true,
      "WSPermission": 0
    },
    {
      "GIDCat": "dee9c9ab-00d5-4185-bd86-158378c3b9d2",
      "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:
"0e453ccc-873d-44a6-9b41-d8b5aac4fdd3"