PUT api/progression/lettings/{id}/settenantbill

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TenantBillCommandDataContract
NameDescriptionTypeAdditional information
CostType

EnumDataContract

None.

Included

boolean

None.

IsLandlord

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CostType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Included": true,
  "IsLandlord": true,
  "Id": 3
}

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

Response Information

Resource Description

TenantBillDataContract
NameDescriptionTypeAdditional information
CostType

EnumDataContract

None.

Included

boolean

None.

LastReading

UtilityDataContract

None.

IsLandlord

boolean

None.

Id

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Dezrez.Core.DataContracts.External.Api.Group.Query.Get.PreferredCompanyDataContract'. Path 'LastReading.Supplier.PreferredCompanies[0].Group.PreferredCompanies'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Dezrez.Core.DataContracts.External.Api.Group.Query.Get.PreferredCompanyDataContract'. Path 'LastReading.Supplier.PreferredCompanies[0].Group.PreferredCompanies'.