Order List

Get the list of the last ten orders.

URL : /api/v1/xorder

Method : GET

Auth required : Key-Value pairs on Header

Example : https://demo.calybra.com/api/v1/xorder

Success Response

Code : 200 OK

Content examples

[
    {
        "OrderId": "fd35443e-ad79-46da-8227-8c939eeee91f",
        "Number": 2,
        "Date": "2022-10-06T00:00:00",
        "CompanyId": "c7068409-0619-4567-a8c1-054df77b3db2",
        "CompanyCode": "501.00006",
        "Notes": null,
        "InternalNotes": null,
        "RequestedDeliveryDate": "2022-10-06T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Received"
    },
    {
        "OrderId": "ae3b9e84-a376-4207-9cab-fa7a8ee9fd87",
        "Number": 1,
        "Date": "2022-10-05T00:00:00",
        "CompanyId": "c7068409-0619-4567-a8c1-054df77b3db2",
        "CompanyCode": "501.00006",
        "Notes": null,
        "InternalNotes": null,
        "RequestedDeliveryDate": "2022-10-05T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Received"
    },
    {
        "OrderId": "f1f9fc9c-9442-4f65-b1d1-3f2709bd89b8",
        "Number": 253,
        "Date": "2022-05-11T00:00:00",
        "CompanyId": "65ddd6c2-4c6f-42c2-aa84-6fa9adb714d2",
        "CompanyCode": "501.00008",
        "Notes": "",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-11T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    },
    {
        "OrderId": "aa6375f7-72c6-42cb-8e8f-db58ee8f4e3c",
        "Number": 249,
        "Date": "2022-05-10T00:00:00",
        "CompanyId": "7c301186-2e96-4b08-a9c2-bae4d2b7f17a",
        "CompanyCode": "501.00885",
        "Notes": "",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-10T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    },
    {
        "OrderId": "db3d0092-f39c-4b11-bca4-6075b6347795",
        "Number": 250,
        "Date": "2022-05-10T00:00:00",
        "CompanyId": "ff66e7c4-5940-4b0f-9878-7913083fd7bc",
        "CompanyCode": "501.00886",
        "Notes": "",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-10T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    },
    {
        "OrderId": "e489a8d8-bd21-44ee-a12a-375d598b2352",
        "Number": 251,
        "Date": "2022-05-10T00:00:00",
        "CompanyId": "adae4fe3-20c0-4e39-99a6-77484156e3f3",
        "CompanyCode": "501.00884",
        "Notes": "CRISTIAN",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-10T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    },
    {
        "OrderId": "57a51dd9-bc4b-4e3e-b80b-5734199e6a55",
        "Number": 252,
        "Date": "2022-05-10T00:00:00",
        "CompanyId": "8b2abe37-1292-428c-9ade-8ce6d0902b6e",
        "CompanyCode": "501.00887",
        "Notes": "",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-10T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    },
    {
        "OrderId": "c5ba44a5-1ace-44dc-abda-3b76b5fa2cc3",
        "Number": 246,
        "Date": "2022-05-09T00:00:00",
        "CompanyId": "63fd86e5-571f-489d-8037-ae63f75151b7",
        "CompanyCode": "501.00015",
        "Notes": "",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-09T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    },
    {
        "OrderId": "9a5c51cc-24d9-41a6-890a-9d78dd9f7eda",
        "Number": 244,
        "Date": "2022-05-07T00:00:00",
        "CompanyId": "c12a4081-ec4e-40ed-a599-65e42830abff",
        "CompanyCode": "501.00010",
        "Notes": "",
        "InternalNotes": "",
        "RequestedDeliveryDate": "2022-05-07T00:00:00",
        "Rows": [],
        "OrderTypeId": "e73c4229-dc31-424f-ba12-4a79aebebab6",
        "OrderTypeDescription": "Ordine Mexal",
        "Messages": null,
        "OrderState": "Confirmed"
    }
]

Notes

  • Rows are NOT returned ! Use /api/v1/xorder/{OrderId} to retrieve all the details

Copyright © 2017-2018. All right reserved