POST api/MobileApp/TopUpCustomerBalance

Request Information

URI Parameters

None.

Body Parameters

RevenueCatWebHookDto
NameDescriptionTypeAdditional information
Event

RevenueCatEventDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Event": {
    "app_id": "sample string 1",
    "app_user_id": "sample string 2",
    "product_id": "sample string 3",
    "transaction_id": "sample string 4",
    "store_transaction_id": "sample string 5",
    "environment": "sample string 6",
    "currency": "sample string 7",
    "price": "sample string 8",
    "type": "sample string 9",
    "store": "sample string 10",
    "country_code": "sample string 11",
    "sample string 1": null,
    "sample string 2": null
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RevenueCatWebHookDto'.

Response Information

Resource Description

MobileAppTopUpCustomerBalanceResponse
NameDescriptionTypeAdditional information
Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<MobileAppTopUpCustomerBalanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Business.Core.DataContracts.MobileApp">
  <_x003C_ErrorMessage_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">sample string 1</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Result_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">Success</_x003C_Result_x003E_k__BackingField>
</MobileAppTopUpCustomerBalanceResponse>