Version
  • 03 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Version

  • Dark
    Light
  • PDF

Article summary

Version

/v1/version

List the version details of the API.

Notice that all API calls are respecting the Security setting, all exept this call. This is done in order to allow for a mechanisim which can be used to check connection and the availability to the API.

Example for calling:

http://server/v1/version - retrieves the version details of the API

Allowed Methods:

[GET]
API Controller: version

Description:

List relevant version details of the API and connected database.

Request Fields:


There are no request fields for this API.

Response Fields:

NameTypeDescriptionNotes
ApiNamestringName of the API
ApiDescriptionstringDescription of the API
ApiBuildDatestringDate when the API version was build
ApiCompanystringCompany owning the solution
ApiCopyrightstringCopyright details
ApiDllVersionversion[]Version details
ApiFileVersionversion[]Version details
DatabaseVersionversion[]Version details
DatabaseLevelinteger


Version Details:

NameTypeDescriptionNote
MajorintegerMajor version number
MinorintegerMinor version number
BuildintegerBuild version number
Revisioninteger
MajorRevisioninteger
MinorRevisioninteger


Sample JSON Response
[
    {
        "ApiName": "Safran.Project.Integration.API",
        "ApiDescription": "Safran Project Integration API",
        "ApiCopyright": "Copyright © 2022",
        "ApiCompany": "Safran Software Solutions AS",
        "ApiBuildDate": "2022-sep-01",
        "ApiDllVersion": {
            "Major": 7,
            "Minor": 2,
            "Build": 0,
            "Revision": 9,
            "MajorRevision": 0,
            "MinorRevision": 9
        },
        "ApiFileVersion": {
            "Major": 7,
            "Minor": 2,
            "Build": 0,
            "Revision": 9,
            "MajorRevision": 0,
            "MinorRevision": 9
        },
        "DatabaseVersion": {
            "Major": 21,
            "Minor": 1,
            "Build": 10,
            "Revision": 0,
            "MajorRevision": 0,
            "MinorRevision": 0
        },
        "DatabaseLevel": 103
    }
]


Was this article helpful?

What's Next