Add Data Extensions

post

/config/sim/v1/setup/DataExtensions

Request

Supported Media Types
Header Parameters
Body ()
Data Extension Resource Object
Root Schema : DataExtensionResourceObject
Type: object
Model for Data Extension Object
Show Source
  • dataConstraints
    Constraints on the values that can be inserted for this data extension property. Note that for 'Boolean' and "XML Document" types, data constraints are not required. For all other types, this is a required field
  • Maximum Length: 3
    The display width of the column, acceptable values include null, 30-999 inclusive
    Example: 150
  • Maximum Length: 128
    name of the data extension property, cannot be empty.
    Example: isKiosk
  • boolean value to specify if the property is downloadable. Default Value = true
    Example: true
  • boolean value to specify if the property is editable. Default Value = true
    Example: true
  • boolean value to specify if the property is viewable. Default Value = true
    Example: true
  • Object Number of the Data Extension property.
    Example: 1
  • sort priority of the property.
    Example: 1
  • Object Number of the table. ** Below table descibes acceptable values for tableNum and the corresponding table Name | tableNum | tableName | |-----------|--------------------| | 17 |Hierarchy Unit | | 20 |Revenue Center | | 25 |Order Type | | 41 |Workstations | | 50 |Currency | | 54 |Tax Class | | 58 |Menu Item Class | | 67 |Discount | | 70 |Service Charge | | 71 |Tender/Media | | 85 |Job Code | | 104 |Employee Class | | 106 |Employee | | 128 |Serving Period | | 131 |Menu Item Master | | 134 |Menu Item Definition| | 138 |Effectivity Groups | | 1001 |Property | | 1010 |Role |
    Example: 1
  • translatableHelp
    A string that contains translations of help for the property
  • translatableName
    A string that contains translations of column name for the property
  • Type of data that can be inserted for this data extension property. ** Below is a list of acceptable values for type |Type |Description | |-----|--------------| |0 |Text | |1 |Multiline Text| |2 |Number | |3 |Decimal | |4 |Boolean | |5 |Date | |6 |Time | |7 |Date/Time | |8 |Text List | |9 |Lookup List | |10 |Big Text List | |11 |XML Document | |12 |JSON |
    Example: 1
Nested Schema : dataConstraints
Type: object
Constraints on the values that can be inserted for this data extension property. Note that for 'Boolean' and "XML Document" types, data constraints are not required. For all other types, this is a required field
Show Source
  • Valid Date/Time format. For types- Date, Time, Date/Time. Following is the format in which each of the mentioned fields should be passed: year: yyyy or yy month: MM or M date: dd or d hour: HH or H or h or hh minute: mm or m or mm:ss display_type: t or tt (optional and applicable only when hour is in 'h' or 'hh' format) date_format: year/month/date or month/date/year or date/month/year or year-month-date or month-date-year or date-month-year time_format: hour:minute display_type dateTime format: date_format time_format
    Example: yyyy/MM/dd hh:mm t
  • number of lines allowed. For types- Multiline Text
    Example: 2
  • lookupList
    List to choose data values from. For types- Lookup List, Text List, Big Text List
  • maximum characters allowed. For types- Text and JSON
    Example: 128
  • maximum value for the allowed range. For types- Number, Decimal
    Example: 9999
  • minimum value for the allowed range. For types- Number, Decimal
    Example: 0
Nested Schema : translatableHelp
Type: object
A string that contains translations of help for the property
Example:
{
    "en-US":"Property",
    "de-DE":"Eigentum",
    "ar-AR":"?????"
}
Nested Schema : translatableName
Type: object
A string that contains translations of column name for the property
Example:
{
    "en-US":"Property",
    "de-DE":"Eigentum",
    "ar-AR":"?????"
}
Nested Schema : lookupList
Type: object
List to choose data values from. For types- Lookup List, Text List, Big Text List
Example:
{
    "1":"Entry-1",
    "2":"Entry-2",
    "3":"Entry-3"
}
Back to Top

Response

Supported Media Types

200 Response

Response object
Body ()
Root Schema : DataExtensionsResponse
Type: object
Show Source

400 Response

400 Bad Request
Body ()
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source
Back to Top