addItemJsonData

Function

import { addItemJsonData } from '@esri/arcgis-rest-items';
//
addItemJsonData({
  id: '3ef',
  data: {}
  authentication
})
  .then(response)

Send json to an item to be stored as the /data resource. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IItemDataAddRequestOptions

Options for the request

Returns

Promise<IItemAddResponse> - A Promise that will resolve with an object reporting success/failure and echoing the item id.


Function defined in packages/arcgis-rest-items/src/add.ts:47