Versions Compared

Key

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

...

...

...

...

...

...


Tip

Available from CRM.COM R10.1.0


Excerpt

This method returns information related with the spend reward transactions that were allocated against a specific award reward transaction. Multiple spend reward transactions are retrieved by each call.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

reward_award_transaction_identifier

(semi-optional)

Award Reward Transaction Identifier

The identifier of the award reward transaction that should be retrieved. The allowed award reward transaction identifier fields are the following:

Include Page
V4:award_reward_transaction_identifier
V4:award_reward_transaction_identifier

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
languagejs
    {
        "data":
        [
            {
                "allocated_amount": 1,
                "allocation_date": "2016-10-12 16:19:06.0",
                "spend_reward_transaction":
                {
                    "date": "2016-10-12T16:18:36",
                    "number": "277",
                    "amount": 1,
                    "unit":
                    {
                        "alternative_code": "A",
                        "name": "Addidas",
                        "description": "Addidas",
                        "id": "F784D4FD19ED4ED99F51AAB113B8C668"
                    },
                    "wallet_transactions_set": null,
                    "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-10-12T16:19:05",
                        "updated_date": "2016-10-12T16:19:05",
                        "updated_by_user":
                        {
                            "person_name": "MPAdministrator",
                            "id": "1",
                            "email": null,
                            "username": "MPAdministrator"
                        },
                        "created_by_user":
                        {
                            "person_name": "MPAdministrator",
                            "id": "1",
                            "email": null,
                            "username": "MPAdministrator"
                        }
                    },
                    "currency_rate_period": null,
                    "id": "D5AA629679F74D3D80D3D0949BBEE770",
                    "life_cycle_state": "POSTED",
                    "spend_request_customer_event":
                    {
                        "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-10-12T16:18:36",
                            "updated_date": "2016-10-12T16:19:05",
                            "updated_by_user":
                            {
                                "person_name": "MPAdministrator",
                                "id": "1",
                                "email": null,
                                "username": "MPAdministrator"
                            },
                            "created_by_user":
                            {
                                "person_name": "MPAdministrator",
                                "id": "1",
                                "email": null,
                                "username": "MPAdministrator"
                            }
                        },
                        "spend_amount": 1,
                        "description": null,
                        "accounts_receivable":
                        {
                            "number": "ACR0000000873",
                            "name": "ACR0000000873 Georgia Wallet",
                            "id": "3BE35D2C3CA04FBE9CC38803386E2466",
                            "life_cycle_state": "ACTIVE",
                            "account_owner":
                            {
                                "company_profile": null,
                                "company_name": null,
                                "name": null,
                                "last_name": "Wallet",
                                "id": "B43C0D84A9E04D2BB354561CE79A34FD",
                                "life_cycle_state": "FINANCIAL",
                                "middle_name": null,
                                "title": null,
                                "type": "PERSON",
                                "first_name": "Georgia",
                                "demographics":
                                {
                                    "name_day":
                                    {
                                        "month": null,
                                        "day": null
                                    },
                                    "id_number": null,
                                    "gender": null,
                                    "date_of_birth":
                                    {
                                        "month": null,
                                        "year": null,
                                        "day": null
                                    },
                                    "industry_sector": null,
                                    "passport_number": null,
                                    "industry": null,
                                    "social_security_number": null,
                                    "id_issued_by_country": null,
                                    "passport_issued_by_country": null
                                }
                            }
                        },
                        "life_cycle_state": "POSTED",
                        "type": "SPEND_REQUEST",
                        "performed_on": "2016-10-12T16:18:36",
                        "classification": null,
                        "process_immediately": true,
                        "spend_reward_transaction": null,
                        "number": "296",
                        "currency":
                        {
                            "suffix_symbol": "N/A",
                            "prefix_symbol": "\u20ac",
                            "decimal_part_name": "cents",
                            "code": "EUR",
                            "integer_part_name": "euro",
                            "id": "2"
                        },
                        "id": "7FEEF6505489437AACBD76C7282232E2",
                        "performed_by_unit":
                        {
                            "alternative_code": "A",
                            "name": "Addidas",
                            "description": "Addidas",
                            "id": "F784D4FD19ED4ED99F51AAB113B8C668"
                        }
                    },
                    "rewards_participant":
                    {
                        "number": "RP0000000405",
                        "accounts_receivable":
                        {
                            "number": "ACR0000000873",
                            "name": "ACR0000000873 Georgia Wallet",
                            "id": "3BE35D2C3CA04FBE9CC38803386E2466",
                            "life_cycle_state": "ACTIVE",
                            "account_owner":
                            {
                                "company_profile": null,
                                "company_name": null,
                                "name": null,
                                "last_name": "Wallet",
                                "id": "B43C0D84A9E04D2BB354561CE79A34FD",
                                "life_cycle_state": "FINANCIAL",
                                "middle_name": null,
                                "title": null,
                                "type": "PERSON",
                                "first_name": "Georgia",
                                "demographics":
                                {
                                    "name_day":
                                    {
                                        "month": null,
                                        "day": null
                                    },
                                    "id_number": null,
                                    "gender": null,
                                    "date_of_birth":
                                    {
                                        "month": null,
                                        "year": null,
                                        "day": null
                                    },
                                    "industry_sector": null,
                                    "passport_number": null,
                                    "industry": null,
                                    "social_security_number": null,
                                    "id_issued_by_country": null,
                                    "passport_issued_by_country": null
                                }
                            }
                        },
                        "id": "24C03CEDC4054FD2A33A2D8776407BD7"
                    }
                }
            }
        ],
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    } 


...