Skip to content

Template id is integer and should be a long or string #28

@moisoiu

Description

@moisoiu

Hello,

Description:

  • Template Id that are generated on the InfoBip platform for Templates have very long id (ex: 200000000035654)

Version: 2.1.2
Environment : Production
Reproducing : Any Id that is generated by InfoBip platform that is longer than the int

Suggest a Fix:

Can we change in the SendEmailApi.cs from

int? templateid = default(int?)

to

string? templateid = default(string?)

or

long? templateid = default(long?)

The issue seems to be fixed on Java https://github.com/infobip/infobip-api-java-client/blob/master/src/main/java/com/infobip/api/EmailApi.java

But the issue is not fixed on other libraries (Ex: php -> https://github.com/infobip/infobip-api-php-client/blob/master/Infobip/Api/EmailApi.php)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions