Skip to main content Skip to complementary content

Get staging area statistics for the current container

Gets staging area statistics for the current container, including the container name, the model name, the number of total records, valid records, invalid records, and records waiting for validation.
Request
GET /services/rest/tasks/staging
Headers
  • Accept: application/json, application/xml or text/xml
  • Authorization: Basic Authentication scheme
Response The staging area statistics for the current container.
Status
  • 200 OK: The operation is executed successfully.
  • 204 NO CONTENT: The container or model has not been selected.
  • 401 UNAUTHORIZED: Login fails, invalid username or password.
  • 500 INTERNAL SERVER ERROR: Other errors.

Sample response in JSON

{
  "total_records": 100,
  "waiting_validation_records": 15,
  "valid_records": 80,
  "invalid_records": 5,
  "data_container": "Product",
  "data_model": "Product"
}

Sample response in XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<staging>
  <data_container>Product</data_container>
  <data_model>Product</data_model>
  <invalid_records>5</invalid_records>
  <total_records>100</total_records>
  <valid_records>80</valid_records>
  <waiting_validation_records>15</waiting_validation_records>
</staging>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!