Get Active Schema
GET
https://api.monetate.net/api/data/v1/{retailerShortname}/production/schema/
row_countboolean<p>Adds a field called <code>row_count</code> which is an Integer that is the number of available rows for targeting (there may be an hour delay between uploading data and this value updating)</p>
latest_uploadboolean<p>Adds a field called <code>last_file_upload</code> with the format:</p>
<pre><code>"last_file_upload": {
"status": "COMPLETE",
"upload_time": "2016-03-24T10:56:52.000000Z",
"import_start_time": "2017-04-04T18:05:34.000000Z",
"import_end_time": "2017-04-04T18:05:35.000000Z",
"validation_error": ""
}
</code></pre>
usable_in_accountsboolean<p>Adds a field called <code>usable_in_accounts</code> which is an object describing the accounts where the dataset can be used for targeting.</p>
<pre><code>"usable_in_accounts": [
{
"name": "a-b6206def",
"instance": "p",
"domain": "fifthlevelfashion.com"
},
{
"name": "a-b6206def",
"instance": "p",
"domain": "fifthlevelfashion.us"
}
]
</code></pre>
acceptstringGenerated from available response content types
200A list of Schema definitions.
401<p>Unauthorized.</p>
<p>The request did not include a token, or the token provided was invalid. Please ensure that your token is correct and that the Authorization header is properly formatted.</p>
403Forbidden.
The request included a token that has been revoked. Please contact your account administrator to generate a new token.
500Unknown error.
Please try again or contact your account manager for more information.
curl --request GET \
--url https://api.monetate.net/api/data/v1/{retailerShortname}/production/schema/ \
--header 'accept: application/json'