Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...


Tip

Available from CRM.COM R10.0.0

Deprecated from CRM.COM R15.0.0 onwards. This functionality will be provided through achievement customer events

Table of Contents
maxLevel2

...

This method returns information related with a financial achievement customer event.  A single financial achievement customer event is returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

customer_event_identifier

(mandatory)

Customer Event identifier  

The identifier of the customer event that should be returned as a result. Only customer events of type financial achievement can be specified. The allowed customer event identifier fields are the following:

Include Page
V4:customer_event_identifier
V4:customer_event_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
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
 {
  "data": {
    "external_system_reference_number": null,
    "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-10-07T08:59:11",
      "updated_date": "2016-10-07T08:59:26",
      "updated_by_user": {
        "person_name": "MPAdministrator",
        "id": "1",
        "username": "MPAdministrator"
      },
      "created_by_user": {
        "person_name": "MPAdministrator",
        "id": "1",
        "username": "MPAdministrator"
      }
    },
    "payment_medium_brand": null,
    "description": null,
    "udf_date_2": null,
    "type": "FINANCIAL_ACHIEVEMENT",
    "udf_date_1": null,
    "udf_date_4": null,
    "udf_date_3": null,
    "number": "92",
    "udf_float_3": null,
    "udf_float_4": null,
    "award_reward_transactions_set": null,
    "id": "328B8B0AF30041169B889F4A39D774B7",
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_string_2": null,
    "udf_string_3": null,
    "udf_string_4": null,
    "amount": 10,
    "product": null,
    "udf_string_5": null,
    "udf_string_1": null,
    "accounts_receivable": {
      "number": "ACR0000000069",
      "name": "ACR0000000069 Polina Kestora",
      "id": "8C1E866074D743EE834E910A28C1E582",
      "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": 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": 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
        }
      }
    },
    "life_cycle_state": "POSTED",
    "performed_on": "2016-10-07T08:59:11",
    "classification": {
      "alternative_code": "FA",
      "name": "Financial Achievement 1",
      "id": "39031C33C1AC4FB79140B27D1614CD6A"
    },
    "process_immediately": false,
    "payment_medium_type": null,
    "payment_medium_identifier": null,
    "udf_string_6": null,
    "udf_string_7": null,
    "performed_by_unit": {
      "alternative_code": "adminunit",
      "group_name": "Main Group",
      "community_name": "Community",
      "name": "Admin Unit",
      "description": "admin unit",
      "id": "1"
    },
    "udf_string_8": null,
    "external_system": null
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}


...

This method returns information related with financial achievements customer events. Multiple financial achievements customer events are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

rewards_participant_identifier

(semi-optional)

Rewards Participant Identifier
The identifier of the rewards participant related with the customer events that should be retrieved. The allowed rewards participant identifier fields are the following:

Include Page
V4:rewards_participants_identifier_post
V4:rewards_participants_identifier_post

accounts_receivable_identifier

(semi-optional)

Accounts Receivable Identifier  

The identifier of the accounts receivable related with the customer events that should be retrieved. The allowed accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

classification_identifier

(semi-optional)

Customer Event Classification Identifier

The identifier of the classification related with the customer events that should be retrieved. Only financial achievement classifications are allowed to be specified. The allowed customer event classification identifier fields are the following:

Include Page
V4:customer_event_classification_identifier
V4:customer_event_classification_identifier

submitted_after_date

(optional)

Date

if specified then information related with financial achievements customer events that was submitted after the specified date should be retrieved

Tip

Available from CRM.COM R12.2.0


submitted_before_date

(optional)

Date

if specified then information related with financial achievements customer events that was submitted before the specified date should be retrieved

Tip

Available from CRM.COM R12.2.0


number_of_results

(optional)

Number

The number of results that can be retrieved through each call

Tip

Available from CRM.COM R13.0.0


offset

(optional)

Number

Defines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number

Tip

Available from CRM.COM R13.0.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. Multiple parameters are allowed to be specified.

...

Expand
titleExample 1

HTTP Method: POST

 


Request:


Body:

Code Block
languagejs
themeConfluence
languagejs
linenumberstrue
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000069"},
"classification_identifier":{"alternative_code":"FA"}
}

 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
 {
  "data": [
    {
      "external_system_reference_number": null,
      "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-21T11:24:56",
        "updated_date": "2016-07-21T11:24:56",
        "updated_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        },
        "created_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        }
      },
      "payment_medium_brand": {
        "alternative_code": "V",
        "name": "VISA",
        "description": null,
        "id": "02DEEA7F35B8413E9C017600653C1223"
      },
      "description": "Testing creation of financial achievement customer event through API",
      "udf_date_2": null,
      "type": "FINANCIAL_ACHIEVEMENT",
      "udf_date_1": null,
      "udf_date_4": null,
      "udf_date_3": null,
      "number": "57",
      "udf_float_3": null,
      "udf_float_4": null,
      "award_reward_transactions_set": null,
      "id": "B8A73C74B2E7417F8B7159CF2BB036F3",
      "udf_float_1": null,
      "udf_float_2": null,
      "udf_string_2": null,
      "udf_string_3": null,
      "udf_string_4": null,
      "amount": null,
      "product": null,
      "udf_string_5": null,
      "udf_string_1": null,
      "accounts_receivable": {
        "number": "ACR0000000069",
        "name": "ACR0000000069 Polina Kestora",
        "id": "8C1E866074D743EE834E910A28C1E582",
        "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": 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": 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
          }
        }
      },
      "life_cycle_state": "POSTED",
      "performed_on": "2016-06-28T15:00:00",
      "classification": {
        "alternative_code": "FA",
        "name": "Financial Achievement 1",
        "id": "39031C33C1AC4FB79140B27D1614CD6A"
      },
      "process_immediately": false,
      "payment_medium_type": {
        "alternative_code": "CC",
        "name": "CREDIT CARD",
        "description": null,
        "id": "68FAF1F833194091967F86B1AA352129"
      },
      "payment_medium_identifier": "PI000002",
      "udf_string_6": null,
      "udf_string_7": null,
      "performed_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "udf_string_8": null,
      "external_system": null
    },
    {
      "external_system_reference_number": null,
      "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-10-07T08:59:11",
        "updated_date": "2016-10-07T08:59:26",
        "updated_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        },
        "created_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        }
      },
      "payment_medium_brand": null,
      "description": null,
      "udf_date_2": null,
      "type": "FINANCIAL_ACHIEVEMENT",
      "udf_date_1": null,
      "udf_date_4": null,
      "udf_date_3": null,
      "number": "92",
      "udf_float_3": null,
      "udf_float_4": null,
      "award_reward_transactions_set": null,
      "id": "328B8B0AF30041169B889F4A39D774B7",
      "udf_float_1": null,
      "udf_float_2": null,
      "udf_string_2": null,
      "udf_string_3": null,
      "udf_string_4": null,
      "amount": 10,
      "product": null,
      "udf_string_5": null,
      "udf_string_1": null,
      "accounts_receivable": {
        "number": "ACR0000000069",
        "name": "ACR0000000069 Polina Kestora",
        "id": "8C1E866074D743EE834E910A28C1E582",
        "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": 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": 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
          }
        }
      },
      "life_cycle_state": "POSTED",
      "performed_on": "2016-10-07T08:59:11",
      "classification": {
        "alternative_code": "FA",
        "name": "Financial Achievement 1",
        "id": "39031C33C1AC4FB79140B27D1614CD6A"
      },
      "process_immediately": false,
      "payment_medium_type": null,
      "payment_medium_identifier": null,
      "udf_string_6": null,
      "udf_string_7": null,
      "performed_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "udf_string_8": null,
      "external_system": null
    },
    {
      "external_system_reference_number": null,
      "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-10-07T09:12:36",
        "updated_date": "2016-10-07T09:12:52",
        "updated_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        },
        "created_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        }
      },
      "payment_medium_brand": null,
      "description": null,
      "udf_date_2": null,
      "type": "FINANCIAL_ACHIEVEMENT",
      "udf_date_1": null,
      "udf_date_4": null,
      "udf_date_3": null,
      "number": "93",
      "udf_float_3": null,
      "udf_float_4": null,
      "award_reward_transactions_set": null,
      "id": "2DA40D40C50145FD898F73CB33F9EAE3",
      "udf_float_1": null,
      "udf_float_2": null,
      "udf_string_2": null,
      "udf_string_3": null,
      "udf_string_4": null,
      "amount": 11.3,
      "product": null,
      "udf_string_5": null,
      "udf_string_1": null,
      "accounts_receivable": {
        "number": "ACR0000000069",
        "name": "ACR0000000069 Polina Kestora",
        "id": "8C1E866074D743EE834E910A28C1E582",
        "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": 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": 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
          }
        }
      },
      "life_cycle_state": "POSTED",
      "performed_on": "2016-10-07T09:12:36",
      "classification": {
        "alternative_code": "FA",
        "name": "Financial Achievement 1",
        "id": "39031C33C1AC4FB79140B27D1614CD6A"
      },
      "process_immediately": false,
      "payment_medium_type": null,
      "payment_medium_identifier": null,
      "udf_string_6": null,
      "udf_string_7": null,
      "performed_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "udf_string_8": null,
      "external_system": null
    }
  ],
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}


...

Expand
titleExample 2

HTTP Method: POST 


Request:


Body:

Code Block
languagejs
themeConfluence
languagejs
linenumberstrue
{
  "token": "{{token}}",
  "accounts_receivable_identifier": {
    "number": "ACR0000000659"
  },  "fields_set": "number,performed_on",
  "submitted_after_date":"2016-10-26T00:00:12",
  "submitted_before_date":"2016-11-03T15:00:12"
}
 


Response:

Code Block
languagejavascript
themeConfluence
languagejavascript
linenumberstrue
{
  "data": [
    {
      "number": "110",
      "performed_on": "2016-10-26T17:05:58"
    },
    {
      "number": "115",
      "performed_on": "2016-10-26T18:00:13"
    },
    {
      "number": "109",
      "performed_on": "2016-10-26T17:01:10"
    },
    {
      "number": "111",
      "performed_on": "2016-10-26T15:00:00"
    },
    {
      "number": "108",
      "performed_on": "2016-10-26T16:55:21"
    },
    {
      "number": "112",
      "performed_on": "2016-10-26T17:53:47"
    },
    {
      "number": "113",
      "performed_on": "2016-10-26T17:58:49"
    },
    {
      "number": "114",
      "performed_on": "2016-10-26T17:59:39"
    },
    {
      "number": "116",
      "performed_on": "2016-10-26T18:02:42"
    },
    {
      "number": "117",
      "performed_on": "2016-10-26T18:11:18"
    },
    {
      "number": "118",
      "performed_on": "2016-10-26T18:11:43"
    },
    {
      "number": "119",
      "performed_on": "2016-10-26T18:15:31"
    },
    {
      "number": "120",
      "performed_on": "2016-11-03T11:50:18"
    },
    {
      "number": "137",
      "performed_on": "2016-10-26T15:00:00"
    }
  ],
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}
  


...

This method is used to create a financial achievement customer event in a posted life cycle state

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier

(semi-optional)

Accounts receivable Identifier

The related accounts receivable. The allowed accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

rewards_participant_identifier

(semi-optional)

Rewards Participant Identifier
The related rewards participant. The allowed rewards participant identifier fields are the following:

Include Page
V4:rewards_participants_identifier_post
V4:rewards_participants_identifier_post

classification_identifier

(mandatory)

Customer Event Classification Identifier
The classification of the customer event. Only financial achievement classifications are allowed to be specified. The allowed customer event classification identifier fields are the following:

Include Page
V4:customer_event_classification_identifier
V4:customer_event_classification_identifier

product_identifier

(optional)

Product Identifier

The product of the customer event. Any type of products can be specified. The allowed product identifier fields are the following:

Include Page
V4:product_identifier
V4:product_identifier

payment_medium_type_identifier

(optional)

Payment Medium Type Identifier

The payment medium type of the customer event. Only payment medium types which are allowed in the related accounts receivable can be specified. The allowed payment medium type identifier fields are the following:

Include Page
V4:payment_medium_type_identifier
V4:payment_medium_type_identifier

payment_medium_brand_identifier

(optional)

Payment Medium Brand Identifier

The payment medium brand of the customer event. Only payment medium brands which are allowed in the related accounts receivable can be specified. The allowed payment medium brand identifier fields are the following:

Include Page
V4:payment_medium_brand_identifier
V4:payment_medium_brand_identifier

payment_medium_identifier

(optional)

StringThe payment medium identifier of the customer event.

amount

(optional)

Number

The financial achievement customer event's amount

Tip

Available from CRM.COM R11.0.0


performed_by_unit_identifier

(mandatory)

Unit Identifier
The unit that initiated the customer event. The allowed unit identifier fields are the following:

Include Page
V4:unit_identifier
V4:unit_identifier

performed_on

(mandatory)

DateThe date that the customer event was actually performed

description

(optional)

StringA description of the customer event

external_system

(optional)

String

Defines the third party system that generated the customer event

 


external_system_reference_number

(optional)

String

Defines the unique reference number of the customer event in the external system

Tip

Available from CRM.COM R10.1.0

 

 



udf_string_1

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3

(optional)

String

User Defined Field of type String

udf_string_4

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1

(optional)

Date

User Defined Field of type Date

udf_date_2

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

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: POST 


Request:

Body:

Code Block
languagejavascript
themeConfluence
languagejavascript
linenumberstrue
 {
   "token":"{{token}}",
   "accounts_receivable_identifier":{"number":"ACR0000000069"},
   "classification_identifier":{"name":"Financial Achievement 1"},
   "performed_by_unit_identifier":{"name":"Admin Unit"},
   "performed_on":"2016-10-07T15:00:00",
   "description":"Testing creation of financial achievement customer event through API",
   "payment_medium_brand_identifier":{"name":"VISA"},
   "payment_medium_type_identifier":{"alternative_code":"CC"},
   "payment_medium_identifier":"PI000002",
   "product_identifier":{"code":"Bronze"},
   "amount":"11.50",
   "udf_string_1":"udf string 1",
   "udf_string_2":"udf string 2",
   "udf_string_3":"udf string 3",
   "udf_string_4":"udf string 4",
   "udf_string_5":"udf string 5",
   "udf_string_6":"udf string 6",
   "udf_string_7":"udf string 7",
   "udf_string_8":"udf string 8",
   "udf_float_1":10,
   "udf_float_2":20,
   "udf_float_3":30,
   "udf_float_4":40,
   "udf_float_5":50,
   "udf_float_6":60,
   "udf_float_7":70,
   "udf_float_8":80,
   "udf_date_1":"2016-03-24T15:49:59",
   "udf_date_2":"2016-04-24T15:49:59",
   "udf_date_3":"2016-05-24T15:49:59",
   "udf_date_4":"2016-06-24T15:49:59"
 } 


Response:

Code Block
languagejavascript
themeConfluence
languagejavascript
linenumberstrue
 {
  "data": {
    "external_system_reference_number": null,
    "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-10-07T09:20:12",
      "updated_date": "2016-10-07T09:20:12",
      "updated_by_user": {
        "person_name": "CRM COM",
        "id": "1",
        "username": "MPAdministrator"
      },
      "created_by_user": {
        "person_name": "CRM COM",
        "id": "1",
        "username": "MPAdministrator"
      }
    },
    "payment_medium_brand": {
      "alternative_code": "V",
      "name": "VISA",
      "description": null,
      "id": "02DEEA7F35B8413E9C017600653C1223"
    },
    "description": "Testing creation of financial achievement customer event through API",
    "udf_date_2": "2016-04-24T15:49:59",
    "type": "FINANCIAL_ACHIEVEMENT",
    "udf_date_1": "2016-03-24T15:49:59",
    "udf_date_4": "2016-06-24T15:49:59",
    "udf_date_3": "2016-05-24T15:49:59",
    "number": "94",
    "udf_float_3": 30,
    "udf_float_4": 40,
    "award_reward_transactions_set": null,
    "id": "79845A8FF2D3407B84BC593536BBBFBB",
    "udf_float_1": 10,
    "udf_float_2": 20,
    "udf_string_2": "udf string 2",
    "udf_string_3": "udf string 3",
    "udf_string_4": "udf string 4",
    "amount": 11.5,
    "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"
    },
    "udf_string_5": "udf string 5",
    "udf_string_1": "udf string 1",
    "accounts_receivable": {
      "number": "ACR0000000069",
      "name": "ACR0000000069 Polina Kestora",
      "id": "8C1E866074D743EE834E910A28C1E582",
      "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": 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": 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
        }
      }
    },
    "life_cycle_state": "POSTED",
    "performed_on": "2016-10-07T15:00:00",
    "classification": {
      "alternative_code": "FA",
      "name": "Financial Achievement 1",
      "id": "39031C33C1AC4FB79140B27D1614CD6A"
    },
    "process_immediately": false,
    "payment_medium_type": {
      "alternative_code": "CC",
      "name": "CREDIT CARD",
      "description": null,
      "id": "68FAF1F833194091967F86B1AA352129"
    },
    "payment_medium_identifier": "PI000002",
    "udf_string_6": "udf string 6",
    "udf_string_7": "udf string 7",
    "performed_by_unit": {
      "alternative_code": "adminunit",
      "group_name": "Main Group",
      "community_name": "Community",
      "name": "Admin Unit",
      "description": "admin unit",
      "id": "1"
    },
    "udf_string_8": "udf string 8",
    "external_system": null
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

...



POST customer_events/financial_achievements/cancel

This method is used in order to cancel a posted financial achievement customer event. This method can be applied only on posted financial achievement customer events.  A single financial achievement customer event can be cancelled by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

customer_event_identifier

(mandatory)

Customer Event identifier  

The identifier of the customer event that should be cancelled. Only customer events of type financial achievement which are posted can be specified. The allowed customer event identifier fields are the following:

Include Page
V4:customer_event_identifier
V4:customer_event_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

Tip

Available from CRM.COM R10.0


Response Data

Include Page
V4:financial_achievement_customer_event_complete
V4:financial_achievement_customer_event_complete

...

Expand
titleExample 1

HTTP Method: POST

 


Request:


Body:

Code Block
languagejs
themeConfluence
languagejs
linenumberstrue
{
"token":"{{token}}",
"customer_event_identifier":{"id":"79845A8FF2D3407B84BC593536BBBFBB"}
}


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
 {
  "data": {
    "external_system_reference_number": null,
    "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-10-07T09:20:12",
      "updated_date": "2016-10-07T09:23:24",
      "updated_by_user": {
        "person_name": "CRM COM",
        "id": "1",
        "username": "MPAdministrator"
      },
      "created_by_user": {
        "person_name": "MPAdministrator",
        "id": "1",
        "username": "MPAdministrator"
      }
    },
    "payment_medium_brand": {
      "alternative_code": "V",
      "name": "VISA",
      "description": null,
      "id": "02DEEA7F35B8413E9C017600653C1223"
    },
    "description": "Testing creation of financial achievement customer event through API",
    "udf_date_2": null,
    "type": "FINANCIAL_ACHIEVEMENT",
    "udf_date_1": null,
    "udf_date_4": null,
    "udf_date_3": null,
    "number": "94",
    "udf_float_3": null,
    "udf_float_4": null,
    "award_reward_transactions_set": null,
    "id": "79845A8FF2D3407B84BC593536BBBFBB",
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_string_2": null,
    "udf_string_3": null,
    "udf_string_4": null,
    "amount": 11.5,
    "product": {
      "code": "Bronze",
      "alternative_code": "B",
      "description": "Bronze",
      "id": "F50CC52934BD4F119B6E18E215A4FC55"
    },
    "udf_string_5": null,
    "udf_string_1": null,
    "accounts_receivable": {
      "number": "ACR0000000069",
      "name": "ACR0000000069 Polina Kestora",
      "id": "8C1E866074D743EE834E910A28C1E582",
      "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": 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": 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
        }
      }
    },
    "life_cycle_state": "CANCELLED",
    "performed_on": "2016-10-07T15:00:00",
    "classification": {
      "alternative_code": "FA",
      "name": "Financial Achievement 1",
      "id": "39031C33C1AC4FB79140B27D1614CD6A"
    },
    "process_immediately": false,
    "payment_medium_type": {
      "alternative_code": "CC",
      "name": "CREDIT CARD",
      "description": null,
      "id": "68FAF1F833194091967F86B1AA352129"
    },
    "payment_medium_identifier": "PI000002",
    "udf_string_6": null,
    "udf_string_7": null,
    "performed_by_unit": {
      "alternative_code": "adminunit",
      "group_name": "Main Group",
      "community_name": "Community",
      "name": "Admin Unit",
      "description": "admin unit",
      "id": "1"
    },
    "udf_string_8": null,
    "external_system": null
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}


...