POST api/tenancy/{id}/updateadditionalservice/{additionalServiceId}
Create/Update additional service on tenancy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
additionalServiceId | string |
None. |
Body Parameters
Collection of Dezrez.Core.DataContracts.External.Api.Lettings.Command.SetAdditionalServiceDataContractName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
ProviderGroupId | integer |
None. |
|
PropertyServiceType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
IsPaidByOwner | boolean |
None. |
|
Notified | boolean |
None. |
|
AdditionalServiceType | Dezrez.Core.DataContracts.External.Api.Lettings.Command.AdditionalServiceType |
None. |
|
Readings | Dictionary of string [key] and date [value] |
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", "ProviderGroupId": 1, "PropertyServiceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "IsPaidByOwner": true, "Notified": true, "AdditionalServiceType": 0, "Readings": { "sample string 1": "2024-10-30T15:17:10.659128Z", "sample string 3": "2024-10-30T15:17:10.659128Z" }, "Id": 5 }, { "Name": "sample string 1", "Description": "sample string 2", "ProviderGroupId": 1, "PropertyServiceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "IsPaidByOwner": true, "Notified": true, "AdditionalServiceType": 0, "Readings": { "sample string 1": "2024-10-30T15:17:10.659128Z", "sample string 3": "2024-10-30T15:17:10.659128Z" }, "Id": 5 } ]
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.