orders orderparcelactivityarchiveasync (http://api.3plcentral.com/rels/orders/orderparcelactivityarchiveasync)
Resource:
Async: orderparcelactivities; start asynchronous archive query for order parcel activities
C# Rel Const:
Rels.OrderSvc.OrderParcelActivityArchiveAsync
URI template:
{id}/parcels/activities/archive/async{?from,to}
Starts an asynchronous query for order parcel activity older than the synchronous activity window.
Returns 429 (Too Many Requests) with a Retry-After hint when rate-limited by the upstream parcel activity service,
503 (Service Unavailable), or 504 (Gateway Timeout) on upstream timeout.
Success status: 202
Name (* = required) Data Type Description
id * int Order ID
from string ISO-8601 start timestamp
to string ISO-8601 end timestamp
Status and page results for an asynchronous order parcel activity query.
Type Description
OrderId int Order ID that owns the asynchronous activity query.
QueryId string Asynchronous query identifier.
Status string Current execution status of the query (e.g. RUNNING, SUCCEEDED, FAILED).
RetryAfterSeconds int? ... Recommended poll interval in seconds while the query is still running.
ErrorMessage string Optional diagnostic or error message if the query failed.
ResourceList IList<Order.Models.OrderParcelActivity>
EventId string Unique activity event identifier.
EventName string PAPI event name (e.g. label.purchased, rate_shop.completed).
Category string Activity category (e.g. shipping, rating, tracking, documents).
OccurredAt string ISO-8601 timestamp when the activity event occurred.
Status string Outcome or status of the activity event (e.g. success, failure).
Summary string Human-readable summary of the activity event.
PayloadRef string Optional reference to the underlying PAPI request/response payload (e.g. papi:request/{requestId}).
RequestId string Optional correlation or request identifier.
Source string System that recorded the event (e.g. papi, rules).
ActorType string Actor type that produced the event (e.g. api_client, rule, user).
ActorId string Identifier of the actor that produced the event.
ActorDisplay string Human-readable name of the actor that produced the event.
Categories IList<string> Activity categories associated with the event.
Changes IList<Object> Field-level changes recorded for the event.
Targets IList<Object> Entities the event applies to (e.g. shipping label, package).
CorrelationId string Correlation identifier linking this event to related activity.
DurationMs Int64? ... Elapsed time of the activity event in milliseconds.
Sample accept: application/hal+json
{
  "orderId": 1,
  "queryId": "str",
  "status": "str",
  "retryAfterSeconds": 1,
  "errorMessage": "str",
  "_embedded": {
    "item": [
      {
        "eventId": "str",
        "eventName": "str",
        "category": "str",
        "occurredAt": "str",
        "status": "str",
        "summary": "str",
        "payloadRef": "str",
        "requestId": "str",
        "metadata": {
          "str": {}
        },
        "source": "str",
        "actorType": "str",
        "actorId": "str",
        "actorDisplay": "str",
        "categories": [
          "str"
        ],
        "properties": {
          "str": {}
        },
        "changes": [
          {}
        ],
        "targets": [
          {}
        ],
        "error": {
          "str": {}
        },
        "correlationId": "str",
        "durationMs": 1
      }
    ]
  }
}

This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@extensiv.com with any questions about this documentation.