Parameter
|
Description
|
Valid Values
|
{datasourceId}
|
The ID of the data source.
|
The ID is auto-generated when the data source is created and cannot be changed.
|
Property
|
Description
|
Valid Values
|
"statusCode"
|
Provides a code for the status of the refresh
|
-1 | 0 | 1 | 2
If -1, the model must be created before it can be refreshed.
If 0, the refresh of the model is complete. The updated model is ready to use. The "createdAt" field shows the time at which the model was created.
If 1, the model is currently being refreshed. The "percentDone" field shows the progress of the model refresh.
If 2, a problem was encountered. The "reason" field shows details about the problem.
|
"status"
|
A message that reports the status of the refresh
|
Depending on the status of the refresh one the following messages are provided. The messages correspond to one of the four status codes.
Model not created.(-1)
Model is complete(0)
Working on model.(1)
There was a problem creating the model.(2)
|
"createdAt"
|
The time at which the OData model was created
|
A timestamp in the UTC format YYYY-MM-DD HH:mm:ss provided if the OData model creation is complete
|
"tableWarnings"
|
Information on tables that were dropped from the data source schema while the OData model was generated
|
An array of table names with details on why the table was not included in the data source schema
|
"columnWarnings"
|
Information on columns that were dropped from the data source schema while the OData model was generated
|
An array of column names with their table names and details on why the column was not included in the data source schema
|
"percentDone"
|
A message that reports what percentage of the OData model creation has been completed
|
A string with percent done provided if the OData model creation is currently taking place
|
"reason"
|
A message that provides details about an error encountered during OData model creation
|
A string with error message details provided if the OData model creation has encountered an error
|