State Certifications

Add state certificates to a facility. This endpoint is accessible for certain user only. If you want to use it, please contact SRECTrade.

SecurityBearerAuth
Request
path Parameters
facility_id
required
integer

The ID of the facility linked to the state certification.

Example: 130240
Request Body schema: application/json
Array of objects
Responses
200

State certification created successfully for the given state

400

Bad request - authorization or validation errors

500

Internal error

post/facilities/{facility_id}/state_certifications
Request samples
application/json
{
  • "certificates": [
    ]
}
Response samples
application/json
{
  • "url": "/app/api/v1/facilities/1234/state_applications",
  • "date": "2024-04-30 10:02:28 EDT",
  • "code": 200,
  • "elements": 0,
  • "page": "1 of 1",
  • "data": { }
}