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}/upload

Authorization

Path parameters

Key
Value

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

Key
Value

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

Key
Value

request_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