I am trying to check weather a given "operatingSystemReferenceCode" is valid or not using below Softlayer API. were I am mentioning the operatingSystemReferenceCode in Object Filter. Even if I pass an invalid "operatingSystemReferenceCode" I will get success response. I tried many way to build objectFilter, but could'nt get the expected out put. Can any one help me to build a proper objectFilter.
API :
https://:@api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest/getCreateObjectOptions?objectFilter={"virtualGuests":{"CreateObjectOptions":{"operatingSystems":{"template":{"operatingSystemReferenceCode":{"operation":"CWWSDCSENTOS_7_64_34542"}}}}}}