get
In SOAP web services, the get operation is used to retrieve a record by providing the unique id that identifies that record.
SOAP Request
In the following example, a single customer record is retrieved. Note that the internal ID for the specific instance of the record and the record type (customer) must be specified.
<soapenv:Body>
<get xmlns="urn:messages_2025_1.platform.webservices.netsuite.com">
<baseRef internalId="107" type="customer" xsi:type="ns7:RecordRef" xmlns:ns7="urn:core_2025_1.platform.webservices.netsuite.com"/>
</get>
</soapenv:Body>
SOAP Response
The following example shows a possible response.
<soapenv:Body>
<getResponse xmlns="urn:messages_2025_1.platform.webservices.netsuite.com">
<readResponse>
<platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2025_1.platform.webservices.netsuite.com"/>
<record internalId="107" xsi:type="listRel:Customer" xmlns:listRel="urn:relationships_2025_1.lists.webservices.netsuite.com">
<listRel:customForm internalId="3" xmlns:platformCore="urn:core_2025_1.platform.webservices.netsuite.com">
<platformCore:name>Customer_Preferred=T_Store=F</platformCore:name>
</listRel:customForm>
<listRel:entityId>Tim Harris</listRel:entityId>
<listRel:isPerson>false</listRel:isPerson>
<listRel:companyName>Glenrock General Hospital</listRel:companyName>
<listRel:entityStatus internalId="13" xmlns:platformCore="urn:core_2025_1.platform.webservices.netsuite.com">
<platformCore:name>CUSTOMER-Closed Won</platformCore:name>
</listRel:entityStatus>
...[more fields]...
<listRel:dateCreated>2017-09-04T15:59:15.000-07:00</listRel:dateCreated>
<listRel:customFieldList xmlns:platformCore="urn:core_2025_1.platform.webservices.netsuite.com">
<platformCore:customField internalId="59" scriptId="custentity_633637_asubmit" xsi:type="platformCore:BooleanCustomFieldRef">
<platformCore:value>false</platformCore:value>
</platformCore:customField>
<platformCore:customField internalId="58" scriptId="custentity_633637_bload" xsi:type="platformCore:BooleanCustomFieldRef">
<platformCore:value>false</platformCore:value>
</platformCore:customField>
</listRel:customFieldList>
</record>
</readResponse>
</getResponse>
</soapenv:Body>
REST Request
In REST web services, you also use the get operation to retrieve a record instance.
In the following example, a single customer record is retrieved.
GET https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/customer/107
REST Response
The following is a shortened example of the body of the response.
{
"links": [
{
"rel": "self",
"href": "http://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/customer/107"
}
],
"accessRole": {
"links": [
{
"rel": "self",
"href": "http://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/"
}
],
"id": "14",
"refName": "Customer Center"
},
"accessTabChanged": false,
"addressbook": {
"links": [
{
"rel": "self",
"href": "http://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/customer/107/addressbook"
}
]
},
"autoName": true,
"balance": 0,
"billPay": false,
"bulkmerge": {
"links": [
{
"rel": "self",
"href": "http://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/customer/107/bulkmerge"
}
]
},