Salesforce

Go EngineAPI: CreateJobForEngine

« Go Back
Information
Go EngineAPI: CreateJobForEngine
000006151
Public
Product Selection
aiWare - API
Article Details

CreateJobForEngine

CreateJobForEngineResponse CreateJobForEngine(ctx, engineID, optional)

This API create a job for the engine

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
engineIDstringEngineID of node-red container request
optional*CreateJobForEngineOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a CreateJobForEngineOpts struct

NameTypeDescriptionNotes
xCorrelationIdoptional.StringCorrelation Id that can be passed, traced in the server and will be returned in the response if present in the request
contentTypeoptional.Stringmimetype of the input file
fileNameoptional.Interface of os.Fileoptional.os.Filethe input file contents
inputFileNameoptional.Stringthe original filename of the input file
parameterJSONoptional.StringJSON stringified of map of field names and values if specified in job template
templateNameoptional.Stringthe engine job template to process the input file

Return type

CreateJobForEngineResponse

Authorization

api_key

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/json
Additional Technical Documentation Information
Properties
11/21/2024 10:35 PM
11/21/2024 10:35 PM
11/21/2024 10:35 PM
Documentation
Documentation
000006151
Translation Information
English

Powered by