serializeItem

Function

Serialize an item and its data into a json format accepted by the Portal API for create and update operations

Parameters

Parameter Type Default Notes
item Required IItemAdd | IItemUpdate | IItem

Item to be serialized

Returns

a formatted json object to be sent to Portal

any

Function defined in packages/arcgis-rest-portal/src/items/helpers.ts:255