GET 17.0/database/maintenancerequests/{id}

Description

Retrieve Maintenance Requests

URI Parameters

Name Description Type Additional information
id

integer

Required

None.

None.

Name Description Type Additional information
ID

integer

None.

AddedDate

date

None.

Subject

string

String length: inclusive between 0 and 100

Body

string

None.

ContactID

integer

None.

ContactFirstNames

string

String length: inclusive between 0 and 30

ContactLastName

string

String length: inclusive between 0 and 30

ContactEmail

string

String length: inclusive between 0 and 50

ContactTelephone

string

String length: inclusive between 0 and 30

PropertyID

integer

None.

PropertyStreet

string

String length: inclusive between 0 and 50

PropertyPostcode

string

String length: inclusive between 0 and 30

SiteID

integer

None.

WorkOrderTypeID

integer

None.

Status

byte

None.

StatusDate

date

None.

UserID

integer

None.

Pictures

integer

None.

ExternalID

integer

None.

WorkOrderID

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "addedDate": "2025-01-09T20:33",
  "subject": "sample string 3",
  "body": "sample string 4",
  "contactID": 5,
  "contactFirstNames": "sample string 6",
  "contactLastName": "sample string 7",
  "contactEmail": "sample string 8",
  "contactTelephone": "sample string 9",
  "propertyID": 10,
  "propertyStreet": "sample string 11",
  "propertyPostcode": "sample string 12",
  "siteID": 13,
  "workOrderTypeID": 14,
  "status": 64,
  "statusDate": "2025-01-09T20:33",
  "userID": 17,
  "pictures": 18,
  "externalID": 19,
  "workOrderID": 20
}

application/xml, text/xml

Sample:
<MaintenanceRequests xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <AddedDate>2025-01-09T20:33:09.763714+00:00</AddedDate>
  <Subject>sample string 3</Subject>
  <Body>sample string 4</Body>
  <ContactID>5</ContactID>
  <ContactFirstNames>sample string 6</ContactFirstNames>
  <ContactLastName>sample string 7</ContactLastName>
  <ContactEmail>sample string 8</ContactEmail>
  <ContactTelephone>sample string 9</ContactTelephone>
  <PropertyID>10</PropertyID>
  <PropertyStreet>sample string 11</PropertyStreet>
  <PropertyPostcode>sample string 12</PropertyPostcode>
  <SiteID>13</SiteID>
  <WorkOrderTypeID>14</WorkOrderTypeID>
  <Status>64</Status>
  <StatusDate>2025-01-09T20:33:09.763714+00:00</StatusDate>
  <UserID>17</UserID>
  <Pictures>18</Pictures>
  <ExternalID>19</ExternalID>
  <WorkOrderID>20</WorkOrderID>
</MaintenanceRequests>