Mutation
mutation ParseWasteManifest($images: [File!]!) {
parseWasteManifest(images: $images) {
date
dateNeedsVerification
lineItems {
containerCount
description
totalWtOrVol
unitWtOrVol
wasteCodes
}
matchedVendorId
vendorAddress
vendorEpaId
}
}Variables
{
"images": [
"value"
]
}Response
{
"data": {
"parseWasteManifest": {
"date": "string",
"dateNeedsVerification": true,
"lineItems": [
{
"containerCount": 1,
"description": "string",
"totalWtOrVol": 1.5,
"unitWtOrVol": "string",
"wasteCodes": [
"string"
]
}
],
"matchedVendorId": "string",
"vendorAddress": "string",
"vendorEpaId": "string"
}
}
}Mutations
parseWasteManifest
Reads the vendor, date and line items from the page images of a manifest and returns them.
MUTATION
parseWasteManifest(images: [File!]!): WasteManifestParseResult!Arguments
images
[File!]!
required
Page images of the manifest to read.
Returns
date
String
Shipment date as written on the manifest.
dateNeedsVerification
Boolean!
Whether the date could not be read or is implausible.
lineItems
Waste streams read from the manifest. Empty if there are no line items.
matchedVendorId
String
Id of the organization's existing vendor that matches the one on the manifest.
vendorAddress
String
Address of the vendor as written on the manifest.
vendorEpaId
String
EPA identification number of the vendor as written on the manifest.
vendorName
String
Name of the vendor as written on the manifest.
vendorNeedsVerification
Boolean!
Whether no existing vendor matched the one on the manifest.
vendorPhone
String
Phone number of the vendor as written on the manifest.
Mutation
mutation ParseWasteManifest($images: [File!]!) {
parseWasteManifest(images: $images) {
date
dateNeedsVerification
lineItems {
containerCount
description
totalWtOrVol
unitWtOrVol
wasteCodes
}
matchedVendorId
vendorAddress
vendorEpaId
}
}Variables
{
"images": [
"value"
]
}Response
{
"data": {
"parseWasteManifest": {
"date": "string",
"dateNeedsVerification": true,
"lineItems": [
{
"containerCount": 1,
"description": "string",
"totalWtOrVol": 1.5,
"unitWtOrVol": "string",
"wasteCodes": [
"string"
]
}
],
"matchedVendorId": "string",
"vendorAddress": "string",
"vendorEpaId": "string"
}
}
}