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 spend transaction. A single rewards spend transaction is returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

reward_spend_transaction_identifier

(semi-optional)

String

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

Include Page
V4:spend_reward_transaction_identifier
V4:spend_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 spend 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

...

Expand
titleExample 1

HTTP Method: GET

Request:

 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "log_information": {
      "updated_date": "2016-03-08T16:58:42",
      "created_date": "2016-03-08T16:58:42",
      "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"
      }
    },
    "items_set": [
      {
        "total_amount": 200,
        "id": "3D384115AB374EBFA8077306CC87A97B",
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": true,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "FA802647636A11B7B74B582A688B968D",
            "name": "Cameras",
            "description": "Cameras",
            "alternative_code": "CA"
          },
          "id": "1133F2CA7DEF919EB7328B2C32097152",
          "description": null,
          "code": "Monitor",
          "alternative_code": "MT"
        }
      }
    ],
    "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"
    },
    "life_cycle_state": "POSTED",
    "wallet_transactions_set": [
      {
        "notes": null,
        "life_cycle_state": "EFFECTIVE",
        "extra_added_amount": null,
        "amount": 15,
        "number": "WT001784",
        "wallet": {
          "life_cycle_state": "EFFECTIVE",
          "accounts_receivable": {
            "account_owner": {
              "last_name": "SETTLEMENT",
              "middle_name": null,
              "life_cycle_state": "FINANCIAL",
              "company_profile": null,
              "title": null,
              "first_name": "PARTICIPANT 3",
              "type": "PERSON",
              "id": "7D41328C2EAE4F52AAA6BA1C030A2930",
              "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": null,
                "industry": null,
                "id_issued_by_country": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000920",
            "id": "C8A7DBFBA9F347FA9060ECC90FB58B2E",
            "name": "ACR000920"
          },
          "number": "WLT000298",
          "id": "A039AC9B92FF4A6F94E59FA79675F4D7"
        },
        "type": {
          "classification": "DEBIT",
          "id": "D51DAF63F839B59328000FF64744C406",
          "name": "Normal Debit",
          "description": "Normal Debit for Wallets",
          "alternative_code": "ND"
        },
        "id": "E9D3554AE5A646308E06B886C0863B76"
      },
      {
        "notes": null,
        "life_cycle_state": "EFFECTIVE",
        "extra_added_amount": null,
        "amount": 185,
        "number": "WT001783",
        "wallet": {
          "life_cycle_state": "EFFECTIVE",
          "accounts_receivable": {
            "account_owner": {
              "last_name": "SETTLEMENT",
              "middle_name": null,
              "life_cycle_state": "FINANCIAL",
              "company_profile": null,
              "title": null,
              "first_name": "PARTICIPANT 3",
              "type": "PERSON",
              "id": "7D41328C2EAE4F52AAA6BA1C030A2930",
              "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": null,
                "industry": null,
                "id_issued_by_country": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000920",
            "id": "C8A7DBFBA9F347FA9060ECC90FB58B2E",
            "name": "ACR000920"
          },
          "number": "WLT000298",
          "id": "A039AC9B92FF4A6F94E59FA79675F4D7"
        },
        "type": {
          "classification": "DEBIT",
          "id": "D51DAF63F839B59328000FF64744C406",
          "name": "Normal Debit",
          "description": "Normal Debit for Wallets",
          "alternative_code": "ND"
        },
        "id": "6CC403389A29477B9037AF8CA38AB1B7"
      }
    ],
    "rewards_participant": {
      "accounts_receivable": {
        "account_owner": {
          "last_name": "SETTLEMENT",
          "middle_name": null,
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": null,
          "first_name": "PARTICIPANT 3",
          "type": "PERSON",
          "id": "7D41328C2EAE4F52AAA6BA1C030A2930",
          "name": "SETTLEMENT PARTICIPANT 3",
          "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": null,
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR000920",
        "id": "C8A7DBFBA9F347FA9060ECC90FB58B2E",
        "name": "ACR000920"
      },
      "number": "100",
      "id": "B8E9C48A30CB42CF96F0A8D61A18C0D8"
    },
    "amount": 200,
    "number": "96",
    "spend_request_customer_event": {
      "spend_request_customer_event": {
        "classification": {
          "id": "FCC94778CA214D3D87E5D6D8204975EC",
          "name": "Spend Request Classification",
          "alternative_code": "SRC"
        },
        "number": "77",
        "performed_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"
        },
        "process_immediately": 1,
        "spend_reward_transaction": {
          "total_amount": 200,
          "life_cycle_state": "POSTED",
          "rewards_participant": {
            "accounts_receivable": {
              "account_owner": {
                "last_name": "SETTLEMENT",
                "middle_name": null,
                "life_cycle_state": "FINANCIAL",
                "company_profile": null,
                "title": null,
                "first_name": "PARTICIPANT 3",
                "type": "PERSON",
                "id": "7D41328C2EAE4F52AAA6BA1C030A2930",
                "name": "SETTLEMENT PARTICIPANT 3",
                "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": null,
                  "industry": null,
                  "id_issued_by_country": null
                }
              },
              "life_cycle_state": "ACTIVE",
              "number": "ACR000920",
              "id": "C8A7DBFBA9F347FA9060ECC90FB58B2E",
              "name": "ACR000920"
            },
            "number": "100",
            "id": "B8E9C48A30CB42CF96F0A8D61A18C0D8"
          },
          "number": "96",
          "net_amount": 200,
          "id": "EEA1976A67DA4475858C9157D2C1B3E9",
          "vat_amount": 0
        },
        "log_information": {
          "updated_date": "2016-03-08T16:58:41",
          "created_date": "2016-03-08T16:58:18",
          "created_by_unit": {
            "id": "48305F8849E3C18B227C5BE3A27BA6DF",
            "name": "Admin Unit",
            "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
            "alternative_code": "MG"
          },
          "updated_by_unit": {
            "id": "48305F8849E3C18B227C5BE3A27BA6DF",
            "name": "Admin Unit",
            "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"
          },
          "updated_by_user": {
            "person_name": "MPAdministrator",
            "username": "MPAdministrator",
            "id": "1"
          }
        },
        "life_cycle_state": "POSTED",
        "accounts_receivable": {
          "account_owner": {
            "last_name": "SETTLEMENT",
            "middle_name": null,
            "life_cycle_state": "FINANCIAL",
            "company_profile": null,
            "title": null,
            "first_name": "PARTICIPANT 3",
            "type": "PERSON",
            "id": "7D41328C2EAE4F52AAA6BA1C030A2930",
            "name": "SETTLEMENT PARTICIPANT 3",
            "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": null,
              "industry": null,
              "id_issued_by_country": null
            }
          },
          "life_cycle_state": "ACTIVE",
          "number": "ACR000920",
          "id": "C8A7DBFBA9F347FA9060ECC90FB58B2E",
          "name": "ACR000920"
        },
        "spend_amount": null,
        "type": "SPEND_REQUEST",
        "id": "6BC39F421A5D4C81A26C95F1B5464A1D",
        "description": null,
        "performed_on": "2016-03-08T16:58:18"
      }
    },
    "id": "EEA1976A67DA4475858C9157D2C1B3E9",
    "date": "2016-03-08T16:58:18"
  }
}


...

Expand
titleExample 2

HTTP Method: GET

Request: 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
  "data": {
    "date": "2016-06-27T09:50:23",
    "number": "33",
    "amount": 10,
    "unit": {
      "alternative_code": "adminunit",
      "group_name": "Main Group",
      "community_name": "Community",
      "name": "Admin Unit",
      "description": "admin unit",
      "id": "1"
    },
    "items_set": [
      {
        "product": {
          "code": "Bronze",
          "product_type": {
            "service_type": "TERMED",
            "used_for_provisioning": true,
            "alternative_code": "Main Packages",
            "composition_method": "FLAT",
            "name": "Main Packages",
            "description": null,
            "id": "E186E293AAAB49EE86A729540A4287FE",
            "classification": "SERVICES",
            "physical_good_type": null
          },
          "alternative_code": "B",
          "description": null,
          "id": "F50CC52934BD4F119B6E18E215A4FC55"
        },
        "total_amount": 10,
        "id": "4926E9DF1C2A4FB690EA51994452752F"
      }
    ],
    "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-06-27T09:50:35",
      "updated_date": "2016-06-27T09:50:35",
      "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"
      }
    },
    "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": "E06C24BF43BD40FCBC25E17117371421",
    "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-06-27T09:50:23",
        "updated_date": "2016-06-27T09:50:35",
        "updated_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        },
        "created_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        }
      },
      "spend_amount": 10,
      "description": null,
      "accounts_receivable": {
        "number": "ACR0000000264",
        "name": "ACR0000000264 Alternative Currency",
        "id": "4820A781EFF243DF96DD44487EBA5C74",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": "Alternative Currency",
          "last_name": "Currency",
          "id": "E6E1240F3C8C48CE83159DB9AF89284B",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "PERSON",
          "first_name": "Alternative",
          "demographics": {
            "name_day": {
              "month": null,
              "day": null
            },
            "id_number": null,
            "gender": null,
            "country_of_residence": {
              "alternative_code": "CYP",
              "three_character_code": "CYP",
              "name": "CYPRUS",
              "id": "181",
              "two_character_code": "CY"
            },
            "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-06-27T09:50:23",
      "classification": null,
      "process_immediately": 1,
      "spend_reward_transaction": {
        "number": "33",
        "vat_amount": 0,
        "total_amount": 10,
        "id": "E06C24BF43BD40FCBC25E17117371421",
        "net_amount": 10,
        "life_cycle_state": "POSTED",
        "rewards_participant": {
          "number": "RP0000000049",
          "accounts_receivable": {
            "number": "ACR0000000264",
            "name": "ACR0000000264 Alternative Currency",
            "id": "4820A781EFF243DF96DD44487EBA5C74",
            "life_cycle_state": "ACTIVE",
            "account_owner": {
              "company_profile": null,
              "company_name": null,
              "name": "Alternative Currency",
              "last_name": "Currency",
              "id": "E6E1240F3C8C48CE83159DB9AF89284B",
              "life_cycle_state": "FINANCIAL",
              "middle_name": null,
              "title": null,
              "type": "PERSON",
              "first_name": "Alternative",
              "demographics": {
                "name_day": {
                  "month": null,
                  "day": null
                },
                "id_number": null,
                "gender": null,
                "country_of_residence": {
                  "alternative_code": "CYP",
                  "three_character_code": "CYP",
                  "name": "CYPRUS",
                  "id": "181",
                  "two_character_code": "CY"
                },
                "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": "A1A759EB9A344F8A95D20567F9362296"
        }
      },
      "number": "46",
      "id": "D4440626D1C94AAE975DBB62D0AF4EFF",
      "performed_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      }
    },
    "wallet_transactions_set": [
      {
        "number": "464",
        "amount": 10,
        "notes": null,
        "wallet": {
          "number": "W0000000230",
          "accounts_receivable": {
            "number": "ACR0000000264",
            "name": "ACR0000000264 Alternative Currency",
            "id": "4820A781EFF243DF96DD44487EBA5C74",
            "life_cycle_state": "ACTIVE",
            "account_owner": {
              "company_profile": null,
              "company_name": null,
              "name": null,
              "last_name": "Currency",
              "id": "E6E1240F3C8C48CE83159DB9AF89284B",
              "life_cycle_state": "FINANCIAL",
              "middle_name": null,
              "title": null,
              "type": "PERSON",
              "first_name": "Alternative",
              "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": "C25BB91D35E04332849FD83B94FCF5AE",
          "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-06-27T09:50:35",
          "updated_date": "2016-06-27T09:50:35",
          "updated_by_user": {
            "person_name": "MPAdministrator",
            "id": "1",
            "username": "MPAdministrator"
          },
          "created_by_user": {
            "person_name": "MPAdministrator",
            "id": "1",
            "username": "MPAdministrator"
          }
        },
        "id": "ACE6C032A41244B18E9DAE7BEBBC3115",
        "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": "RP0000000049",
      "accounts_receivable": {
        "number": "ACR0000000264",
        "name": "ACR0000000264 Alternative Currency",
        "id": "4820A781EFF243DF96DD44487EBA5C74",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": null,
          "last_name": "Currency",
          "id": "E6E1240F3C8C48CE83159DB9AF89284B",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "PERSON",
          "first_name": "Alternative",
          "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": "A1A759EB9A344F8A95D20567F9362296"
    }
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}


...

Expand
titleExample 3

HTTP Method: GET

Request:

Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
  "data": {
    "date": "2016-07-27T09:08:16",
    "number": "79",
    "amount": 11,
    "unit": {
      "alternative_code": "adminunit",
      "group_name": "Main Group",
      "community_name": "Community",
      "name": "Admin Unit",
      "description": "admin unit",
      "id": "1"
    },
    "items_set": [
      {
        "product": {
          "code": "Bronze",
          "product_type": {
            "service_type": "TERMED",
            "used_for_provisioning": true,
            "alternative_code": "Main Packages",
            "composition_method": "FLAT",
            "name": "Main Packages",
            "description": null,
            "id": "E186E293AAAB49EE86A729540A4287FE",
            "classification": "SERVICES",
            "physical_good_type": null
          },
          "alternative_code": "B",
          "description": "Bronze",
          "id": "F50CC52934BD4F119B6E18E215A4FC55"
        },
        "total_amount": 11,
        "id": "B94C334197BE4B6A86EFEAB3B22BAD5C"
      }
    ],
    "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-07-27T09:08:56",
      "updated_date": "2016-07-27T09:10:21",
      "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"
      }
    },
    "currency_rate_period": {
      "from_date": "2016-07-22 07:30:24.0",
      "to_date": "2016-07-28 09:59:12.0",
      "rate": 1.1,
      "inverse_rate": 0.91,
      "currency": {
        "suffix_symbol": null,
        "prefix_symbol": "$",
        "decimal_part_name": "cent",
        "code": "USD",
        "integer_part_name": "dollar",
        "id": "154"
      },
      "id": "2A948D8C7E9C48E5906432929D19256D"
    },
    "id": "4357EED4EADF4D548C7A1EFAFEEDACD2",
    "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-07-27T09:08:16",
        "updated_date": "2016-07-27T09:08:43",
        "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"
        }
      },
      "spend_amount": null,
      "description": null,
      "accounts_receivable": {
        "number": "ACR0000000306",
        "name": "USDC",
        "id": "4C53C8BE51004DB3ADD232680D397946",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": "USD Currency",
          "last_name": "Currency",
          "id": "4E6065A83AA147F0914300831127DCEB",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "PERSON",
          "first_name": "USD",
          "demographics": {
            "name_day": {
              "month": null,
              "day": null
            },
            "id_number": null,
            "gender": null,
            "country_of_residence": {
              "alternative_code": "CYP",
              "three_character_code": "CYP",
              "name": "CYPRUS",
              "id": "181",
              "two_character_code": "CY"
            },
            "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-07-27T09:08:16",
      "classification": null,
      "process_immediately": true,
      "spend_reward_transaction": {
        "number": "79",
        "vat_amount": 0,
        "total_amount": 11,
        "id": "4357EED4EADF4D548C7A1EFAFEEDACD2",
        "net_amount": 11,
        "life_cycle_state": "POSTED",
        "rewards_participant": {
          "number": "RP0000000062",
          "accounts_receivable": {
            "number": "ACR0000000306",
            "name": "USDC",
            "id": "4C53C8BE51004DB3ADD232680D397946",
            "life_cycle_state": "ACTIVE",
            "account_owner": {
              "company_profile": null,
              "company_name": null,
              "name": "USD Currency",
              "last_name": "Currency",
              "id": "4E6065A83AA147F0914300831127DCEB",
              "life_cycle_state": "FINANCIAL",
              "middle_name": null,
              "title": null,
              "type": "PERSON",
              "first_name": "USD",
              "demographics": {
                "name_day": {
                  "month": null,
                  "day": null
                },
                "id_number": null,
                "gender": null,
                "country_of_residence": {
                  "alternative_code": "CYP",
                  "three_character_code": "CYP",
                  "name": "CYPRUS",
                  "id": "181",
                  "two_character_code": "CY"
                },
                "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": "5E41D08B121544F7B91E9EB2DAB9A992"
        }
      },
      "number": "107",
      "id": "4EDF657A50E84DC7B52CD2883E7A366B",
      "performed_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      }
    },
    "wallet_transactions_set": [
      {
        "number": "1900",
        "amount": 11,
        "notes": null,
        "wallet": {
          "number": "W0000000274",
          "accounts_receivable": {
            "number": "ACR0000000306",
            "name": "USDC",
            "id": "4C53C8BE51004DB3ADD232680D397946",
            "life_cycle_state": "ACTIVE",
            "account_owner": {
              "company_profile": null,
              "company_name": null,
              "name": null,
              "last_name": "Currency",
              "id": "4E6065A83AA147F0914300831127DCEB",
              "life_cycle_state": "FINANCIAL",
              "middle_name": null,
              "title": null,
              "type": "PERSON",
              "first_name": "USD",
              "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": "C7320C0D0A0048C4AE6AA7CFEF4410AD",
          "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-07-27T09:10:22",
          "updated_date": "2016-07-27T09:10:22",
          "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": "E265953101AE450491E29A0955D79FFE",
        "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": "RP0000000062",
      "accounts_receivable": {
        "number": "ACR0000000306",
        "name": "USDC",
        "id": "4C53C8BE51004DB3ADD232680D397946",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": null,
          "last_name": "Currency",
          "id": "4E6065A83AA147F0914300831127DCEB",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "PERSON",
          "first_name": "USD",
          "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": "5E41D08B121544F7B91E9EB2DAB9A992"
    }
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}
 


...

Expand
titleExample 4

HTTP Method: GET

Request: 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
        "data":
        {
            "date": "2016-08-10T12:22:40",
            "amount": 11,
            "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-10T12:23:08",
                "updated_date": "2016-08-10T12:23:08",
                "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"
                }
            },
            "currency_rate_period": null,
            "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-08-10T12:22:40",
                    "updated_date": "2016-08-10T12:23:07",
                    "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"
                    }
                },
                "spend_amount": null,
                "description": null,
                "accounts_receivable":
                {
                    "number": "ACR0000000308",
                    "name": "Marketing",
                    "id": "5E89EE1C21514142A6F16CB96F19817A",
                    "life_cycle_state": "ACTIVE",
                    "account_owner":
                    {
                        "company_profile": null,
                        "company_name": null,
                        "name": "Panayiota1 Demou1",
                        "last_name": "Demou1",
                        "id": "3833838E5D4545B79617BE3490624262",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Panayiota1",
                        "demographics":
                        {
                            "name_day":
                            {
                                "month": null,
                                "day": null
                            },
                            "id_number": null,
                            "gender": null,
                            "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": 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-08-10T12:22:40",
                "classification":
                {
                    "alternative_code": "SRC_1",
                    "name": "Spend Request CL",
                    "id": "A96BA1AFBF874C0293177090181BB049"
                },
                "process_immediately": true,
                "spend_reward_transaction":
                {
                    "number": "117",
                    "vat_amount": 0,
                    "total_amount": 11,
                    "id": "536613FAB20341B6BE1655DE8A6DBAA8",
                    "net_amount": 11,
                    "life_cycle_state": "POSTED",
                    "rewards_participant":
                    {
                        "number": "RP0000000073",
                        "accounts_receivable":
                        {
                            "number": "ACR0000000308",
                            "name": "Marketing",
                            "id": "5E89EE1C21514142A6F16CB96F19817A",
                            "life_cycle_state": "ACTIVE",
                            "account_owner":
                            {
                                "company_profile": null,
                                "company_name": null,
                                "name": "Panayiota1 Demou1",
                                "last_name": "Demou1",
                                "id": "3833838E5D4545B79617BE3490624262",
                                "life_cycle_state": "FINANCIAL",
                                "middle_name": null,
                                "title": null,
                                "type": "PERSON",
                                "first_name": "Panayiota1",
                                "demographics":
                                {
                                    "name_day":
                                    {
                                        "month": null,
                                        "day": null
                                    },
                                    "id_number": null,
                                    "gender": null,
                                    "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": 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": "86BC426EEFF14C7BBFA545C401FE5C5F"
                    }
                },
                "number": "146",
                "id": "42F54EB6508E44FFB2C5935E8C75AEFA",
                "performed_by_unit":
                {
                    "alternative_code": "MU",
                    "group_name": "Main Group",
                    "community_name": "Community",
                    "name": "Marketing Unit",
                    "description": null,
                    "id": "EFD8E3F86DE5497EA7D57E26B13A2ED9"
                }
            },
            "wallet_transactions_set":
            [
                {
                    "number": "2015",
                    "amount": 11,
                    "notes": null,
                    "wallet":
                    {
                        "number": "W0000000302",
                        "accounts_receivable":
                        {
                            "number": "ACR0000000308",
                            "name": "Marketing",
                            "id": "5E89EE1C21514142A6F16CB96F19817A",
                            "life_cycle_state": "ACTIVE",
                            "account_owner":
                            {
                                "company_profile": null,
                                "company_name": null,
                                "name": null,
                                "last_name": "Demou1",
                                "id": "3833838E5D4545B79617BE3490624262",
                                "life_cycle_state": "FINANCIAL",
                                "middle_name": null,
                                "title": null,
                                "type": "PERSON",
                                "first_name": "Panayiota1",
                                "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": "A923E859C10440158EED6A0EB3DD1BD1",
                        "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-08-10T12:23:08",
                        "updated_date": "2016-08-10T12:23:08",
                        "updated_by_user":
                        {
                            "person_name": "MPAdministrator",
                            "id": "1",
                            "username": "MPAdministrator"
                        },
                        "created_by_user":
                        {
                            "person_name": "MPAdministrator",
                            "id": "1",
                            "username": "MPAdministrator"
                        }
                    },
                    "id": "8C635401D61345F2AF9D8A483747D2BD",
                    "life_cycle_state": "EFFECTIVE",
                    "extra_added_amount": null,
                    "type":
                    {
                        "alternative_code": "WD",
                        "name": "Wallet Debit",
                        "description": "Wallet Debit",
                        "id": "486825E44D9452107C8EE6AAC6C57884",
                        "classification": "DEBIT"
                    }
                }
            ],
            "number": "117",
            "credit_note":
            {
                "posted_on": "2016-08-10T12:23:21",
                "number": "129",
                "total_amount": 11,
                "issued_on": "2016-08-10T12:23:18",
                "currency_rate_period": null,
                "id": "BC598615CC244AA7A9DCB746BD9243EA",
                "life_cycle_state": "POSTED",
                "reference_number": "63"
            },
            "unit":
            {
                "alternative_code": "MU",
                "group_name": "Main Group",
                "community_name": "Community",
                "name": "Marketing Unit",
                "description": null,
                "id": "EFD8E3F86DE5497EA7D57E26B13A2ED9"
            },
            "items_set":
            [
                {
                    "product":
                    {
                        "code": "Gold",
                        "product_type":
                        {
                            "service_type": "TERMED",
                            "used_for_provisioning": true,
                            "alternative_code": "Main Packages",
                            "composition_method": "FLAT",
                            "name": "Main Packages",
                            "description": null,
                            "id": "E186E293AAAB49EE86A729540A4287FE",
                            "classification": "SERVICES",
                            "physical_good_type": null
                        },
                        "alternative_code": "G",
                        "description": null,
                        "id": "D1EB074DFD904E54A0C67CAB9DC7E010"
                    },
                    "total_amount": 5,
                    "id": "CEF0C18A7C8E424398F7ADB2385F4F0C"
                },
                {
                    "product":
                    {
                        "code": "Expense 2",
                        "product_type":
                        {
                            "service_type": "EXPENSE",
                            "used_for_provisioning": false,
                            "alternative_code": "006",
                            "composition_method": "FLAT",
                            "name": "Fees",
                            "description": "Fees One Time Services",
                            "id": "6",
                            "classification": "SERVICES",
                            "physical_good_type": null
                        },
                        "alternative_code": "E2",
                        "description": null,
                        "id": "1CEB8D2B86134B138469F8F3E12EB792"
                    },
                    "total_amount": 6,
                    "id": "FC7140C427E9419C9CAC1D5B52BDEC5D"
                }
            ],
            "id": "536613FAB20341B6BE1655DE8A6DBAA8",
            "rewards_participant":
            {
                "number": "RP0000000073",
                "accounts_receivable":
                {
                    "number": "ACR0000000308",
                    "name": "Marketing",
                    "id": "5E89EE1C21514142A6F16CB96F19817A",
                    "life_cycle_state": "ACTIVE",
                    "account_owner":
                    {
                        "company_profile": null,
                        "company_name": null,
                        "name": null,
                        "last_name": "Demou1",
                        "id": "3833838E5D4545B79617BE3490624262",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Panayiota1",
                        "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": "86BC426EEFF14C7BBFA545C401FE5C5F"
            }
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
}


...