POST api/{database}/DmDocumentCategory
Creates a new DmDocumentCategory with the specified values
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
value | The DmDocumentCategory 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", "description": "sample string 3", "linkType": "sample string 4" }
application/xml, text/xml
Sample:
<DmDocumentCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.DocMan.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <Description>sample string 3</Description> <LinkType>sample string 4</LinkType> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> </DmDocumentCategory>
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", "description": "sample string 3", "linkType": "sample string 4" }
application/xml, text/xml
Sample:
<DmDocumentCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.DocMan.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <Description>sample string 3</Description> <LinkType>sample string 4</LinkType> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> </DmDocumentCategory>