MG+ Free Games Plus Guide
Breadcrumbs

Retrieve a List of Historical Batch Uploads

GET /agents/{agentCode}/offers/batches

400 Bad Request

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.!"
}


BatchGuidStartsWith Must Be Valid GUID or Partial GUID

{
  "code": "WrongParameter",
  "message": "The field \"BatchGuidStartsWith\" 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."
}


UploadEndDateUTC Must Exceed UploadStartDateUTC

{
  "code": "WrongParameter",
  "message": "UploadEndDateUTC should be greater than UploadStartDateUTC!"
}