It's straightforward. Just specify the JobSvfOutputPayloadAdvanced
with GenerateMasterViews=true
to the 3rd argument of the JobPayloadOutput
.
var urn = "dXJuOm...Ty5ydnQ";
JobPayloadInput jobInput = new JobPayloadInput (urn);
JobSvfOutputPayloadAdvanced advancedConfigs = new JobSvfOutputPayloadAdvanced();
advancedConfigs.GenerateMasterViews = true;
JobPayloadOutput jobOutput = new JobPayloadOutput (
new List<JobPayloadItem> (
new JobPayloadItem [] {
new JobPayloadItem (
JobPayloadItem.TypeEnum.Svf,
new List<JobPayloadItem.ViewsEnum> (
new JobPayloadItem.ViewsEnum [] {
JobPayloadItem.ViewsEnum._2d, JobPayloadItem.ViewsEnum._3d
}
),
advancedConfigs
)
}
)
);
JobPayload job = new JobPayload (jobInput, jobOutput);
var derivativesAPI = new DerivativesApi();
DerivativesAPI.Configuration.AccessToken = "eyJhbG...";
bool bForce = true;
var response = await derivativesAPI.TranslateAsyncWithHttpInfo (job, bForce);