POST api/tenancy/{id}/settenancyinfo

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetInfoCommandDataContract
NameDescriptionTypeAdditional information
ServiceLevel

EnumDataContract

None.

Term

EnumDataContract

None.

PriceType

EnumDataContract

None.

AvailableDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceLevel": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Term": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "PriceType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "AvailableDate": "2018-11-15T03:45:13.452975Z"
}

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 'SetInfoCommandDataContract'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.