aliemrahpekesen/4GloryApi

create endpoints

Closed this issue · 3 comments

endpoint: checkMiles
entities:

  • checkMilesRequest:
    cardInfo: Card
    partnerCode: String
    Amount: Long
    Currency: String
    partnerTransactionID: Long
  • checkMilesResponse:
    status: String
    messageCode: integer
    message: String
    partnerTransactionID: Long
    transactionID: Long

endpoint: burnMiles
entities:

  • burnMilesRequest
    transactionID: Long
    partnerTransactionID: Long

  • burnMilesResponse
    status: String
    messageCode: integer
    message: String
    transactionID: Long
    partnerTransactionID: Long

also add these:

  • endpoint:

calculateMilesAndCashConversion

entities:

  • calculateMilesAndCashConversionRequest:

cashAmount Double
MilesAmount Double
PartnerCompanyId integer
AirlineCompanyId integer

only burn miles left

I did it all.