action agco_ats_jobs_post_job { label: "Create a Job" description: "Creates a Job. The body of the POST is the Job to create. The JobID will be assigned on \n creation of the Job. When successful, the response is the JobID. If unsuccessful, an \n appropriate ApiError is returned." provider: agco_ats method: POST path: "/api/v2/jobs" encoding: form input: { 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"] } } } } } } output: { type: "integer" format: "int32" } }