Get all products of a company in SiGREEN.
GET {{baseUrl}}/products?from=<string>&to=<string>&page=0&size=10
Get all products under a specific company which is part of SiGREEN.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | The start date of the date range when the product was created in SiGREEN. | |
to | string | The end date of the date range when the product was created in SiGREEN. | |
page | number | Page that you would like to fetch | |
size | number | Number of records in a page |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"id":"C98BE31E-3698-412D-91E3-8270102CC7D5","name":"Simatics PL7","family":"Controls E1456","identifiers":[{"idType":"ProductId1","value":"TEST-1","default":true},{"idType":"ProductId1","value":"TEST-1","default":true}],"description":"Your product description","weight":"1.533","quantity":"5","unitType":"kg","factoryIds":["C98BE31E-3698-412D-91E3-8270102CC7D5","C99BE31E-3698-412D-99E3-8270102CC7D5"]},{"id":"C98BE31E-3698-412D-91E3-8270102CC7D5","name":"Simatics PL7","family":"Controls E1456","identifiers":[{"idType":"ProductId1","value":"TEST-1","default":true},{"idType":"ProductId1","value":"TEST-1","default":true}],"description":"Your product description","weight":"1.533","quantity":"5","unitType":"kg","factoryIds":["C98BE31E-3698-412D-91E3-8270102CC7D5","C99BE31E-3698-412D-99E3-8270102CC7D5"]}],"hasNext":true,"hasPrev":false,"page":0,"pageNumber":1,"size":1,"totalPages":120}