Upload Excel file to Spark
Upload Excel file to Spark.
Returns: nodegen_compilation_jobid, original_file_documentid, and engine_file_documentid which are needed to Publish service.
POST /{tenant}/api/v3/folders/{folder}/services/{service}/uploadAuthorization
Bearer {token}accessible from Authorization - Bearer token or systematically via Client Credentials.The request headers should include a key for
Authorizationwith the valueBearer {token}.
API key created from Authorization - API keys. The API key groups must contain User groups that are also assigned to Permissions - Features permissions
Spark.ServiceUpload.jsonorSpark.AllEncompassingProxy.json.The request headers should include the keys
x-synthetic-keyandx-tenant-namewith the API key and tenant name respectively.
Path parameters
tenant *
Tenant is part of your Log in to Spark URL and also available in the User menu.
folder *
Target folder name.
service *
Target service name.
Request body
Content-Type: multipart/form-data
serviceFile *
Service file to be uploaded. When using Postman, remember to change the key type from Text to File.
engineUploadRequestEntity *
Stringified JSON content of the request parameters described below. Use the example placeholder as the settings are overridden in Publish service.
engineUploadRequestEntity parameter
engineUploadRequestEntity parameterrequest_data.version_difference *
minor
Parameter is required but ignored. Value is set in Publish service.
request_data.effective_start_date *
2010-01-01
Parameter is required but ignored. Value is set in Publish service.
request_data.effective_end_date *
2120-01-01
Parameter is required but ignored. Value is set in Publish service.
request_data.compiler_version
Neuron version to use for compilation if specified. Reference Neuron release history.
Example: Neuron_v1.25.0
request_data.compiler_type
MaintainVersion, TenantDefault, StableLatest, or ReleaseCandidate sets the default method to choose the Neuron version for the next upload.
Sample request
Sample response
HTTP 200 OK Content-Type: application/json
If the service name already exists, Spark will raise an error message.
Take note of the nodegen_compilation_jobid, original_file_documentid, and engine_file_documentid as this information is needed to check the upload status and publish the service.
Last updated
