GetMajorApiVersion Method

Returns the major version no. of a specific service API Version.

Syntax

    [Integer := ] GetMajorApiVersion(serviceName: Code[50])

Parameters

serviceName

Type: Code[50]
Name of the API service (e.g. PDF).

Return Value

Text

Type: Integer
The major version no. of the 365 business API metadata.

See Also

GetApiVersion()
GetApiVersion(Code)
GetMajorApiVersion()
GetMinorApiVersion()
GetMinorApiVersion(Code)
GetBuildApiVersion()
GetBuildApiVersion(Code)
GetRevisionApiVersion()
GetRevisionApiVersion(Code)
SetApiVersion(Code, Text)