GET api/prolabor/tabelaobjjson/{nometabela}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nometabela

string

Required

Body Parameters

None.

Response Information

Resource Description

CustomTable
NameDescriptionTypeAdditional information
table

string

None.

columns

Collection of Field

None.

values

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "table": "sample string 1",
  "columns": [
    {
      "name": "sample string 1",
      "type": "sample string 2",
      "is_identity": true,
      "max_length": "sample string 4",
      "precision": 5,
      "scale": 6,
      "is_nullable": true,
      "default_definition": "sample string 8",
      "default_name": "sample string 9",
      "FieldType": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    },
    {
      "name": "sample string 1",
      "type": "sample string 2",
      "is_identity": true,
      "max_length": "sample string 4",
      "precision": 5,
      "scale": 6,
      "is_nullable": true,
      "default_definition": "sample string 8",
      "default_name": "sample string 9",
      "FieldType": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    }
  ],
  "values": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<CustomTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DynamicWebApi.Core.Models">
  <columns>
    <Field>
      <default_definition>sample string 8</default_definition>
      <default_name>sample string 9</default_name>
      <is_identity>true</is_identity>
      <is_nullable>true</is_nullable>
      <max_length>sample string 4</max_length>
      <name>sample string 1</name>
      <precision>5</precision>
      <scale>6</scale>
      <type>sample string 2</type>
    </Field>
    <Field>
      <default_definition>sample string 8</default_definition>
      <default_name>sample string 9</default_name>
      <is_identity>true</is_identity>
      <is_nullable>true</is_nullable>
      <max_length>sample string 4</max_length>
      <name>sample string 1</name>
      <precision>5</precision>
      <scale>6</scale>
      <type>sample string 2</type>
    </Field>
  </columns>
  <table>sample string 1</table>
  <values xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </values>
</CustomTable>