Query
query GetJobStartEmailPreview($jobId: ID!) {
getJobStartEmailPreview(jobId: $jobId) {
template
startDate
recipientName
recipientEmail
unavailableReason
}
}Variables
{
"jobId": "id"
}Response
{
"data": {
"getJobStartEmailPreview": {
"template": "string",
"startDate": "value",
"recipientName": "string",
"recipientEmail": "string",
"unavailableReason": "string"
}
}
}Queries
getJobStartEmailPreview
Which start date email (tentative or confirmed) the job’s customer would get for the job’s saved start, or why they cannot be notified.
QUERY
getJobStartEmailPreview(jobId: ID!): JobStartEmailPreview!Arguments
jobId
ID!
required
Returns
template
String
tentative or confirmed, from the job's saved start; null without a start.
startDate
Date
The job's saved start date.
recipientName
String
The job contact's name.
recipientEmail
String
The job contact's email address.
unavailableReason
String
Why the customer cannot be notified, or null when they can.
Query
query GetJobStartEmailPreview($jobId: ID!) {
getJobStartEmailPreview(jobId: $jobId) {
template
startDate
recipientName
recipientEmail
unavailableReason
}
}Variables
{
"jobId": "id"
}Response
{
"data": {
"getJobStartEmailPreview": {
"template": "string",
"startDate": "value",
"recipientName": "string",
"recipientEmail": "string",
"unavailableReason": "string"
}
}
}