Created
June 21, 2011 22:02
-
-
Save IndiceeCoder/1039034 to your computer and use it in GitHub Desktop.
model dataset table create
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /api/models/datasets/sheet1.xls/tables/create.xml HTTP/1.1 | |
Authorization: OAuth xxxxxxxxxxx | |
Content-Type: application/xml | |
Host: secure.indicee.com | |
<table> | |
<name>sheet_sales</name> | |
<attributes> | |
<attribute value="true" type="Boolean" name="includeTable" /> | |
<attribute value="CSV" type="String" name="seperator" /> | |
<attribute value="1" type="Integer" name="headerStart" /> | |
<attribute value="2" type="Integer" name="columnStart" /> | |
<attribute value="2" type="Integer" name="dataStart" /> | |
</attributes> | |
<source_fields> | |
<source_field> | |
<name>Customer Type</name> | |
<attributes> | |
<attribute value="true" type="Boolean" name="includeField" /> | |
<attribute value="false" type="Boolean" name="isNameless" /> | |
<attribute value="false" type="Boolean" name="hidden" /> | |
<attribute value="{0}" type="String" name="formatting" /> | |
</attributes> | |
<data_type>STRING</data_type> | |
</source_field> | |
</source_fields> | |
</table> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<table> | |
<uuid>bb407173-03f5-45a3-8b9d-b04bbc9671ae</uuid> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment