POST api/{database}/DbDocument

Creates a new DbDocument with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The DbDocument with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "createdBy": "sample string 3",
  "createdDate": "2024-11-23T15:01:52.3481792",
  "dateCreated": "sample string 5",
  "description": "sample string 6",
  "documentName": "sample string 7",
  "documentType": "sample string 8",
  "folder": "sample string 9",
  "keywords": "sample string 10",
  "link": "sample string 11",
  "linkId": 12,
  "modifiedDate": "2024-11-23T15:01:52.3481792",
  "organizationId": 14,
  "sentTo": "sample string 15"
}

application/xml, text/xml

Sample:
<DbDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedDate>2024-11-23T15:01:52.3481792+01:00</CreatedDate>
  <DateCreated>sample string 5</DateCreated>
  <Description>sample string 6</Description>
  <DocumentName>sample string 7</DocumentName>
  <DocumentType>sample string 8</DocumentType>
  <Folder>sample string 9</Folder>
  <Keywords>sample string 10</Keywords>
  <Link>sample string 11</Link>
  <LinkId>12</LinkId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <ModifiedDate>2024-11-23T15:01:52.3481792+01:00</ModifiedDate>
  <OrganizationId>14</OrganizationId>
  <SentTo>sample string 15</SentTo>
</DbDocument>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "createdBy": "sample string 3",
  "createdDate": "2024-11-23T15:01:52.3481792",
  "dateCreated": "sample string 5",
  "description": "sample string 6",
  "documentName": "sample string 7",
  "documentType": "sample string 8",
  "folder": "sample string 9",
  "keywords": "sample string 10",
  "link": "sample string 11",
  "linkId": 12,
  "modifiedDate": "2024-11-23T15:01:52.3481792",
  "organizationId": 14,
  "sentTo": "sample string 15"
}

application/xml, text/xml

Sample:
<DbDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedDate>2024-11-23T15:01:52.3481792+01:00</CreatedDate>
  <DateCreated>sample string 5</DateCreated>
  <Description>sample string 6</Description>
  <DocumentName>sample string 7</DocumentName>
  <DocumentType>sample string 8</DocumentType>
  <Folder>sample string 9</Folder>
  <Keywords>sample string 10</Keywords>
  <Link>sample string 11</Link>
  <LinkId>12</LinkId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <ModifiedDate>2024-11-23T15:01:52.3481792+01:00</ModifiedDate>
  <OrganizationId>14</OrganizationId>
  <SentTo>sample string 15</SentTo>
</DbDocument>