MG+ Free Games Plus Guide
Breadcrumbs

Retrieve Information Regarding Offers Assigned to a Player

GET /agents/{agentCode}/players/{playerId}/freeGameOffers

400 Bad Request

Missing Player ID

{
  "code": "WrongParameter",
  "message": "The field \"PlayerId\" is required!"
}


Player ID: Max 50 Alphanumeric Characters

{
  "code": "WrongParameter",
  "message": "The field \"PlayerId\" must be a string with a maximum length of 50. Using only numbers and english alphabets!"
}


Missing AgentCode

{
  "code": "WrongParameter",
  "message": "The field \"AgentCode\" is required!"
}


AgentCode: Max 50 Alphanumeric Characters

{
  "code": "WrongParameter",
  "message": "The field \"AgentCode\" must be a string with a maximum length of 50. Using only numbers and english alphabets!"
}


OfferGuidStartsWith Must Be Valid GUID or Partial GUID

{
  "code": "WrongParameter",
  "message": "The field \"OfferGuidStartsWith\" must be a field must be a valid GUID or partial GUID.!"
}


Invalid Page Value

{
  "code": "WrongParameter",
  "message": "Invalid 'Page' value."
}


Invalid PerPage Value

{
  "code": "WrongParameter",
  "message": "Invalid 'PerPage' value."
}


To Date Must Exceed From Date

{
  "code": "WrongParameter",
  "message": "OfferAvailableToDateUTC should be greater than OfferAvailableFromDateUTC!"
}

To Date: Minimum 1 Day After From Date

{
  "code": "WrongParameter",
  "message": "OfferAvailableToDateUTC should be at least 1 day greater than OfferAvailableFromDateUTC!"
}


To Date: Max 1 Year After From Date

{
  "code": "WrongParameter",
  "message": "OfferAvailableToDateUTC should be at most 1 year greater than OfferAvailableFromDateUTC!"
}


Invalid AgentCode

{
  "code": "WrongParameter",
  "message": "AgentCode is not matched"
}