---
schema_version: "1"
id: 90ff95e2a689428b2f912ea797f765b986426861923ab88325dcbaf706aed729
title: ESM_validateRecords API
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_esm_validaterecords_api_65242.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_esm_validaterecords_api_65242.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 587a9daa7d953332a7921fb7343a1fd32f48c43fe32d99ce1209deed38caec99
description: Validate quote line items.
products:
  - Communications
release: "264"
---
# ESM\_validateRecords API

Validate quote line items.

This API is used to check if any of the specified line items has a product for which the Location Depend option is selected. If this option is selected for a product in any of the selected line items, this API checks if a connection date is provided for those line items.

## URI

```
/services/apexrest/vlocity_cmt/v1/integrationprocedure/ESM_validateRecords/
```

## HTTP Method

POST

## Request

```
{
	"recordIds": [
		"0QLB0000000cH3LOAU",
		"0QLB0000000cH3ROAU",
		"0QLB0000000cH3XOAU",
		"0QLB0000000cH3jOAE",
		"0QLB0000000cH3pOAE",
		"0QLB0000000cH3vOAE",
		"0QLB0000000cH41OAE",
		"0QLB0000000cH4POAU",
		"0QLB0000000cH4VOAU",
		"0QLB0000000cH4bOAE",
		"0QLB0000000cH4hOAE"
	],
	"objectType": "QuoteLineItem"
}
```

## Response

```
{
	"response": {},
	"ResponseActionStatus": true,
	"ValidateRecordsByBatch": {
		"errorCode": "INVOKE-200",
		"error": "OK"
	},
	"ValidateRecordsByBatchStatus": true,
	"ValidateRecordsStatus": false,
	"options": {
		"useQueueableApexRemoting": false,
		"queueableChainable": false,
		"ignoreCache": true,
		"resetCache": false,
		"chainable": false
	},
	"objectType": "QuoteLineItem",
	"recordIds": [
		"0QLB0000000cH3LOAU",
		"0QLB0000000cH3ROAU",
		"0QLB0000000cH3XOAU",
		"0QLB0000000cH3jOAE",
		"0QLB0000000cH3pOAE",
		"0QLB0000000cH3vOAE",
		"0QLB0000000cH41OAE",
		"0QLB0000000cH4POAU",
		"0QLB0000000cH4VOAU",
		"0QLB0000000cH4bOAE",
		"0QLB0000000cH4hOAE"
	]
}
```