plantscreen.TrayApi
All URIs are relative to https://localhost:44339
| Method | HTTP request | Description |
|---|---|---|
| scales_mapping_tray | GET /ScalesMapping/Tray | Returns a scales mapping for tray defined by ID. |
| tray | GET /Tray | Returns one tray by tray ID. |
| tray_profile | GET /TrayProfile | Returns one tray profile by tray profile ID. |
| tray_profile_to_date_tray | GET /TrayProfile/ToDate/Tray | Returns one tray profile to which tray defined by ID was assigned on the defined time. |
| tray_profile_tray | GET /TrayProfile/Tray | Returns one tray profile to which tray defined by ID is assigned. |
| tray_profile_used_tray | GET /TrayProfile/Used/Tray | Returns tray profiles to which tray defined by ID was assigned between defined times. Times is entered as the start and end time of the required interval. All tray profiles assigned to tray between these times will be returned. |
| tray_round | GET /Tray/Round | Returns all trays measured in the round defined by ID. |
| tray_type | GET /TrayType | Returns one tray type by tray type ID. |
| tray_type_tray | GET /TrayType/Tray | Returns one tray type which is assigned to the tray defined by ID. |
| tray_type_tray_profile | GET /TrayType/TrayProfile | Returns one tray type which is assigned to the tray profile defined by ID. |
scales_mapping_tray
JsonScalesMappingByTrayIDResult scales_mapping_tray(id)
Returns a scales mapping for tray defined by ID.
Example
import plantscreen
from plantscreen.models.json_scales_mapping_by_tray_id_result import JsonScalesMappingByTrayIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayID
try:
# Returns a scales mapping for tray defined by ID.
api_response = api_instance.scales_mapping_tray(id)
print("The response of TrayApi->scales_mapping_tray:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->scales_mapping_tray: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayID |
Return type
JsonScalesMappingByTrayIDResult
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray
JsonTrayResult tray(id)
Returns one tray by tray ID.
Example
import plantscreen
from plantscreen.models.json_tray_result import JsonTrayResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayID
try:
# Returns one tray by tray ID.
api_response = api_instance.tray(id)
print("The response of TrayApi->tray:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayID |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_profile
JsonTrayProfileByIDResult tray_profile(id)
Returns one tray profile by tray profile ID.
Example
import plantscreen
from plantscreen.models.json_tray_profile_by_id_result import JsonTrayProfileByIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | profileID
try:
# Returns one tray profile by tray profile ID.
api_response = api_instance.tray_profile(id)
print("The response of TrayApi->tray_profile:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_profile: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | profileID |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_profile_to_date_tray
JsonTrayProfileByTrayIDToDateResult tray_profile_to_date_tray(id, var_date)
Returns one tray profile to which tray defined by ID was assigned on the defined time.
Example
import plantscreen
from plantscreen.models.json_tray_profile_by_tray_idto_date_result import JsonTrayProfileByTrayIDToDateResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayID
var_date = '2013-10-20T19:20:30+01:00' # datetime | date
try:
# Returns one tray profile to which tray defined by ID was assigned on the defined time.
api_response = api_instance.tray_profile_to_date_tray(id, var_date)
print("The response of TrayApi->tray_profile_to_date_tray:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_profile_to_date_tray: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayID | |
| var_date | datetime | date |
Return type
JsonTrayProfileByTrayIDToDateResult
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_profile_tray
JsonTrayProfileByTrayIDResult tray_profile_tray(id)
Returns one tray profile to which tray defined by ID is assigned.
Example
import plantscreen
from plantscreen.models.json_tray_profile_by_tray_id_result import JsonTrayProfileByTrayIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayID
try:
# Returns one tray profile to which tray defined by ID is assigned.
api_response = api_instance.tray_profile_tray(id)
print("The response of TrayApi->tray_profile_tray:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_profile_tray: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayID |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_profile_used_tray
JsonUsedTrayProfileByTrayIDResult tray_profile_used_tray(id, start, stop)
Returns tray profiles to which tray defined by ID was assigned between defined times. Times is entered as the start and end time of the required interval. All tray profiles assigned to tray between these times will be returned.
Example
import plantscreen
from plantscreen.models.json_used_tray_profile_by_tray_id_result import JsonUsedTrayProfileByTrayIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayID
start = '2013-10-20T19:20:30+01:00' # datetime | dateStart
stop = '2013-10-20T19:20:30+01:00' # datetime | dateStop
try:
# Returns tray profiles to which tray defined by ID was assigned between defined times. Times is entered as the start and end time of the required interval. All tray profiles assigned to tray between these times will be returned.
api_response = api_instance.tray_profile_used_tray(id, start, stop)
print("The response of TrayApi->tray_profile_used_tray:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_profile_used_tray: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayID | |
| start | datetime | dateStart | |
| stop | datetime | dateStop |
Return type
JsonUsedTrayProfileByTrayIDResult
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_round
JsonTrayByRoundIDResult tray_round(id)
Returns all trays measured in the round defined by ID.
Example
import plantscreen
from plantscreen.models.json_tray_by_round_id_result import JsonTrayByRoundIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | roundID
try:
# Returns all trays measured in the round defined by ID.
api_response = api_instance.tray_round(id)
print("The response of TrayApi->tray_round:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_round: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | roundID |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_type
JsonTrayTypeResult tray_type(id)
Returns one tray type by tray type ID.
Example
import plantscreen
from plantscreen.models.json_tray_type_result import JsonTrayTypeResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | typeID
try:
# Returns one tray type by tray type ID.
api_response = api_instance.tray_type(id)
print("The response of TrayApi->tray_type:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_type: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | typeID |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_type_tray
JsonTrayTypeByTrayIDResult tray_type_tray(id)
Returns one tray type which is assigned to the tray defined by ID.
Example
import plantscreen
from plantscreen.models.json_tray_type_by_tray_id_result import JsonTrayTypeByTrayIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayID
try:
# Returns one tray type which is assigned to the tray defined by ID.
api_response = api_instance.tray_type_tray(id)
print("The response of TrayApi->tray_type_tray:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_type_tray: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayID |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]
tray_type_tray_profile
JsonTrayTypeByTrayProfileIDResult tray_type_tray_profile(id)
Returns one tray type which is assigned to the tray profile defined by ID.
Example
import plantscreen
from plantscreen.models.json_tray_type_by_tray_profile_id_result import JsonTrayTypeByTrayProfileIDResult
from plantscreen.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:44339
# See configuration.py for a list of all supported configuration parameters.
configuration = plantscreen.Configuration(
host = "https://localhost:44339"
)
# Enter a context with an instance of the API client
with plantscreen.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = plantscreen.TrayApi(api_client)
id = 56 # int | trayProfileID
try:
# Returns one tray type which is assigned to the tray profile defined by ID.
api_response = api_instance.tray_type_tray_profile(id)
print("The response of TrayApi->tray_type_tray_profile:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TrayApi->tray_type_tray_profile: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | trayProfileID |
Return type
JsonTrayTypeByTrayProfileIDResult
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] Back to API Endpoints Back to Models [Back to README]