Service URL: GET /orders/headers
Response Body:
ListOrderHeaderResponse
list – CustomerOrderHeaderListElementList
Remarks
Example Request
http: //localhost:8080/WebRestApi/rest/orders/headers |
Example Response
{
"list": [
{
"status": "SUBMITTED",
"createdDate": "2018-11-29T10:48:37.000+00:00",
"customerFirstName": "Mark",
"customerPostcode": "SG141PB",
"orderValue": 5995,
"balanceOwed": -5995,
"totalsLastCalculated": 1543488561000,
"referenceId": "19",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerTitle": "Mr",
"customerSurname": "Harrison",
"customerOrderHeaderKey": {
"id": "19"
},
"transactionId": "00010001000011811291048036",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "IN_PROGRESS",
"createdDate": "2018-11-26T09:34:52.000+00:00",
"customerFirstName": "James Hanson",
"customerPostcode": "SG12 9TE",
"orderValue": 3000,
"balanceOwed": -1000,
"totalsLastCalculated": 1543224949000,
"referenceId": "75YA7IQ7",
"currencyKey": {},
"customerNumber": "1",
"customerTitle": "MR",
"customerSurname": "Hanson",
"customerOrderHeaderKey": {
"id": "75YA7IQ7LVCDJJOMTBT2SIS2MI"
},
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "SUBMITTED",
"createdDate": "2019-01-02T16:01:31.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 2798,
"balanceOwed": -2798,
"totalsLastCalculated": 1546444921000,
"referenceId": "43",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "43"
},
"transactionId": "00010002000151901021559185",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "SUBMITTED",
"createdDate": "2019-01-03T12:36:25.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 5596,
"balanceOwed": -5596,
"totalsLastCalculated": 1546519434000,
"referenceId": "58",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "58"
},
"transactionId": "00010002000211901021705174",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "COMPLETED",
"createdDate": "2018-11-20T17:49:25.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 10255,
"balanceOwed": 0,
"totalsLastCalculated": 1542899904000,
"referenceId": "15",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "15"
},
"transactionId": "00010002000111811201741397",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "SUBMITTED",
"createdDate": "2019-01-07T11:31:47.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 5995,
"balanceOwed": -5995,
"totalsLastCalculated": 1546860737000,
"referenceId": "64",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "64"
},
"transactionId": "00010002000231901071018151",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "IN_PROGRESS",
"createdDate": "2018-11-26T09:44:51.000+00:00",
"customerFirstName": "James Hanson",
"customerPostcode": "SG12 9TE",
"orderValue": 3000,
"balanceOwed": -1000,
"totalsLastCalculated": 1543225534000,
"referenceId": "3WQG6LAV",
"currencyKey": {},
"customerNumber": "1",
"customerTitle": "MR",
"customerSurname": "Hanson",
"customerOrderHeaderKey": {
"id": "3WQG6LAV6FHDTIXNP4WPWE2TQE"
},
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "SUBMITTED",
"createdDate": "2019-01-07T12:33:29.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 5995,
"balanceOwed": -5995,
"totalsLastCalculated": 1546864435000,
"referenceId": "66",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "66"
},
"transactionId": "00010002000241901071153006",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "COMPLETED",
"createdDate": "2019-01-14T10:45:51.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 5995,
"balanceOwed": 0,
"totalsLastCalculated": 1547637096000,
"referenceId": "92",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "92"
},
"transactionId": "00010002000431901141040399",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
},
{
"status": "COMPLETED",
"createdDate": "2019-01-02T16:05:38.000+00:00",
"customerPostcode": "SG141PB",
"orderValue": 2798,
"balanceOwed": 0,
"totalsLastCalculated": 1546519434000,
"referenceId": "47",
"currencyKey": {
"id": "GBP"
},
"customerNumber": "1",
"customerOrderHeaderKey": {
"id": "47"
},
"transactionId": "00010002000151901021604486",
"voided": false,
"entityQName": "{http://www.enactor.com/orders}customerOrderHeaderListElement"
}
]
}