When creating a booking silently with an automation script, how can you select the next available resource that's not in use for the booking time that has a specific capability?
Hi Philip,
In the Function object you should not provide 'SelectedResource' and set 'ShouldAutoSelectResource' to true.
E.g.:
new Function
{
Id = 3,
ShouldAutoSelectResource = true,
ProfileInstance = TestSystemIds.ProfileInstances.EUTELSAT_07A_A01_DVB_S2.ToString(),
ByReference = true,
InputInterfaces = new List<Interface>
{
new Interface
{
Id = 1,
ProfileInstance = TestSystemIds.ProfileInstances.L_Band.ToString()
}
},
OutputInterfaces = new List<Interface>
{
new Interface
{
Id = 11,
ProfileInstance = TestSystemIds.ProfileInstances.ASI_Profile.ToString()
}
}
}
Thanks Jorge,
I completely missed that in the function class.