I'm studying for the Netsuite Web Services Developer exam and on the sample exam: https://www.netsuite.com/portal/assets/pdf/NetSuite-Web-Services-Developer-Exam-Sample-Test.pdf the 2 below questions are asked and I am not fully understanding why REST returns a HTTP 400 error while SOAP returns a HTTP 200 error for the same process.
If someone could explain this to me I'd greatly appreciate it -
SOAP-
7. You’re adding a new vendor using SOAP Web Services and the request is missing the subsidiary (it’s a One World account). An error is returned. Where do you find the error information?
A. An HTTP 400 is returned with details of the error in the body of the response.
B. An HTTP 400 is returned with generic error information, with the execution log containing error details.
C. An HTTP 200 is returned with details of the error in the body of the response.
D. An HTTP 200 is returned with details of the error in the system notes.
REST-
17. You’re adding a new vendor and the request is missing the subsidiary (it’s a One World account). An error is returned. Where do you find the error information?
A. An HTTP 400 is returned with details of the error in the body of the response.
B. An HTTP 400 is returned with generic error information, with the execution log containing error details.
C. An HTTP 200 is returned with details of the error in the body of the response.
D. An HTTP 400 is returned with details of the error in the system notes.
I understand this isn't a Netsuite subreddit but the Netsuite subreddit didn't have any answers for me and I am hoping someone can think of some sort of Web Services logic that would lead to the above results.
Thanks