POST /agents/{agentCode}/offers/{offerGuid}/players{playerId}/freeGameInstances
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 OfferGuid
{
"code": "WrongParameter",
"message": "The field \"OfferGuid\" is required!"
}
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!"
}
Expired Offer
{
"code": "WrongParameter",
"message": "Offer is expired"
}
Offer Closed
{
"code": "WrongParameter",
"message": "Offer is closed"
}
Invalid AgentCode
{
"code": "WrongParameter",
"message": "AgentCode is not matched"
}
InstanceAvailableFromDateUTC: Future Time Required
{
"code": "WrongParameter",
"message": "InstanceAvailableFromDateUTC must be a future time."
}
InstanceAvailableFromDateUTC Constraints: Between Offer Dates
{
"code": "WrongParameter",
"message": "InstanceAvailableFromDateUTC should be equal to greater than OfferAvailableFromDateUTC but less than OfferAvailableToDateUTC"
}