mix0mat0sis
9 years agoNew Contributor
Getting "Missing Parameter" Response even though WSDL describes it as optional field
Hi. I'm a newbie trying to send a REST POST request and I'm getting an error saying "Missing parameter: companyName". However, in looking at the WSDL definition for the request, it says the "companyName" field is optional. If this is the case, why is it throwing this error saying that it is a Missing Parameter? The request works when I fill it in but there are a lot of cases where I do not want this parameter filled out.
Is it because I am using a REST POST request instead of a SOAP request and REST requests require all parameters somehow be populated in the request? Is there a way I can make the parameter blank? Check screenshots for further information. Thanks.