Give me a sample to create a custom record ‘custom...
# ask-stanley-ai
t
Give me a sample to create a custom record ‘customrecord_abc’ using netsuite rest web services api
c
AI generated answer (using internal Slack threads):
To create a custom record
customrecord_abc
using NetSuite REST Web Services API, you would need to make a POST request to the
/record/v1/customRecordType/{customrecord_abc}
endpoint. Here is a sample JSON payload for the POST request:
Copy code
json
{
  "customFieldList": [
    {
      "value": "Sample Value",
      "scriptId": "custrecord_sample_field"
    }
  ]
}
In the above JSON,
custrecord_sample_field
is the scriptId of the custom field in the custom record
customrecord_abc
and
Sample Value
is the value you want to set for that field. Please replace
{customrecord_abc}
with the actual ID of your custom record. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850186706
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841301501
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84064
Please provide your feedback on this answer.