API Documentation
  • API Documentation
  • Ecosuite Project Data API
    • Authentication
    • OpenAPI reference
      • Events
        • Resolve
      • Feedback
      • Profile
      • Portfolios
      • Projects
        • Contacts
        • Pro forma
          • Versions
        • I2x
        • Records
        • Sites
          • Records
          • Systems
            • Records
        • Record documents
      • Record documents
      • Records
        • Record documents
      • Service requests
        • Generate
        • Resolve
      • Tariff
      • User groups
      • Users
        • Alerts
        • Groups
          • Reset
        • Mfa
        • Notifications
        • Resend
      • User types
      • Audit
        • Assets
        • Projects
        • Users
      • Coda
        • Milestones
        • Import
      • Connectivity
        • Data
        • Devices
      • Dashboard
        • Status
      • Energy
        • Datums
          • Most recent
          • Projects
          • Consumption
            • Cost
              • Projects
            • Predicted
              • Projects
            • Projects
          • Cumulative
            • Projects
          • Generation
            • Expected
            • Predicted
              • Projects
          • Nodes
            • Projects
        • Export
        • Instantaneous
        • Readings
        • Status
      • Finance
        • Cashflow totals
        • Report
        • Transactions
        • Sources uses
          • Sources uses
        • Export
          • Report
        • Projects
          • Billing
          • CashFlowTimeSeriesArrears
          • Categories
          • Irr categories
          • Report
          • Settings
          • Sources uses
          • Import
          • Cash flows
            • Payment logs
          • Pro forma
            • Irr
        • Record
          • Payments
        • Softledger
          • Locations
      • Media
        • Files
        • Tags
          • Storage
            • Code
            • Labels
          • Default
        • Storage
          • File
          • Code
      • Public
        • Projects
        • Energy
          • Datums
            • Projects
          • Readings
            • Projects
      • Schemas
        • Rfi
        • RfiReply
        • Dr event
        • Dr notification
        • Event
        • Participant
        • Finance
        • Notification
        • Portfolio
        • Pro forma
        • Profile
        • Project
        • Record
        • Service request
        • Site
        • System
        • User
        • User type
        • User groups
        • New tariff
        • Tariff
      • Rfi
        • Thread
          • Code
          • Resolve
          • Version
          • Replies
        • Reply
          • Version
      • Search
        • Refinements
      • Solarnetwork
        • Devices
        • Instruction
        • Nodes
        • Ssh
        • Credentials
          • Solarflux
          • Solarnode
          • Ssh
        • Metadata
          • Projects
        • Settings
          • Node ids
        • Solarnode
          • Login url
      • Tools
        • Address business details
      • Dr
        • Participants
        • Dr events
        • Dr notifications
      • Report
        • Operating
          • Project
      • Weather
        • Datums
          • Projects
        • Daylight
          • Projects
            • Sites
        • Projects
          • Sites
    • OpenAPI Specification
  • Ecosuite Time Series Data API
Powered by GitBook
On this page
  1. Ecosuite Project Data API
  2. OpenAPI reference

Service requests

PreviousRecord documentsNextGenerate

Get serviceRequest details

get

Gets the details for the specified serviceRequest

Authorizations
Path parameters
serviceRequestIdstringRequired

The serviceRequest ID

Responses
200
successful operation
application/json
400
Invalid status value
application/json
get
GET //service-requests/{serviceRequestId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
  "serviceRequest": {
    "location": {
      "project": "text",
      "site": "text",
      "system": "text"
    },
    "created": "2025-06-16T11:49:53.528Z",
    "closed": "2025-06-16T11:49:53.528Z",
    "siteVisitWindow": {
      "start": "2025-06-16T11:49:53.528Z",
      "end": "2025-06-16T11:49:53.528Z"
    },
    "taskSummary": "text",
    "onSiteContactNotes": "text",
    "contactNumber": "718-395-3620",
    "context": "text",
    "tasks": [
      "text"
    ],
    "events": [
      "text"
    ],
    "tools": [
      "text"
    ],
    "information": [
      {
        "text": "text",
        "link": "text"
      }
    ],
    "checklist": [
      "text"
    ]
  }
}

Deletes an existing serviceRequest

delete

Deletes an existing serviceRequest

Authorizations
Path parameters
serviceRequestIdstringRequired

The serviceRequest ID

Responses
200
successful operation
application/json
Responseobject
400
Invalid status value
application/json
delete
DELETE //service-requests/{serviceRequestId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{}
  • GETLists all the serviceRequests
  • POSTCreate a new serviceRequest
  • GETGet serviceRequest details
  • PUTUpdate an existing serviceRequest
  • DELETEDeletes an existing serviceRequest

Lists all the serviceRequests

get

Lists all the serviceRequests for the specified date range

Authorizations
Query parameters
startstring · date-timeRequired

The inclusive start date

endstring · date-timeRequired

The exclusive end date

Responses
200
successful operation
application/json
400
Invalid status value
application/json
get
GET //service-requests HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
  "serviceRequests": [
    {
      "location": {
        "project": "text",
        "site": "text",
        "system": "text"
      },
      "created": "2025-06-16T11:49:53.528Z",
      "closed": "2025-06-16T11:49:53.528Z",
      "siteVisitWindow": {
        "start": "2025-06-16T11:49:53.528Z",
        "end": "2025-06-16T11:49:53.528Z"
      },
      "taskSummary": "text",
      "onSiteContactNotes": "text",
      "contactNumber": "718-395-3620",
      "context": "text",
      "tasks": [
        "text"
      ],
      "events": [
        "text"
      ],
      "tools": [
        "text"
      ],
      "information": [
        {
          "text": "text",
          "link": "text"
        }
      ],
      "checklist": [
        "text"
      ]
    }
  ],
  "range": {
    "localStartDate": "2025-06-16T11:49:53.528Z",
    "localEndDate": "2025-06-16T11:49:53.528Z"
  }
}

Create a new serviceRequest

post

Creates a new serviceRequest generating it a unique ID

Authorizations
Body

Refer to the /schemas/service-request endpoint for the full JSON Schema definition

createdstring · date-timeRead-onlyOptional
closedstring · date-timeOptional
taskSummarystringRequired
onSiteContactNotesstringOptional
contactNumberstringOptionalDefault: 718-395-3620
contextstringRequired
tasksstring[] · min: 1Optional
eventsstring[]Optional
toolsstring[]Optional
checkliststring[]Optional
Responses
200
successful operation
application/json
Responseobject
400
Invalid status value
application/json
post
POST //service-requests HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 401

{
  "location": {
    "project": "text",
    "site": "text",
    "system": "text"
  },
  "closed": "2025-06-16T11:49:53.528Z",
  "siteVisitWindow": {
    "start": "2025-06-16T11:49:53.528Z",
    "end": "2025-06-16T11:49:53.528Z"
  },
  "taskSummary": "text",
  "onSiteContactNotes": "text",
  "contactNumber": "718-395-3620",
  "context": "text",
  "tasks": [
    "text"
  ],
  "events": [
    "text"
  ],
  "tools": [
    "text"
  ],
  "information": [
    {
      "text": "text",
      "link": "text"
    }
  ],
  "checklist": [
    "text"
  ]
}
{}

Update an existing serviceRequest

put

Update an existing serviceRequest

Authorizations
Path parameters
serviceRequestIdstringRequired

The serviceRequest ID

Body

Refer to the /schemas/service-request endpoint for the full JSON Schema definition

createdstring · date-timeRead-onlyOptional
closedstring · date-timeOptional
taskSummarystringRequired
onSiteContactNotesstringOptional
contactNumberstringOptionalDefault: 718-395-3620
contextstringRequired
tasksstring[] · min: 1Optional
eventsstring[]Optional
toolsstring[]Optional
checkliststring[]Optional
Responses
200
successful operation
application/json
400
Invalid status value
application/json
put
PUT //service-requests/{serviceRequestId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 401

{
  "location": {
    "project": "text",
    "site": "text",
    "system": "text"
  },
  "closed": "2025-06-16T11:49:53.528Z",
  "siteVisitWindow": {
    "start": "2025-06-16T11:49:53.528Z",
    "end": "2025-06-16T11:49:53.528Z"
  },
  "taskSummary": "text",
  "onSiteContactNotes": "text",
  "contactNumber": "718-395-3620",
  "context": "text",
  "tasks": [
    "text"
  ],
  "events": [
    "text"
  ],
  "tools": [
    "text"
  ],
  "information": [
    {
      "text": "text",
      "link": "text"
    }
  ],
  "checklist": [
    "text"
  ]
}
{
  "serviceRequest": {
    "location": {
      "project": "text",
      "site": "text",
      "system": "text"
    },
    "created": "2025-06-16T11:49:53.528Z",
    "closed": "2025-06-16T11:49:53.528Z",
    "siteVisitWindow": {
      "start": "2025-06-16T11:49:53.528Z",
      "end": "2025-06-16T11:49:53.528Z"
    },
    "taskSummary": "text",
    "onSiteContactNotes": "text",
    "contactNumber": "718-395-3620",
    "context": "text",
    "tasks": [
      "text"
    ],
    "events": [
      "text"
    ],
    "tools": [
      "text"
    ],
    "information": [
      {
        "text": "text",
        "link": "text"
      }
    ],
    "checklist": [
      "text"
    ]
  }
}