submitSupplyPointReadings
Arguments
Submit supply point readings to Amphio.
WARNING: Only minimal validation is performed in this mutation. Database (Amphio) validation happens asynchronously. This mutation will not inform the caller if that later validation fails.
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1605: Invalid input.
- KT-CT-1609: The provided datetime ISO string is not timezone aware, please provide timezone information.
- KT-CT-4718: Unauthorized.
- KT-CT-4719: No supply point found for identifier provided.
- KT-CT-4720: Cannot construct a valid datetime range from inputs.
- KT-CT-4721: Unsupported reading type.
- KT-CT-4722: Supply point readings API not configured.
- KT-CT-4723: Invalid market name provided.
- KT-CT-4728: Failed to submit supply point readings.
- KT-CT-7899: An internal error occurred.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation SubmitSupplyPointReadings($input: SubmitSupplyPointReadingsInput!) {
submitSupplyPointReadings(input: $input) {
readings {
...SubmittedSupplyPointReadingFragment
}
}
}
Variables
{
"input": SubmitSupplyPointReadingsInput
}
Response
{
"data": {
"submitSupplyPointReadings": {
"readings": [SubmittedSupplyPointReading]
}
}
}