POST api/teamsecurity/savepermission

Save a new security permission for a group

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Security.Command.Save.SaveTeamSecurityPermissionDataContract
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

TeamId

integer

None.

AppliesToTeamId

integer

None.

AccessType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

EntityType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "TeamId": 3,
  "AppliesToTeamId": 4,
  "AccessType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EntityType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  }
}

Response Information

Resource Description

Dezrez.Core.DataContracts.External.Api.Security.Query.Get.TeamSecurityPermissionDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Team

Dezrez.Core.DataContracts.External.Api.Security.Query.Get.TeamSecurityTeamDataContract

None.

AppliesTo

Dezrez.Core.DataContracts.External.Api.Security.Query.Get.TeamSecurityTeamDataContract

None.

AccessType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

EntityType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Team": {
    "Name": "sample string 1",
    "Id": 2
  },
  "AppliesTo": {
    "Name": "sample string 1",
    "Id": 2
  },
  "AccessType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EntityType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Id": 2
}