POST api/tenancy/{id}/setadditionalservice
Create/Update additional service on tenancy
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
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-11-18T14:09:19.5721129Z",
"sample string 3": "2025-11-18T14:09:19.5721129Z"
},
"Id": 5
}
Response Information
Resource Description
AdditionalServiceDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ProviderGroupId | integer |
None. |
|
| ProviderGroupName | string |
None. |
|
| PropertyServiceType | EnumDataContract |
None. |
|
| IsPaidByOwner | boolean |
None. |
|
| Notified | boolean |
None. |
|
| AdditionalServiceType | AdditionalServiceType |
None. |
|
| CreatedDate | date |
None. |
|
| Readings | Collection of ReadingDataContract |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"ProviderGroupId": 3,
"ProviderGroupName": "sample string 4",
"PropertyServiceType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"IsPaidByOwner": true,
"Notified": true,
"AdditionalServiceType": 0,
"CreatedDate": "2025-11-18T14:09:19.5721129Z",
"Readings": [
{
"Reading": "sample string 1",
"ReadingDate": "2025-11-18T14:09:19.5721129Z",
"CreatedDate": "2025-11-18T14:09:19.5721129Z",
"Id": 3
},
{
"Reading": "sample string 1",
"ReadingDate": "2025-11-18T14:09:19.5721129Z",
"CreatedDate": "2025-11-18T14:09:19.5721129Z",
"Id": 3
}
],
"Id": 8
}