PUT api/{database}/CustomTable/{tableName}
Updates the specified CustomTable
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
tableName | The tableName. |
Define this parameter in the request URI. |
value | The updated values for CustomTable. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "fieldNames": [ "sample string 1", "sample string 2", "sample string 3" ], "fieldTypes": [ "sample string 1", "sample string 2", "sample string 3" ], "tableName": "sample string 3", "tableRows": null }
application/xml, text/xml
Sample:
<CustomTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <FieldNames 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> </FieldNames> <FieldTypes 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> </FieldTypes> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <TableName>sample string 3</TableName> <TableRows xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Lists" i:nil="true" /> </CustomTable>
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", "fieldNames": [ "sample string 1", "sample string 2", "sample string 3" ], "fieldTypes": [ "sample string 1", "sample string 2", "sample string 3" ], "tableName": "sample string 3", "tableRows": null }
application/xml, text/xml
Sample:
<CustomTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <FieldNames 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> </FieldNames> <FieldTypes 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> </FieldTypes> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <TableName>sample string 3</TableName> <TableRows xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Lists" i:nil="true" /> </CustomTable>