action agco_ats_jobs_get_job { label: "Get a Job by ID" description: "Gets a Job by ID. When successful, the response is the requested Job. \n If unsuccessful, an appropriate ApiError is returned." provider: agco_ats method: GET path: "/api/v2/jobs/{jobID}" encoding: json input: { type: "object" properties: { isIncludeDeleted: { type: "boolean" } jobID: { type: "integer" format: "int32" } } required: ["jobID"] additionalProperties: false } output: { type: "object" description: "A DTO for an IJob" properties: { Activities: { type: "array" description: "The activities which are performed for the job" items: { type: "object" description: "A DTO for an IJobActivity" properties: { ActivityID: { type: "integer" format: "int32" description: "The ID of the activity to be run as part of the job" } JobActivityID: { type: "integer" format: "int32" description: "The ID of this job activity" } JobID: { type: "integer" format: "int32" description: "The ID of the job this job activity belongs to" } ParameterMappings: { type: "array" description: "The mapping of values from a source to be used for the activity parameters" items: { type: "object" description: "A DTO for an IParameterMapping" properties: { Name: { type: "string" description: "The name of the parameter this mapping applies to" } Source: { type: "string" description: "The source of the value. The meaning of this value is determined by the source type. When the source type is “Constant” then source is the value formatted as a string. When the source type is “Variable” then the source is the name of the variable" } SourceType: { type: "string" description: "The source type used for supplying the parameter" enum: ["Constant", "Variable"] } } } } RunOrder: { type: "integer" format: "int32" description: "The order of this job activity relative to others in the job" } } } } Deleted: { type: "boolean" description: "Indicates if the job has been deleted." } JobID: { type: "integer" format: "int32" description: "The ID of the job" } Name: { type: "string" description: "The name of the job" } Parameters: { type: "array" description: "The parameters for the job" items: { type: "object" description: "A DTO for an IParameter" properties: { Direction: { type: "string" description: "The parameter direction (Input or Output)" enum: ["Input", "Output"] } Name: { type: "string" description: "The name of the parameter" } Type: { type: "string" description: "The data type of the parameter" enum: ["String", "Boolean", "Integer", "Float", "StringDictionary"] } } } } } } }