Kyle Rainier
03/21/2023, 7:55 PM{
"request": {
"method": "POST",
"url": "https://<instance>.<http://suitetalk.api.netsuite.com/services/rest/record/v1/purchaseorder/2201922/!transform/vendorbill|suitetalk.api.netsuite.com/services/rest/record/v1/purchaseorder/2201922/!transform/vendorbill>",
"headers": {
"autoName": false,
"Authorization": "scrubbed",
},
"body": {
"item": {
"items": [
{
"line": 2,
"quantity": 1,
"amount": "11"
},
{
"line": 3,
"quantity": 10,
"amount": "40"
},
{
"line": 4,
"quantity": 8,
"amount": "32"
},
{
"line": 5,
"quantity": 5,
"amount": "28.75"
},
{
"line": 6,
"quantity": 5,
"amount": "30"
},
{
"line": 7,
"quantity": 6,
"amount": "20.4"
}
]
}
}
},
"response": {
"statusCode": 401,
"headers": {
"content-type": "application/vnd.oracle.resource+json; type=error; charset=UTF-8",
"content-length": "328",
"x-n-operationid": "d2d4b980-aebc-48ed-96fb-1dff033ad105",
"ns_rtimer_composite": "1822813119:706172746E6572733230372E70726F642D7068782D6E61352E636F72652E6E732E696E7465726E616C:80",
"strict-transport-security": "max-age=31536000",
"pragma": "No-Cache",
"cache-control": "No-Cache",
"expires": "0",
"www-authenticate": "OAuth realm=\"scrubbed\", error=\"token_rejected\", error_description=\"Invalid login attempt.\"",
"p3p": "CP=\"CAO PSAa OUR BUS PUR\"",
"vary": "User-Agent",
"date": "Tue, 21 Mar 2023 19:48:52 GMT",
"connection": "close",
"set-cookie": [
"NS_ROUTING_VERSION=LAGGING; path=/"
],
"akamai-grn": "0.5e472317.1679428130.2e19a88c"
},
"body": {
"type": "<https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2>",
"title": "Unauthorized",
"status": 401,
"o:errorDetails": [
{
"detail": "Invalid login attempt. For more details, see the Login Audit Trail in the NetSuite UI at Setup > Users/Roles > User Management > View Login Audit Trail.",
"o:errorCode": "INVALID_LOGIN"
}
]
}
}
}Kyle Rainier
03/21/2023, 7:57 PMbattk
03/21/2023, 8:02 PMKyle Rainier
03/21/2023, 8:10 PMKyle Rainier
03/21/2023, 8:10 PMbattk
03/21/2023, 8:12 PMKyle Rainier
03/21/2023, 8:14 PMbattk
03/21/2023, 8:38 PMbattk
03/21/2023, 8:39 PMKyle Rainier
03/21/2023, 8:40 PMKyle Rainier
03/21/2023, 8:40 PMbattk
03/21/2023, 8:40 PMbattk
03/21/2023, 8:41 PMKyle Rainier
03/21/2023, 8:41 PMKyle Rainier
03/22/2023, 1:42 PM!, but this is a reserved character for the RFC spec that NetSuite sites. I've had to find and replace that character, specifically to call the !transform function. Thanks again for pointing me in the right direction!