You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|listItemCreateInfo|Information about the list and folder where the item should be created|
291
+
|listItemCreateInfo.FolderPath.DecodedUrl|Absolute URL of the folder where the item should be created|
292
+
|listItemCreateInfo.UnderlyingObjectType|Type of item to create. For more information see [https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.filesystemobjecttype(v=office.14).aspx](https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.filesystemobjecttype(v=office.14).aspx)|
293
+
|formValues|Array of field names and values to set on the newly created item|
294
+
|bNewDocumentUpdate|Set to `false` to create a list item|
295
+
296
+
#### Responses
297
+
298
+
| Name | Type |Description|
299
+
|--------|---------|-----------|
300
+
|200 OK | Boolean |Success |
301
+
302
+
```json
303
+
{
304
+
"value": [
305
+
{
306
+
"ErrorMessage": null,
307
+
"FieldName": "Title",
308
+
"FieldValue": "Item",
309
+
"HasException": false,
310
+
"ItemId": 0
311
+
},
312
+
{
313
+
"ErrorMessage": null,
314
+
"FieldName": "Id",
315
+
"FieldValue": "1",
316
+
"HasException": false,
317
+
"ItemId": 0
318
+
}
319
+
]
320
+
}
321
+
```
322
+
323
+
The `value` property contains the list of properties that have been set when creating the list item.
324
+
325
+
### Update list item
249
326
250
327
The following example shows how to **update** a list item.
251
328
@@ -266,7 +343,7 @@ headers:
266
343
content-length:length of post body
267
344
```
268
345
269
-
<br/>
346
+
### Delete list item
270
347
271
348
The following example shows how to **delete** a list item.
0 commit comments