POST api/ListItem/CreateItems

Create documents, folders and items

Request Information

URI Parameters

None.

Body Parameters

WorkPoint.Core.Models.CreateDocumentsItemsFolders
NameDescriptionTypeAdditional information
BusinessModuleId

globally unique identifier

Required

EntityId

integer

Required

List

string

Required

Folder

string

None.

ExistsBehaviour

WorkPoint365.WebAPI.Model.Document+OutputExistsBehaviour

Required

Items

Collection of Object

None.

Recursive

boolean

None.

Async

boolean

None.

Fields

WorkPoint365.WebAPI.Model.Controllers.ListItem.FieldValuesMappingTemplateParameter

None.

Context

Dictionary of Object [key] and Object [value]

None.

Retry

WorkPoint365.WebAPI.Model.ControlledExecutionRetryContext

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessModuleId": "336c100a-5d42-479e-b207-7ba84753ed6c",
  "EntityId": 2,
  "List": "sample string 3",
  "Folder": "sample string 4",
  "ExistsBehaviour": 10,
  "Items": null,
  "Recursive": true,
  "Async": true,
  "Fields": {},
  "Context": null,
  "Retry": {
    "Failed": true,
    "ExecutionContext": null,
    "Result": null,
    "Errors": [
      {
        "Reference": null,
        "Event": {
          "ExecutionContext": null,
          "TimeStamp": "2026-04-17T04:09:52.5175395+00:00",
          "Message": "sample string 2",
          "StackTrace": "sample string 3",
          "InnerException": {},
          "ExceptionType": "sample string 5",
          "ExceptionMessage": "sample string 6",
          "ExceptionData": {
            "System.Object": {}
          }
        }
      },
      {
        "Reference": null,
        "Event": {
          "ExecutionContext": null,
          "TimeStamp": "2026-04-17T04:09:52.5175395+00:00",
          "Message": "sample string 2",
          "StackTrace": "sample string 3",
          "InnerException": {},
          "ExceptionType": "sample string 5",
          "ExceptionMessage": "sample string 6",
          "ExceptionData": {
            "System.Object": {}
          }
        }
      }
    ],
    "Warnings": [
      {
        "Reference": null,
        "Event": "sample string 1"
      },
      {
        "Reference": null,
        "Event": "sample string 1"
      }
    ],
    "SignalRIdentifier": "sample string 1",
    "SignalRUrl": "sample string 2"
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />