Information about the latest uploads

Information about the latest uploads.

  1. Request syntax
  2. Response format

Request syntax

counterId: Tag ID.

https://api-metrika.yandex.net/cdp/api/v1/counter/{counterId}/last_uploadings
 ? [limit=<long>]
limitNumber of returned uploads. Values from 1 to 1000 are accepted

Default value: 10

limitNumber of returned uploads. Values from 1 to 1000 are accepted

Default value: 10

Response format


{
    "uploadings" : [ {
        "uploading_id" :  < string > ,
        "datetime" :  < local_date_time > ,
        "api_validation_status" :  < api_validation_status > ,
        "elements_count" :  < integer > ,
        "entity_type" :  < entity_type > ,
        "uploading_format" :  < uploading_format > ,
        "uploading_source" :  < uploading_source > 
    }, ... ]
}
Parameters Description
uploadings Information about uploads
uploadings
uploading_id Upload ID
datetime Upload time
api_validation_status Upload validation status

Possible values:

  • PASSED: Validation passed.
  • FAILED: Validation failed.
elements_count Number of elements in the upload
entity_type Attribute entity type: CONTACT or ORDER.
uploading_format Upload format

Possible values:

  • JSON: JSON.
  • CSV: CSV.
uploading_source Upload source

Possible values:

  • API: API.
Parameters Description
uploadings Information about uploads
uploadings
uploading_id Upload ID
datetime Upload time
api_validation_status Upload validation status

Possible values:

  • PASSED: Validation passed.
  • FAILED: Validation failed.
elements_count Number of elements in the upload
entity_type Attribute entity type: CONTACT or ORDER.
uploading_format Upload format

Possible values:

  • JSON: JSON.
  • CSV: CSV.
uploading_source Upload source

Possible values:

  • API: API.