Get all rec registration
Resource information | ||
---|---|---|
Response format(s) | JSON | |
Requires authentication? | Yes using API key | |
Request Header | ||
Name | Value | |
|
| |
|
| |
Parameters | ||
|
| Filter the items by Registry
|
|
| Filter the item by Status
|
|
| Filter the items by Countries' codes The codes are from |
|
| Filter the items by aggregated fuel types without technology (called as energy), used to produce electricity.
|
|
| Enter search data that can be used to search on each items. You can search by:
|
|
| Request field for pagination. The Page that you wish to view |
|
| The total items that return in the response |
|
| Sorting field, Default sorting is get all items sort by Values:
|
|
| Used in default: false |
Returns | ||
Returns all rec registration |
Response:
Response Header | ||
---|---|---|
|
| |
Response Body | ||
Field | Type | Description |
|
| REC Application Unique Identifier |
|
| REC Application Unique number |
|
| Name Of Device |
|
| Fuel Type (Marine Wave…) |
|
| Country Alpha Two Code |
|
| Registry Name (IREC, TIGR) |
|
| Registry Value (I-REC, TIGR) |
|
| Rec registration quantity (1000.000000) |
|
| Application current status
|
|
| |
|
| Date time utc format |
|
| Date time utc format |
|
|
|
|
|
|
|
|
|
|
|
Request
GET /public/v2/rec-applications
?Registries=IREC&CountryCodes=SG&CountryCodes=AX&Energies=Marine Wave&Status=Draft
Response
200 Success
{ "Data": [ { "Id": "cd19a009-bf48-49ab-a795-08db82a34d20", "ApplicationNumber": "1000001221242402", "DeviceName": "Kong Meng San Phor Kark See Monastery", "FuelType": "Marine Wave", "CountryCode": "SG", "Registry": "IREC", "RegistryDescription": "I-REC", "Quantity": 1000.0111, "Status": "Draft", "StatusDescription": "Draft", "VintageFrom": "2023-01-01T00:00:00", "VintageTo": "2023-05-31T00:00:00" } ], "Meta": { "CurrentPage": 1, "TotalPage": 1, "ItemsPerPage": 10, "TotalItems": 1 }, "Errors": null, "StatusCode": 200, "Message": "Success" }
400 Bad Request
{ "Data": null, "Errors": null, "Meta": null, "StatusCode": 400, "Message": "Bad Request" }
401 Unauthorized
{ "Data": null, "Errors": null, "Meta": null, "StatusCode": 401, "Message": "Unauthorized" }
403 Forbidden
{ "Data": null, "Errors": null, "Meta": null, "StatusCode": 403, "Message": "Forbidden" }