SP.Web.getEntity Method (sp.js)

Gets the specified external content type in a line-of-business (LOB) system application.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Web.getEntity()

Return value

SP.BusinessData.Entity

REST resource endpoint

See Web resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/getEntity(nnamespace,name)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/getEntity(nnamespace,name)

Resource parameters

  • nnamespace

  • name

Parameters

  • nnamespace

  • name