POST api/Administration
Creates a new Administration with the specified values
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
value | The Administration with the updated values. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "administrationId": "sample string 1", "messages": [], "backupDate": "sample string 2", "canChange": true, "cannotChangeReason": "sample string 4", "code": "sample string 5", "description": "sample string 6", "groupId": 7, "onlineState": 0, "previousOnlineState": 0, "reportPath": "sample string 8", "shortName": "sample string 9", "users": [ "sample string 1", "sample string 2", "sample string 3" ], "version": 10 }
application/xml, text/xml
Sample:
<Administration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <AdministrationId>sample string 1</AdministrationId> <BackupDate>sample string 2</BackupDate> <CanChange>true</CanChange> <CannotChangeReason>sample string 4</CannotChangeReason> <Code>sample string 5</Code> <Description>sample string 6</Description> <GroupId>7</GroupId> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <OnlineState>Unknown</OnlineState> <PreviousOnlineState>Unknown</PreviousOnlineState> <ReportPath>sample string 8</ReportPath> <ShortName>sample string 9</ShortName> <Users xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> <d2p1:string>sample string 3</d2p1:string> </Users> <Version>10</Version> </Administration>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "administrationId": "sample string 1", "messages": [], "backupDate": "sample string 2", "canChange": true, "cannotChangeReason": "sample string 4", "code": "sample string 5", "description": "sample string 6", "groupId": 7, "onlineState": 0, "previousOnlineState": 0, "reportPath": "sample string 8", "shortName": "sample string 9", "users": [ "sample string 1", "sample string 2", "sample string 3" ], "version": 10 }
application/xml, text/xml
Sample:
<Administration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <AdministrationId>sample string 1</AdministrationId> <BackupDate>sample string 2</BackupDate> <CanChange>true</CanChange> <CannotChangeReason>sample string 4</CannotChangeReason> <Code>sample string 5</Code> <Description>sample string 6</Description> <GroupId>7</GroupId> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <OnlineState>Unknown</OnlineState> <PreviousOnlineState>Unknown</PreviousOnlineState> <ReportPath>sample string 8</ReportPath> <ShortName>sample string 9</ShortName> <Users xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> <d2p1:string>sample string 3</d2p1:string> </Users> <Version>10</Version> </Administration>