POST api/TableConfig

Request Information

URI Parameters

None.

Body Parameters

TableConfigDTO
NameDescriptionTypeAdditional information
TableConfigType

TableConfigEnum

None.

Columns

Collection of TableConfigColumnDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "TableConfigType": 1,
  "Columns": [
    {
      "Name": "sample string 1",
      "SortOrder": 2,
      "Field": "sample string 3",
      "DataType": "sample string 4",
      "Width": "sample string 5"
    },
    {
      "Name": "sample string 1",
      "SortOrder": 2,
      "Field": "sample string 3",
      "DataType": "sample string 4",
      "Width": "sample string 5"
    }
  ]
}

text/html, multipart/form-data, application/zip

Sample:
{"TableConfigType":1,"Columns":[{"Name":"sample string 1","SortOrder":2,"Field":"sample string 3","DataType":"sample string 4","Width":"sample string 5"},{"Name":"sample string 1","SortOrder":2,"Field":"sample string 3","DataType":"sample string 4","Width":"sample string 5"}]}

application/xml, text/xml

Sample:
<TableConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO">
  <Columns>
    <TableConfigColumnDTO>
      <DataType>sample string 4</DataType>
      <Field>sample string 3</Field>
      <Name>sample string 1</Name>
      <SortOrder>2</SortOrder>
      <Width>sample string 5</Width>
    </TableConfigColumnDTO>
    <TableConfigColumnDTO>
      <DataType>sample string 4</DataType>
      <Field>sample string 3</Field>
      <Name>sample string 1</Name>
      <SortOrder>2</SortOrder>
      <Width>sample string 5</Width>
    </TableConfigColumnDTO>
  </Columns>
  <TableConfigType>OrderSearch</TableConfigType>
</TableConfigDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html, multipart/form-data, application/zip

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>