GET orders/{ordernumber}/logs
Get the log records for a single order
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ordernumber | The order number you wish you retrieve log records for | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Get the log records for a single order
Collection of OrderLogModelName | Description | Type | Additional information |
---|---|---|---|
DateUpdated | When the log entry was recorded | date | None. |
UserName | The user the log record was generated for | string | None. |
ChangeType | The name of the entity that changed | string | None. |
ChangedFrom | The entity's original value | string | None. |
ChangedTo | The updated value | string | None. |
Response Formats
application/json, text/json
Sample:
[ { "DateUpdated": "2024-11-21T09:57:07.7518597+00:00", "UserName": "sample string 1", "ChangeType": "sample string 2", "ChangedFrom": "sample string 3", "ChangedTo": "sample string 4" }, { "DateUpdated": "2024-11-21T09:57:07.7518597+00:00", "UserName": "sample string 1", "ChangeType": "sample string 2", "ChangedFrom": "sample string 3", "ChangedTo": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfOrderLogModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OrderLogModel> <DateUpdated>2024-11-21T09:57:07.7518597+00:00</DateUpdated> <UserName>sample string 1</UserName> <ChangeType>sample string 2</ChangeType> <ChangedFrom>sample string 3</ChangedFrom> <ChangedTo>sample string 4</ChangedTo> </OrderLogModel> <OrderLogModel> <DateUpdated>2024-11-21T09:57:07.7518597+00:00</DateUpdated> <UserName>sample string 1</UserName> <ChangeType>sample string 2</ChangeType> <ChangedFrom>sample string 3</ChangedFrom> <ChangedTo>sample string 4</ChangedTo> </OrderLogModel> </ArrayOfOrderLogModel>