POST api/tenancy/{id}/addtenantclause
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
Dezrez.Core.DataContracts.External.Api.Role.Command.AddTenantClause.AddTenantClauseDataContractName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
ClauseType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
ForceUpdate | boolean |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "ClauseType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "ForceUpdate": true, "Id": 4 }
Response Information
Resource Description
Collection of Dezrez.Core.DataContracts.External.Api.Role.Query.Get.Group.TenantClauseDataContractName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
ClauseType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Description": "sample string 2", "ClauseType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Id": 3 }, { "Name": "sample string 1", "Description": "sample string 2", "ClauseType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Id": 3 } ]