Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This method is work in progress and not yet available.

This method gets the history of an order’s status changes and messages.

URL

(GET) /api/orders/{orderId}/traces

PARAMETERS

URL parameters are:

orderId

The numeric order ID. See orders/list to find orders.

integer, Mandatory

RESULTS

The result is a JSON object with these properties:

count

Total events (aka traces).

integer

items

Array of events

object[]

Each element in items is an object with these properties:

date

Event date.

datetime

message

Optional user message, if one was included with the event. Please note that message are sometimes auto-generated by the system and not originating from a client.

string?

status

The order status at the time of the event. See Order status for all options.

integer

statust

Status print title.

string

deadline

The deadline of the order at the time of the event. With this property one can easily identify any changes to the deadline.

datetime?

sender

The originator of the event. This can be the client when the client changes the status or submits a message. Or, it can be a manager who answers a question or amends the deadline.

See below for details.

object[]

The sender has these properties:

pid

The user (person) who triggered the event or trace.

If the event is triggered by the system and not a user then this property is null as well as all other properties below.

integer?

pfname

User first name.

string

plname

User last name.

string

cid

User’s company ID.

integer?

cname

User’s company name.

string

EXAMPLE

An example for typical events in an order:

 

ACCESS RIGHTS

This method is available to any user (clients, internal users) who has access to the given order online.

  • No labels