POST api/tenancy/{id}/addtenantclause

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AddTenantClauseDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

ClauseType

EnumDataContract

None.

ForceUpdate

boolean

None.

Id

integer

None.

Request 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"
  },
  "ForceUpdate": true,
  "Id": 4
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddTenantClauseDataContract'.

Response Information

Resource Description

Collection of TenantClauseDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

ClauseType

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
  }
]