Good morning!
I have a workspace that creates a KML and a zip with SHAPE Files. I'm going to upload it to FME Server so the user can download those file easily.
Before doing anything I have checked the API documentation. The respone from a job looks like this:
result {
id (integer): Unique identifier for this job,
numFeaturesOutput (integer, optional),
priority (integer, optional),
requesterHost (string, optional),
requesterResultPort (integer, optional),
resultDatasetDownloadUrl (string, optional),
status (string, optional) = l'SUBMITTED', 'QUEUED', 'ABORTED', 'SUCCESS', 'FME_FAILURE', 'JOB_FAILURE' or 'PULLED']: Job success, failure, or other status,
statusMessage (string, optional),
timeFinished (string, optional),
timeRequested (string, optional),
timeStarted (string, optional)
}
The "resultDatasetDownloadUrl" is not an array, so that makes me think the Server will create just one URL. How does FME Server choose between my KML or ZIP file with SHAPES?
Is there a way to force FME Server to create two URL? Or should I add the KML to the ZIP file to have just one element to download?
The user is not going to access FME Server. I'm coding a .NET app for that.
I'm using FME Server 2017.
Thanks for any help provided.