Generic response containing the response code and response messages (no additional objects)
| name | data type | constraints | description |
|---|---|---|---|
| import | JobStatus | Status of the latest import | |
| messages | array of Message | Messages contained in the response (which should be shown to the user) | |
| responseInfo | ResponseInfo | ||
| inBackground | boolean | required boolean | Whether the job was pushed into the background. |
Example
{
"import" : {
"running" : true,
"messages" : [ { }, { } ],
"progress" : {
"done" : 12345,
"total" : 12345,
"started" : 12345,
"finished" : 12345
},
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"inBackground" : true
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"inBackground" : true
}