POST api/UserTransactions/DataEnrichment

Request Information

URI Parameters

None.

Body Parameters

BulkFixMerchantResponse
NameDescriptionTypeAdditional information
id

string

None.

event

string

None.

object

MerchantObject

None.

created

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "event": "sample string 2",
  "object": {
    "transaction_id": "sample string 1",
    "visual_enrichments": {
      "merchant_clean_name": "sample string 1",
      "merchant_logo_link": "sample string 2",
      "merchant_category": "sample string 3",
      "google_places_id": "sample string 4",
      "merchant_website": "sample string 5",
      "updated": "2024-10-02T04:16:59.1083301+00:00",
      "brand_id": "sample string 6"
    },
    "merchant_location": {
      "enabled": true
    },
    "subscriptions": {
      "enabled": true,
      "is_recurring": true
    },
    "co2_footprint": {
      "enabled": true
    },
    "updated": "2024-10-02T04:16:59.1083301+00:00",
    "fraud": {
      "enabled": true
    }
  },
  "created": "sample string 3"
}

application/xml, text/xml

Sample:
<BulkFixMerchantResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <created>sample string 3</created>
  <event>sample string 2</event>
  <id>sample string 1</id>
  <object>
    <co2_footprint>
      <enabled>true</enabled>
    </co2_footprint>
    <fraud>
      <enabled>true</enabled>
    </fraud>
    <merchant_location>
      <enabled>true</enabled>
    </merchant_location>
    <subscriptions>
      <enabled>true</enabled>
      <is_recurring>true</is_recurring>
    </subscriptions>
    <transaction_id>sample string 1</transaction_id>
    <updated>2024-10-02T04:16:59.1083301+00:00</updated>
    <visual_enrichments>
      <brand_id>sample string 6</brand_id>
      <google_places_id>sample string 4</google_places_id>
      <merchant_category>sample string 3</merchant_category>
      <merchant_clean_name>sample string 1</merchant_clean_name>
      <merchant_logo_link>sample string 2</merchant_logo_link>
      <merchant_website>sample string 5</merchant_website>
      <updated>2024-10-02T04:16:59.1083301+00:00</updated>
    </visual_enrichments>
  </object>
</BulkFixMerchantResponse>

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 'BulkFixMerchantResponse'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>