POST incident
Request Information
URI Parameters
None.
Body Parameters
IncidentEx| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TenantId | integer |
None. |
|
| RatingId | integer |
None. |
|
| LandLordId | string |
None. |
|
| Date | date |
None. |
|
| Description | string |
None. |
|
| CreatedBy | string |
None. |
|
| Category | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"TenantId": 1,
"RatingId": 1,
"LandLordId": "sample string 2",
"Date": "2025-11-17T16:55:45.6791456+01:00",
"Description": "sample string 3",
"CreatedBy": "sample string 4",
"Category": 5
}
application/xml, text/xml
Sample:
<IncidentEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoDoIT.TenantApp.Common"> <Category>5</Category> <CreatedBy>sample string 4</CreatedBy> <Date>2025-11-17T16:55:45.6791456+01:00</Date> <Description>sample string 3</Description> <Id>1</Id> <LandLordId>sample string 2</LandLordId> <RatingId>1</RatingId> <TenantId>1</TenantId> </IncidentEx>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IncidentEx| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TenantId | integer |
None. |
|
| RatingId | integer |
None. |
|
| LandLordId | string |
None. |
|
| Date | date |
None. |
|
| Description | string |
None. |
|
| CreatedBy | string |
None. |
|
| Category | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"TenantId": 1,
"RatingId": 1,
"LandLordId": "sample string 2",
"Date": "2025-11-17T16:55:45.6791456+01:00",
"Description": "sample string 3",
"CreatedBy": "sample string 4",
"Category": 5
}
application/xml, text/xml
Sample:
<IncidentEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoDoIT.TenantApp.Common"> <Category>5</Category> <CreatedBy>sample string 4</CreatedBy> <Date>2025-11-17T16:55:45.6791456+01:00</Date> <Description>sample string 3</Description> <Id>1</Id> <LandLordId>sample string 2</LandLordId> <RatingId>1</RatingId> <TenantId>1</TenantId> </IncidentEx>