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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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