Document List

Get the list of the last ten documents.

URL : /api/v1/xdocument

Method : GET

Auth required : Key-Value pairs on Header

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

Success Response

Code : 200 OK

Content examples

[
    {
        "DocumentId": "eac9538d-042c-40d5-8340-b8e85d056807",
        "Number": "2",
        "Date": "2023-05-11T00:00:00",
        "FiscalNumber": 2,
        "FiscalDate": "2023-05-11T00:00:00",
        "CompanyId": "80b20c4b-802a-4336-9da1-2b294cd66ff8",
        "CompanyCode": null,
        "CompanyName": "Customer 2 ltd",
        "Notes": null,
        "InternalNotes": null,
        "DocumentTypeId": "9e55170b-2cc1-4095-91dc-6e51ae30f195",
        "DocumentTypeDescription": "Delivery Document"
    },
    {
        "DocumentId": "50265599-dffb-42f0-9ac0-840987276198",
        "Number": "3",
        "Date": "2023-05-11T00:00:00",
        "FiscalNumber": 3,
        "FiscalDate": "2023-05-11T00:00:00",
        "CompanyId": "58491ab3-de33-4185-8516-aaecc6a86828",
        "CompanyCode": null,
        "CompanyName": "Mario Rossi (privato)",
        "Notes": null,
        "InternalNotes": null,
        "DocumentTypeId": "9e55170b-2cc1-4095-91dc-6e51ae30f195",
        "DocumentTypeDescription": "Delivery Document"
    },
    {
        "DocumentId": "81ecd06e-2031-4ef9-ab6e-50e89709cdcc",
        "Number": null,
        "Date": "2023-04-19T00:00:00",
        "FiscalNumber": null,
        "FiscalDate": null,
        "CompanyId": "e8b5a31c-6e37-4453-9418-6bacdf06aba8",
        "CompanyCode": "0",
        "CompanyName": "NEW CO. ltd",
        "Notes": null,
        "InternalNotes": null,
        "DocumentTypeId": "d6928644-6cbc-4095-8422-aeaa4964ceee",
        "DocumentTypeDescription": "Purchase Document"
    },
    {
        "DocumentId": "35a12853-3f21-446c-af30-aeaa3171652e",
        "Number": null,
        "Date": "2023-04-19T00:00:00",
        "FiscalNumber": 1,
        "FiscalDate": "2023-05-11T00:00:00",
        "CompanyId": "c7a1092a-f106-4439-93b7-7c370d6a05bd",
        "CompanyCode": null,
        "CompanyName": "Customer 1 ltd",
        "Notes": null,
        "InternalNotes": null,
        "DocumentTypeId": "9e55170b-2cc1-4095-91dc-6e51ae30f195",
        "DocumentTypeDescription": "Delivery Document"
    }
]

Notes

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

Copyright © 2017-2018. All right reserved