orders orderparcelactivities (http://api.3plcentral.com/rels/orders/orderparcelactivities)
Resource:
Collection: PAPI parcel activity timeline for an order
C# Rel Const:
Rels.OrderSvc.OrderParcelActivities
URI template:
{id}/parcels/activities{?cursor,pgSiz}
Returns the PAPI parcel activity timeline for the given order.
Returns 429 (Too Many Requests) with a Retry-After hint when rate-limited by the upstream parcel activity service,
503 (Service Unavailable) while the activity store is resuming, or 504 (Gateway Timeout) on upstream timeout.
Success status: 200
Name (* = required) Data Type Description
id * int Order ID
cursor string Pagination cursor
pgSiz int Page size (1-500, default 100)
Paginated PAPI parcel activity timeline for an order.
Type Description
OrderId int Order ID that owns the activity timeline.
WindowStart string ISO-8601 start of the synchronous activity window; older events require an asynchronous query.
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,
  "windowStart": "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.