Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
PUT method on suitetalk.api.netsuite.com/services/rest/record/v1/employee returns "INVALID_METHOD"
Hi,
I'm trying to implement the REST API for the employee endpoint but the PUT Method ( Upsert ) for the employee is not working.
The PATCH method (Just update) works fine on the same endpoint
When I try to call employee/{id} with a PUT method i receive this error.
{
"type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
"title": "Method Not Allowed",
"status": 405,
"o:errorDetails": [
{
"detail": "Unsupported HTTP method for the requested resource.",
"o:errorCode": "INVALID_METHOD"
}
]
}
This is the body of the request
{
"firstname": "Test ",
"email": "test@test.com"
}
Am i doing something wrong?
Thanks
0