serializeItem

Function

Serialize an item 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

any - a formatted json object to be sent to Portal


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