-
Invalid content in request body when create item receipt via REST API
Hi Teams! I encountered an error "Invalid content in request body" when creating item receipt via REST API postman. I also attached the payload below: { "createdfrom": { "id": "87789" }, "customform": { "id": "334" }, "entity": { "id": "3766" }, "currency": { "id": "7" }, "location": { "id": "230" }, "memo": "Testing",…
-
Netsuite REST Web Services - Python GET Request OAuth1
Hi community, thanks in advance for your help. I've successfully setup REST Web Services API in our sandbox environment, and successfully made GET requests using the documented Postman application. I'm now trying to write script in Visual Studio code that mimics Postman's requests but am having a difficult time finding a…
-
Suite API error(Invalid Login Attempt) while accessing it in Postman
Hi All, I'm trying to use the Suite API by following the blog (Suite API)and testing it in Postman. I have followed all the steps and have the Consumer Key, Consumer Secret, Token Key and Token Secret. But I'm getting the Invalid login attempt error as attached in the screenshot. I have the default role of Administrator…
-
RESTlet: INVALID_LOGIN_ATTEMPT on Postman
I am having trouble again with authenticating against a NetSuite endpoint. I get invalid login attempt but no login audit trail record. These are my settings, I have tried with an access token that I got through oauth 2.0 authentication, I have read…
-
RESTAPI /purchaseOrder/<ID>/!transform/itemReceipt return Invalid_login
I am working on the RESTAPI /purchaseOrder/<ID>/!transform/itemReceipt and tested with Postman successfully. however I got different result. Also for your information, we did you’re the same credentials on the Application via different End Point (E.g. CRUD CUSTOMER record / CRUD invoice) which all success without issue.…
-
Can we connect existing Purchase Order to new Sales Order with the help of Special order?
Hi can we connect existing Purchase Order to new Sales Order wtih the help of Special Order using REST Api at present i am trying to update below code to my existing sales order using POSTMAN but it does not seems to work. PATCH {{REST_SERVICES}}/record/v1/salesorder/2716/item/1 { "poVendor" : 139,…
-
How to execute suitescript 2.1 code in POSTMAN?
Hi can anyone help me execute how to run a suitescript 2.1 code in POSTMAN below is sample code. require(['N/record'], function(record){ function createBomRevision(values, items){ var rec = record.create({ type: 'bomrevision', isDynamic: true }); for (var key in values){ if (values.hasOwnProperty(key)){ rec.setValue({…
-
REST WS: Is it possible to setup OAuth2.0 in Postman that does not require browser authentication?
I am trying to setup Oauth 2.0 to postman... using the help articles. The only type mentioned is the Code Grant flow. This popups a browser window where you. have to login. It there another flow supported in NetSuite which does not require the browser authentication?
-
How to resolve the "error": "unsupported_grant_type" in REST WS?
I am getting the following error in postman. Please see attached screenshot for more details. { "error": "unsupported_grant_type" }
-
Is it possible to create a customer record with contact in REST API?
Hello, trying to create Customer record via postman, Customer record with address is created with no problems, but having difficulties around adding contact: when using code below, Customer record is created but not contact: error code: X-NetSuite-PropertyValidation: Unknown field name contactroles. The field does not…