createOnSiteJobsRequest
Create a Request.
Arguments
The input objects required to create a Request.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-13002: Supply point not found.
- KT-CT-13003: Supply points must belong to the same account.
- KT-CT-13004: No account found for the given supply points.
- KT-CT-13006: No properties found for the given supply points.
- KT-CT-13007: At least one of the request checks failed.
- KT-CT-13008: At least one of the request checks has warnings.
- KT-CT-13009: On site jobs Request already exists.
- KT-CT-13010: No booking adapter found for agent.
- KT-CT-13012: Viewer is not allowed to create a request.
- KT-CT-13013: Reporter post init error.
- KT-CT-13014: Request reason is not supported.
- KT-CT-13015: Request sub_reason is not supported.
- KT-CT-13028: Agent not found.
- KT-CT-13041: User is not allowed to override request/appointment checks.
- KT-CT-13042: Multiple supply points not supported by this booking adapter.
- KT-CT-13045: Failed to update appointment assets.
- KT-CT-13047: Multiple supply points found.
- KT-CT-13048: Cannot provide both supply_point_identifier_to_market_name_mapping and supply_point_internal_ids.
- KT-CT-13049: Neither supply_point_identifier_to_market_name_mapping nor supply_point_internal_ids provided.
- KT-CT-13050: Cannot provide both supply_point_identifier_to_market_name_mapping and supply_point_internal_id when creating assets.
- KT-CT-13051: Supply point not found when creating assets.
- KT-CT-13052: Multiple supply points found when creating assets.
- KT-CT-13063: Failed to derive property for the given supply points.
- KT-CT-13064: Provided supply point(s) not supported by the On-Site Jobs market manager.
- KT-CT-13066: Request reason is deprecated.
- KT-CT-13067: Provided sub-reason for request is invalid.
- KT-CT-13068: Property required for this request.
- KT-CT-13069: Account required for this request.
- KT-CT-13070: Provided status for request is invalid.
- KT-CT-13071: Provided reason for request is invalid.
- KT-CT-13078: Account users cannot set external references on requests.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can create on site jobs requestsQuery Complexity
1Examples
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 CreateOnSiteJobsRequest($input: CreateOnSiteJobsRequestInputType!) {
createOnSiteJobsRequest(input: $input) {
onSiteJobsRequest {
...OnSiteJobsRequestTypeFragment
}
}
}
Variables
{
"input": CreateOnSiteJobsRequestInputType
}
Response
{
"data": {
"createOnSiteJobsRequest": {
"onSiteJobsRequest": OnSiteJobsRequestType
}
}
}