Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...


Tip

Available from CRM.COM R10.0.0


Excerpt

This method returns information related with a reward award expiration transaction. A single reward award expiration transaction is returned by each call

Tip
Available from CRM.COM R10.0.0

 

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

reward_award_expiration_transaction_identifier

(semi-optional)

String

The identifier of the reward award expiration transaction that should be returned as a result. The allowed reward award expiration transaction identifier fields are the following:

Include Page
V4:award_reward_transaction_identifier
V4:award_reward_transaction_identifier

Tip

For releases prior to CRM.COM R10.1.0 this information is mandatory


wallet_transaction_identifier

(semi-optional)

Wallet Transaction identifier

The identifier of the wallet transaction related with the reward award expiration transaction that should be returned as a result. The allowed wallet transaction identifier fields are the following:

Include Page
V4:wallet_transaction_identifier
V4:wallet_transaction_identifier

Tip

Available from CRM.COM R10.1.0


fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

...

Expand
titleExample 1

HTTP Method: GET

Request:

 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "log_information": {
      "updated_date": "2015-12-17T14:32:16",
      "created_date": "2015-12-17T14:22:31",
      "created_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "updated_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "created_by_user": {
        "person_name": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1",
        "email": "sakkascy1986@hotmail.com"
      },
      "updated_by_user": {
        "person_name": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1",
        "email": "sakkascy1986@hotmail.com"
      }
    },
    "award_rewards_transactions_set": [
      {
        "lifeCycleState": "POSTED",
        "amount": 165,
        "rewards_participant": {
          "accounts_receivable": {
            "account_owner": {
              "last_name": "Kalvaris",
              "middle_name": null,
              "life_cycle_state": "FINANCIAL",
              "company_profile": null,
              "title": null,
              "first_name": "Myrias",
              "type": "PERSON",
              "id": "145037EE049032288366448D8FC1919B",
              "name": null,
              "company_name": null,
              "demographics": {
                "gender": null,
                "passport_issued_by_country": null,
                "social_security_number": null,
                "passport_number": null,
                "industry_sector": null,
                "name_day": {
                  "month": null,
                  "day": null
                },
                "date_of_birth": {
                  "month": null,
                  "day": null,
                  "year": null
                },
                "id_number": "123456789",
                "industry": null,
                "id_issued_by_country": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000401",
            "id": "068B2E25D66A8D1572B8E1C039D501C8",
            "name": "Myria Kalvari Rewards"
          },
          "number": "20",
          "id": "1A400E0ED18344882D821125CB6FCFBD"
        },
        "number": "294",
        "id": "556E78DFEC0645A6B599B87F11633708"
      }
    ],
    "life_cycle_state": "CANCELLED",
    "wallet_transactions_set": [
      {
        "notes": null,
        "life_cycle_state": "VOIDED",
        "extra_added_amount": null,
        "amount": 165,
        "number": "WT001233",
        "wallet": {
          "life_cycle_state": "EFFECTIVE",
          "accounts_receivable": {
            "account_owner": {
              "last_name": "Kalvaris",
              "middle_name": null,
              "life_cycle_state": "FINANCIAL",
              "company_profile": null,
              "title": null,
              "first_name": "Myrias",
              "type": "PERSON",
              "id": "145037EE049032288366448D8FC1919B",
              "name": null,
              "company_name": null,
              "demographics": {
                "gender": null,
                "passport_issued_by_country": null,
                "social_security_number": null,
                "passport_number": null,
                "industry_sector": null,
                "name_day": {
                  "month": null,
                  "day": null
                },
                "date_of_birth": {
                  "month": null,
                  "day": null,
                  "year": null
                },
                "id_number": "123456789",
                "industry": null,
                "id_issued_by_country": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000401",
            "id": "068B2E25D66A8D1572B8E1C039D501C8",
            "name": "Myria Kalvari Rewards"
          },
          "number": "WLT000112",
          "id": "31C7907B0190A65ECBA99CDED647C1C1"
        },
        "type": {
          "classification": "DEBIT",
          "id": "EEEA0CE0295643E3B7267123F1FCF38E",
          "name": "New Debit Type",
          "description": null,
          "alternative_code": "NDT"
        },
        "id": "2FE990C23954425FBFE3A536EED6000B"
      },
      {
        "notes": null,
        "life_cycle_state": "EFFECTIVE",
        "extra_added_amount": null,
        "amount": 165,
        "number": "WT001234",
        "wallet": {
          "life_cycle_state": "EFFECTIVE",
          "accounts_receivable": {
            "account_owner": {
              "last_name": "Kalvaris",
              "middle_name": null,
              "life_cycle_state": "FINANCIAL",
              "company_profile": null,
              "title": null,
              "first_name": "Myrias",
              "type": "PERSON",
              "id": "145037EE049032288366448D8FC1919B",
              "name": null,
              "company_name": null,
              "demographics": {
                "gender": null,
                "passport_issued_by_country": null,
                "social_security_number": null,
                "passport_number": null,
                "industry_sector": null,
                "name_day": {
                  "month": null,
                  "day": null
                },
                "date_of_birth": {
                  "month": null,
                  "day": null,
                  "year": null
                },
                "id_number": "123456789",
                "industry": null,
                "id_issued_by_country": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000401",
            "id": "068B2E25D66A8D1572B8E1C039D501C8",
            "name": "Myria Kalvari Rewards"
          },
          "number": "WLT000112",
          "id": "31C7907B0190A65ECBA99CDED647C1C1"
        },
        "type": {
          "classification": "VOID",
          "id": "3BD80712CEED4605BCEABA4C4222D128",
          "name": "New Void Type",
          "description": null,
          "alternative_code": "NVT"
        },
        "id": "5245A7CDE8794466A8848943C30B4119"
      }
    ],
    "rewards_participant": {
      "accounts_receivable": {
        "account_owner": {
          "last_name": "Kalvaris",
          "middle_name": null,
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": null,
          "first_name": "Myrias",
          "type": "PERSON",
          "id": "145037EE049032288366448D8FC1919B",
          "name": "Kalvaris Myrias",
          "company_name": null,
          "demographics": {
            "gender": null,
            "passport_issued_by_country": null,
            "social_security_number": null,
            "passport_number": null,
            "industry_sector": null,
            "country_of_residence": {
              "three_character_code": "CYP",
              "two_character_code": "CY",
              "id": "181",
              "name": "CYPRUS",
              "alternative_code": null
            },
            "name_day": {
              "month": null,
              "day": null
            },
            "date_of_birth": {
              "month": null,
              "day": null,
              "year": null
            },
            "id_number": "123456789",
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR000401",
        "id": "068B2E25D66A8D1572B8E1C039D501C8",
        "name": "Myria Kalvari Rewards"
      },
      "number": "20",
      "id": "1A400E0ED18344882D821125CB6FCFBD"
    },
    "amount": 165,
    "number": "15",
    "id": "2409A3D13D104C88A5D157F43AB5B2B4"
  }
}


...

Expand
titleExample 2

HTTP Method: GET

Request: 


Response:

Code Block
language
languagejavascript
themeConfluence
javascriptlinenumberstrue
 {
  "data": {
    "number": "1",
    "amount": 5.6,
    "currency_rate_period": {
      "from_date": "0EEE31A81A064D97A9873F5676D2F4D9",
      "to_date": 0.25,
      "rate": 0.25,
      "inverse_rate": 4,
      "currency": {
        "suffix_symbol": null,
        "prefix_symbol": null,
        "decimal_part_name": null,
        "code": "FJD",
        "integer_part_name": null,
        "id": "93"
      },
      "id": "0EEE31A81A064D97A9873F5676D2F4D9"
    },
    "id": "F50E0C6DE5B94C78AF3B1CEBB9F2F0F9",
    "life_cycle_state": "POSTED",
    "wallet_transactions_set": [
      {
        "number": "1687",
        "amount": 0.0000000000005897504706808832,
        "notes": null,
        "wallet": {
          "number": "W0000000231",
          "accounts_receivable": {
            "number": "ACR0000000265",
            "name": "ACR0000000265 Maria Roberts",
            "id": "CA846B39264747288785DABD4734D03D",
            "life_cycle_state": "ACTIVE",
            "account_owner": {
              "company_profile": null,
              "company_name": null,
              "name": null,
              "last_name": "Roberts",
              "id": "A6702F8267824E77AE3E09D2AC8B8649",
              "life_cycle_state": "FINANCIAL",
              "middle_name": "Emilia",
              "title": "Sir",
              "type": "PERSON",
              "first_name": "Maria",
              "demographics": {
                "name_day": {
                  "month": 8,
                  "day": 18
                },
                "id_number": "MER000123",
                "gender": "FEMALE",
                "date_of_birth": {
                  "month": 5,
                  "year": 1981,
                  "day": 12
                },
                "passport_number": "MER000123",
                "social_security_number": "MER000123"
              }
            }
          },
          "id": "FBAC7E8FAA23406D8BC6411E961AE1D8",
          "life_cycle_state": "EFFECTIVE"
        },
        "log_information": {
          "created_by_unit": {
            "alternative_code": "adminunit",
            "name": "Admin Unit",
            "description": "admin unit",
            "id": "1"
          },
          "updated_by_unit": {
            "alternative_code": "adminunit",
            "name": "Admin Unit",
            "description": "admin unit",
            "id": "1"
          },
          "created_date": "2016-07-19T06:40:13",
          "updated_date": "2016-07-19T06:40:13",
          "updated_by_user": {
            "person_name": "MPAdministrator",
            "id": "1",
            "username": "MPAdministrator"
          },
          "created_by_user": {
            "person_name": "MPAdministrator",
            "id": "1",
            "username": "MPAdministrator"
          }
        },
        "id": "C7787AB3C9F8452D9AAC892711336178",
        "life_cycle_state": "EFFECTIVE",
        "extra_added_amount": null,
        "type": {
          "alternative_code": "WD",
          "name": "Wallet Debit",
          "description": "Wallet Debit",
          "id": "486825E44D9452107C8EE6AAC6C57884",
          "classification": "DEBIT"
        }
      }
    ],
    "rewards_participant": {
      "number": "RP0000000050",
      "accounts_receivable": {
        "number": "ACR0000000265",
        "name": "ACR0000000265 Maria Roberts",
        "id": "CA846B39264747288785DABD4734D03D",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": "Maria Roberts",
          "last_name": "Roberts",
          "id": "A6702F8267824E77AE3E09D2AC8B8649",
          "life_cycle_state": "FINANCIAL",
          "middle_name": "Emilia",
          "title": "Sir",
          "type": "PERSON",
          "first_name": "Maria",
          "demographics": {
            "name_day": {
              "month": 8,
              "day": 18
            },
            "id_number": "MER000123",
            "gender": "FEMALE",
            "country_of_residence": {
              "alternative_code": "CYP",
              "three_character_code": "CYP",
              "name": "CYPRUS",
              "id": "181",
              "two_character_code": "CY"
            },
            "date_of_birth": {
              "month": 5,
              "year": 1981,
              "day": 12
            },
            "industry_sector": {
              "alternative_code": "FIN",
              "name": "FINANCIALS",
              "id": "61FD1DE51A932732C059FE9CFB6B38B3"
            },
            "passport_number": "MER000123",
            "industry": {
              "code": "M",
              "name": "Marketing",
              "id": "4E943D0C064965D970A294D32A05201C"
            },
            "social_security_number": "MER000123",
            "id_issued_by_country": {
              "alternative_code": "CYP",
              "three_character_code": "CYP",
              "name": "CYPRUS",
              "id": "181",
              "two_character_code": "CY"
            },
            "passport_issued_by_country": {
              "alternative_code": "GRC",
              "three_character_code": "GRE",
              "name": "GREECE",
              "id": "209",
              "two_character_code": "GR"
            }
          }
        }
      },
      "id": "75FBD14F08AC4E88AE7756CFA93796D1"
    }
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}


...

Expand
titleExample 3

HTTP Method: GET

Request:

Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
 {
  "data": {
    "number": "2",
    "amount": 5,
    "id": "A4A593A90D12497D9D215EBA5CDAAB95",
    "wallet_transactions_set": [
      {
        "number": "1929",
        "amount": 5,
        "notes": null,
        "wallet": {
          "number": "W0000000132",
          "accounts_receivable": {
            "number": "ACR0000000133",
            "name": "ACR0000000133 Polina Kestora",
            "id": "50F0F3F9CBEF4B88A5AD05341E32502A",
            "life_cycle_state": "ACTIVE",
            "account_owner": {
              "company_profile": null,
              "company_name": null,
              "name": null,
              "last_name": "Kestora",
              "id": "F038161F36C845B98CEE7361A8C92157",
              "life_cycle_state": "FINANCIAL",
              "middle_name": null,
              "title": null,
              "type": "PERSON",
              "first_name": "Polina",
              "demographics": {
                "name_day": {
                  "month": 7,
                  "day": 21
                },
                "id_number": "112233",
                "gender": "FEMALE",
                "date_of_birth": {
                  "month": 3,
                  "year": 1988,
                  "day": 4
                },
                "industry_sector": null,
                "passport_number": null,
                "industry": null,
                "social_security_number": null,
                "id_issued_by_country": null,
                "passport_issued_by_country": null
              }
            }
          },
          "id": "AF6492F525964C50A37BEF477EABFA0A",
          "life_cycle_state": "EFFECTIVE"
        },
        "log_information": {
          "created_by_unit": {
            "alternative_code": "adminunit",
            "group_name": "Main Group",
            "community_name": "Community",
            "name": "Admin Unit",
            "description": "admin unit",
            "id": "1"
          },
          "updated_by_unit": {
            "alternative_code": "adminunit",
            "group_name": "Main Group",
            "community_name": "Community",
            "name": "Admin Unit",
            "description": "admin unit",
            "id": "1"
          },
          "created_date": "2016-08-08T08:30:29",
          "updated_date": "2016-08-08T08:30:29",
          "updated_by_user": {
            "person_name": "MPAdministrator",
            "id": "1",
            "email": "dev@crm.com",
            "username": "MPAdministrator"
          },
          "created_by_user": {
            "person_name": "MPAdministrator",
            "id": "1",
            "email": "dev@crm.com",
            "username": "MPAdministrator"
          }
        },
        "id": "5B46C75C01B64D28AA6514D8034277EB",
        "life_cycle_state": "EFFECTIVE",
        "extra_added_amount": null,
        "type": {
          "alternative_code": "WD",
          "name": "Wallet Debit",
          "description": "Wallet Debit",
          "id": "486825E44D9452107C8EE6AAC6C57884",
          "classification": "DEBIT"
        }
      }
    ],
    "rewards_participant": {
      "number": "RP0000000013",
      "accounts_receivable": {
        "number": "ACR0000000133",
        "name": "ACR0000000133 Polina Kestora",
        "id": "50F0F3F9CBEF4B88A5AD05341E32502A",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": "Polina Kestora",
          "last_name": "Kestora",
          "id": "F038161F36C845B98CEE7361A8C92157",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "PERSON",
          "first_name": "Polina",
          "demographics": {
            "name_day": {
              "month": 7,
              "day": 21
            },
            "id_number": "112233",
            "gender": "FEMALE",
            "country_of_residence": {
              "alternative_code": "IRN",
              "three_character_code": null,
              "name": "IRAN (ISLAMIC REPUBLIC OF)",
              "id": "231",
              "two_character_code": null
            },
            "date_of_birth": {
              "month": 3,
              "year": 1988,
              "day": 4
            },
            "industry_sector": null,
            "passport_number": null,
            "industry": null,
            "social_security_number": null,
            "id_issued_by_country": null,
            "passport_issued_by_country": null
          }
        }
      },
      "id": "BEE273B870FE4CF187829CA7A783D165"
    }
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}


...