365 business development logo

SetApiVersion Method

Set the API Service Version to use in case of specific version used.

Syntax

    SetApiVersion(serviceName: Code[50]; versionNo: Text[10])

Parameters

serviceName

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

versionNo

Type: Text[10]
365 business API service version no. to set as default.

Return Value

None

Remarks

Returned format is MAJOR.MINOR.BUILD.REVISION.

See Also

GetApiVersion()
GetApiVersion(Code)
GetMajorApiVersion()
GetMajorApiVersion(Code)
GetMinorApiVersion()
GetMinorApiVersion(Code)
GetBuildApiVersion()
GetBuildApiVersion(Code)
GetRevisionApiVersion()
GetRevisionApiVersion(Code)