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 SetAdditionalServiceDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ProviderGroupId | integer |
None. |
|
| PropertyServiceType | EnumDataContract |
None. |
|
| IsPaidByOwner | boolean |
None. |
|
| Notified | boolean |
None. |
|
| AdditionalServiceType | 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": "2025-10-28T02:42:43.1138561Z",
"sample string 3": "2025-10-28T02:42:43.1138561Z"
},
"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": "2025-10-28T02:42:43.1138561Z",
"sample string 3": "2025-10-28T02:42:43.1138561Z"
},
"Id": 5
}
]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.