Tip |
---|
Available from CRM.COM R5.0.0 |
Table of Contents maxLevel 2
GET customer_events/spend_requests/show
This method returns information related with a spend request customer event. A single spend request customer event is returned by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
Customer Event identifier
The identifier of the customer event that should be returned as a result. Only customer events of type spend request can be specified. The allowed customer event identifier fields are the following:
...
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.
Response Data
...
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
POST customer_events/spend_requests/list
This method returns information related with spend requests customer events. Multiple spend request 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)
...
(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:
...
(semi-optional)
...
The identifier of the classification related with the customer events that should be retrieved. The allowed customer event classification identifier fields are the following:
...
submitted_after_date
(optional)
...
if specified then information related with spend requests customer events that was submitted after the specified date should be retrieved
Tip |
---|
Available from CRM.COM R12.2.0 |
...
submitted_before_date
(optional)
...
if specified then information related with spend requests customer events that was submitted before the specified date should be retrieved
Tip |
---|
Available from CRM.COM R12.2.0 |
...
number_of_results
(optional)
...
The number of results that can be retrieved through each call
Tip |
---|
Available from CRM.COM R13.0.0 |
...
offset
(optional)
...
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. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
...
title | Example 1 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"476A07F7C99133EA35D9AEA25475C8C1",
"rewards_participant_identifier":{"access_token_identifier": {"identifier":"luciap","pass_code":"123456"}}
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"status":
{
"message": null,
"description": null,
"code": "OK"
},
"data":
[
{
"udf_float_1": 10,
"udf_float_2": 20,
"udf_float_3": 30,
"udf_float_4": 40,
"number": "2",
"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",
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "399",
"name": "Lucia Papapavlou",
"id": "2B669B8EB009BF42352C00B05FAB61CF"
},
"id": "EF01EDAD1341EAF60698E98804DEC684",
"classification":
{
"name": "Event Class Test 2",
"id": "C4CD55F1641D9D9711A780B6302475C0",
"alternative_code": "ect2"
},
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_2": "2014-06-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"process_immediately": 1,
"log_information":
{
"updated_date": "2014-11-17T14:02:28",
"created_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-11-17T14:02:26",
"updated_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"life_cycle_state": "POSTED",
"purchase_customer_event":
{
"number": "9",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"vat_amount": 20,
"process_immediately": 1,
"log_information":
{
"updated_date": "2014-11-28T14:56:22",
"created_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-11-14T15:28:46",
"updated_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"total_amount": 220,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "399",
"name": "Lucia Papapavlou",
"id": "2B669B8EB009BF42352C00B05FAB61CF"
},
"life_cycle_state": "POSTED",
"net_amount": 200,
"type": "PURCHASE",
"id": "99FE2CFD65E9CB1F8DE1E6C26B9A45C1",
"description": "first purchase event",
"reference_number": "RF333",
"performed_on": "2014-11-05T15:49:59"
},
"type": "SPEND_REQUEST",
"description": "standard spend request event",
"performed_on": "2014-05-05T15:49:59"
},
{
"udf_float_1": null,
"udf_float_2": null,
"udf_float_3": null,
"udf_float_4": null,
"number": "4",
"udf_string_1": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_6": null,
"udf_string_7": null,
"udf_string_8": null,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "399",
"name": "Lucia Papapavlou",
"id": "2B669B8EB009BF42352C00B05FAB61CF"
},
"id": "18573C92130B031F198E6D4657A19327",
"classification":
{
"name": "Classification Test 1",
"id": "37DA1DB4A0E325A37D12CD0B8AA7CDF5",
"alternative_code": "ct1"
},
"udf_date_1": null,
"udf_date_2": null,
"udf_date_3": null,
"udf_date_4": null,
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"process_immediately": 0,
"log_information":
{
"updated_date": "2014-11-17T14:49:00",
"created_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-11-17T14:48:29",
"updated_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"life_cycle_state": "POSTED",
"purchase_customer_event":
{
"number": "7",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"vat_amount": 5,
"process_immediately": 1,
"log_information":
{
"updated_date": "2014-11-28T14:56:06",
"created_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-11-13T15:05:00",
"updated_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"total_amount": 155,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "399",
"name": "Lucia Papapavlou",
"id": "2B669B8EB009BF42352C00B05FAB61CF"
},
"life_cycle_state": "POSTED",
"net_amount": 150,
"type": "PURCHASE",
"id": "F9E275A8842E16740F38BEFDB2A7B74B",
"description": "first purchase event",
"reference_number": "RF333",
"performed_on": "2014-11-20T15:49:59"
},
"type": "SPEND_REQUEST",
"description": null,
"performed_on": "2014-11-17T14:48:36"
},
{
"udf_float_1": 10,
"udf_float_2": 20,
"udf_float_3": 30,
"udf_float_4": 40,
"number": "5",
"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",
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "399",
"name": "Lucia Papapavlou",
"id": "2B669B8EB009BF42352C00B05FAB61CF"
},
"id": "49F03F54CBAB7714E493FDDB4AE47C2C",
"classification":
{
"name": "Event Class Test 2",
"id": "C4CD55F1641D9D9711A780B6302475C0",
"alternative_code": "ect2"
},
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_2": "2014-06-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"process_immediately": 1,
"log_information":
{
"updated_date": "2014-11-17T15:17:15",
"created_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-11-17T15:17:15",
"updated_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"life_cycle_state": "POSTED",
"purchase_customer_event":
{
"number": "9",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"vat_amount": 20,
"process_immediately": 1,
"log_information":
{
"updated_date": "2014-11-28T14:56:22",
"created_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-11-14T15:28:46",
"updated_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"total_amount": 220,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "399",
"name": "Lucia Papapavlou",
"id": "2B669B8EB009BF42352C00B05FAB61CF"
},
"life_cycle_state": "POSTED",
"net_amount": 200,
"type": "PURCHASE",
"id": "99FE2CFD65E9CB1F8DE1E6C26B9A45C1",
"description": "first purchase event",
"reference_number": "RF333",
"performed_on": "2014-11-05T15:49:59"
},
"type": "SPEND_REQUEST",
"description": "standard spend request event",
"performed_on": "2014-05-05T15:49:59"
}
]
} |
...
title | Example 2 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000050"}
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": [
{
"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-03-21T08:46:31",
"updated_date": "2016-03-21T08:47:02",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 5,
"description": "first purchase event",
"currency_rate_period": {
"from_date": "C7D7ED57F21B47028144967E015DCBE5",
"to_date": 2.3,
"rate": 2.3,
"inverse_rate": 0.23000000417232513,
"currency": {
"suffix_symbol": null,
"prefix_symbol": "£",
"decimal_part_name": null,
"code": "GBP",
"integer_part_name": null,
"id": "9"
},
"id": "C7D7ED57F21B47028144967E015DCBE5"
},
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": null,
"number": "4",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "0788B43780024E3793E72D9A0B824E87",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-03-21T09:30:58",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": {
"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": "2015-03-21T07:30:58",
"updated_date": "2016-03-21T07:37:09",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "CANCELLED",
"type": "PURCHASE",
"classification": null,
"performed_on": "2015-03-21T07:30:58",
"reference_number": "888",
"process_immediately": 1,
"number": "10",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 5,
"id": "3B02F6A58A1145C68C48D731416B85BE",
"net_amount": 5,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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"
},
{
"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-03-21T09:02:00",
"updated_date": "2016-03-21T09:02:09",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 5,
"description": "first purchase event",
"currency_rate_period": null,
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": null,
"number": "8",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "E27B9CEDF9F44355A105144200EC0F57",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-03-21T09:30:58",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": {
"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": "2015-03-21T07:30:58",
"updated_date": "2016-03-21T07:37:09",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "CANCELLED",
"type": "PURCHASE",
"classification": null,
"performed_on": "2015-03-21T07:30:58",
"reference_number": "888",
"process_immediately": 1,
"number": "10",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 5,
"id": "3B02F6A58A1145C68C48D731416B85BE",
"net_amount": 5,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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"
},
{
"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-03-21T08:58:49",
"updated_date": "2016-03-21T08:59:20",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 5,
"description": "first purchase event",
"currency_rate_period": null,
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": null,
"number": "7",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "81E9103668074BCF881CA107EC5AEA4F",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-03-21T09:30:58",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": {
"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": "2015-03-21T07:30:58",
"updated_date": "2016-03-21T07:37:09",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "CANCELLED",
"type": "PURCHASE",
"classification": null,
"performed_on": "2015-03-21T07:30:58",
"reference_number": "888",
"process_immediately": 1,
"number": "10",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 5,
"id": "3B02F6A58A1145C68C48D731416B85BE",
"net_amount": 5,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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"
},
{
"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-16T12:42:39",
"updated_date": "2016-06-16T12:42:39",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 12,
"description": null,
"currency_rate_period": null,
"udf_date_2": null,
"type": "SPEND_REQUEST",
"udf_date_1": null,
"udf_date_4": null,
"udf_date_3": null,
"spend_reward_transaction": {
"number": "32",
"vat_amount": 0,
"total_amount": 0,
"id": "5709FFB62DDF4368A80F1E6C2F361E34",
"net_amount": 0,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "45",
"udf_float_3": null,
"udf_float_4": null,
"id": "53AFC6730C014F23993AE0ABDF06C287",
"udf_float_1": null,
"udf_float_2": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_1": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-05-05T15:49:59",
"classification": null,
"purchase_customer_event": {
"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": "2015-03-21T08:59:47",
"updated_date": "2016-03-21T09:00:30",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": {
"alternative_code": "PC",
"name": "Purchase Classification",
"id": "437DED6938054AD5BEC61BB6AF2B1F65"
},
"performed_on": "2015-03-21T08:59:47",
"reference_number": "15",
"process_immediately": 1,
"number": "13",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 12,
"id": "67EFD04703264C63BCD106A3165B383F",
"net_amount": 12,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 0,
"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
},
{
"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-16T12:42:17",
"updated_date": "2016-06-16T12:42:17",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 12,
"description": null,
"currency_rate_period": null,
"udf_date_2": null,
"type": "SPEND_REQUEST",
"udf_date_1": null,
"udf_date_4": null,
"udf_date_3": null,
"spend_reward_transaction": {
"number": "31",
"vat_amount": 0,
"total_amount": 0,
"id": "8E570CC36324423797A025548714A4A7",
"net_amount": 0,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "44",
"udf_float_3": null,
"udf_float_4": null,
"id": "BBF5015F089240B0A7D91DD1C4F68DA0",
"udf_float_1": null,
"udf_float_2": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_1": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-05-05T15:49:59",
"classification": null,
"purchase_customer_event": {
"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": "2015-03-21T08:59:47",
"updated_date": "2016-03-21T09:00:30",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": {
"alternative_code": "PC",
"name": "Purchase Classification",
"id": "437DED6938054AD5BEC61BB6AF2B1F65"
},
"performed_on": "2015-03-21T08:59:47",
"reference_number": "15",
"process_immediately": 1,
"number": "13",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 12,
"id": "67EFD04703264C63BCD106A3165B383F",
"net_amount": 12,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 0,
"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
},
{
"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-16T12:41:36",
"updated_date": "2016-06-16T12:41:36",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 12,
"description": null,
"currency_rate_period": null,
"udf_date_2": null,
"type": "SPEND_REQUEST",
"udf_date_1": null,
"udf_date_4": null,
"udf_date_3": null,
"spend_reward_transaction": {
"number": "30",
"vat_amount": 0,
"total_amount": 0,
"id": "3481E30E966041CF8965DFA35DE65232",
"net_amount": 0,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "43",
"udf_float_3": null,
"udf_float_4": null,
"id": "8E89EF9113204628B7A132EBAFDD160F",
"udf_float_1": null,
"udf_float_2": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_1": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-05-05T15:49:59",
"classification": null,
"purchase_customer_event": {
"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": "2015-03-21T08:59:47",
"updated_date": "2016-03-21T09:00:30",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": {
"alternative_code": "PC",
"name": "Purchase Classification",
"id": "437DED6938054AD5BEC61BB6AF2B1F65"
},
"performed_on": "2015-03-21T08:59:47",
"reference_number": "15",
"process_immediately": 1,
"number": "13",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 12,
"id": "67EFD04703264C63BCD106A3165B383F",
"net_amount": 12,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 0,
"udf_strin{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000050"}
}g_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
}
],
"status": {
"code": "OK",
"description": "",
"message": ""
}
}
|
...
title | Example 3 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000050"}
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": [
{
"currency_period": 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-05T13:38:48",
"updated_date": "2016-07-05T13:38:48",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 88,
"description": null,
"udf_date_2": null,
"type": "SPEND_REQUEST",
"udf_date_1": null,
"udf_date_4": null,
"udf_date_3": null,
"spend_reward_transaction": {
"number": "38",
"vat_amount": 8,
"total_amount": 88,
"id": "042574A4D9544035846DAD21D589DE7D",
"net_amount": 80,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "49",
"udf_float_3": null,
"udf_float_4": null,
"id": "0E34FFC02BD44668ACEB6764D1B2697B",
"udf_float_1": null,
"udf_float_2": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_1": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-06-22T15:00:00",
"classification": null,
"purchase_customer_event": {
"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-05T13:38:48",
"updated_date": "2016-07-05T13:38:48",
"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,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": null,
"performed_on": "2016-06-22T15:00:00",
"reference_number": "106",
"process_immediately": 1,
"number": "107",
"payment_medium_type": null,
"payment_medium_identifier": null,
"vat_amount": 8,
"award_reward_transactions_set": null,
"total_amount": 88,
"id": "C4C48B61176D4E9EB0BECBB5DFC031E5",
"net_amount": 80,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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
},
{
"currency_period": 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-03-21T09:02:00",
"updated_date": "2016-03-21T09:02:09",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": null,
"description": "first purchase event",
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": null,
"number": "8",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "E27B9CEDF9F44355A105144200EC0F57",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-03-21T09:30:58",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": null,
"process_immediately": 1,
"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
},
{
"currency_period": {
"from_date": "C7D7ED57F21B47028144967E015DCBE5",
"to_date": 2.3,
"rate": 2.3,
"inverse_rate": 0.23000000417232513,
"currency": {
"suffix_symbol": null,
"prefix_symbol": "£",
"decimal_part_name": null,
"code": "GBP",
"integer_part_name": null,
"id": "9"
},
"id": "C7D7ED57F21B47028144967E015DCBE5"
},
"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-03-21T08:46:31",
"updated_date": "2016-03-21T08:47:02",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": null,
"description": "first purchase event",
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": null,
"number": "4",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "0788B43780024E3793E72D9A0B824E87",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-03-21T09:30:58",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": null,
"process_immediately": 1,
"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
},
{
"currency_period": 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-05T13:08:14",
"updated_date": "2016-07-05T13:08:14",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": null,
"description": "first purchase event",
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": {
"number": "34",
"vat_amount": 0,
"total_amount": 12,
"id": "4B63EC94751D4FD1BCA8DA6DEABC1C0A",
"net_amount": 12,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "47",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "2A6AA3EB01644714993FA644C089DDB5",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-07-02T08:49:59",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": null,
"process_immediately": 1,
"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
},
{
"currency_period": 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-18T08:37:03",
"updated_date": "2016-07-18T08:37:03",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 88,
"description": "first purchase event",
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": {
"number": "73",
"vat_amount": 8,
"total_amount": 88,
"id": "EF642C642DF2498586502A7B19588C44",
"net_amount": 80,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "92",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "D8177679AB5C478BBB5B892BFD61235F",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-07-02T08:49:59",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": {
"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-05T13:38:48",
"updated_date": "2016-07-05T13:38:48",
"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,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": null,
"performed_on": "2016-06-22T15:00:00",
"reference_number": "106",
"process_immediately": 1,
"number": "107",
"payment_medium_type": null,
"payment_medium_identifier": null,
"vat_amount": 8,
"award_reward_transactions_set": null,
"total_amount": 88,
"id": "C4C48B61176D4E9EB0BECBB5DFC031E5",
"net_amount": 80,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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": ""
}
} |
...
title | Example 4 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000391"},
"fields_set": "number,performed_on",
"submitted_before_date":"2016-11-03T15:00:12"
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": [
{
"number": "86",
"performed_on": "2016-07-21T11:20:59"
},
{
"number": "87",
"performed_on": "2016-07-21T11:20:59"
},
{
"number": "108",
"performed_on": "2016-07-22T10:50:12"
},
{
"number": "109",
"performed_on": "2016-07-22T09:21:59"
}
],
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
POST customer_events/spend_requests/create
This method is used to create a spend request 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)
...
The related accounts receivable. The allowed accounts receivable identifier fields are the following:
...
Tip |
---|
...
rewards_participant_identifier
(semi-optional)
...
Tip |
---|
...
classification_identifier
(optional)
...
performed_by_unit_identifier
(mandatory)
...
performed_on
(mandatory)
...
description
(optional)
...
process_immediately
(optional)
...
purchase_customer_request_identifier
(mandatory)
...
Customer Event identifier
The purchase customer event which is requested to be settled by the specified spend request. Only customer events of type purchase can be specified. The allowed customer event identifier fields are the following:
...
Tip |
---|
...
spend_amount
(optional)
...
The amount to be spend by the specified spend request. This is applicable depending on the classification of the spend request and only if it is allowed by a spend request customer event rule, as defined through the active customer event definition
Tip |
---|
...
intended_currency_identifier
(optional)
...
The currency that the user was intended to use for the customer event. If specified then it is validated against the currency of the related performed by unit (i.e. the default currency) and if they don't match then an error is throw. Note that the intended currency is not saved within CRM.COM; it is just used for validation purposes. The allowed currency identifier fields are the following:
...
Tip |
---|
...
external_system
(optional)
...
Defines the third party system that generates the spend request customer event
Tip |
---|
Available from CRM.COM R10.0.0 |
...
external_system_reference_number
(optional)
...
Defines the unique reference number of the spend request customer event in the external system
Tip |
---|
Available from CRM.COM R10.1.0 |
...
udf_string_1
(optional)
...
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
Tip |
---|
Available from CRM.COM R10.0.0 |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
...
title | Example 1 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"56C3E3600D8A20BE53626F7E1BD85329",
"accounts_receivable_identifier":{"number":"463"},
"classification_identifier":{"name":"Event Class Test 2"},
"performed_by_unit_identifier":{"name":"Admin Unit"},
"purchase_customer_request_identifier":{"number":"42"},
"performed_on":"2015-02-02T08:49:59",
"description":"first purchase event",
"process_immediately":1,
"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":"2014-05-05T15:49:59",
"udf_date_2":"2014-06-05T15:49:59",
"udf_date_3":"2014-07-05T15:49:59",
"udf_date_4":"2014-08-05T15:49:59"
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"status":
{
"message": null,
"description": null,
"code": "OK"
},
"data":
{
"udf_float_1": 10,
"udf_float_2": 20,
"udf_float_3": 30,
"udf_float_4": 40,
"number": "12",
"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",
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "463",
"name": "Loukia Papapavlou",
"id": "ECEBDFA26C8B04960EC1C6D99363D48C"
},
"id": "96BF1C19D1B15DD6F39CE1FE5CE041C7",
"classification":
{
"name": "Event Class Test 2",
"id": "C4CD55F1641D9D9711A780B6302475C0",
"alternative_code": "ect2"
},
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_2": "2014-06-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"process_immediately": 1,
"log_information":
{
"updated_date": "2015-02-02T09:26:11",
"created_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2015-02-02T09:26:11",
"updated_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "Marios Lannister",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "Marios Lannister",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"life_cycle_state": "POSTED",
"purchase_customer_event":
{
"number": "42",
"performed_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"vat_amount": 10,
"process_immediately": 0,
"log_information":
{
"updated_date": "2015-02-02T09:24:47",
"created_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2015-02-02T09:23:45",
"updated_by_unit":
{
"community_name": null,
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": null
}
},
"total_amount": 20,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Papapavlou",
"life_cycle_state": "FINANCIAL",
"middle_name": "Andreas",
"company_profile": null,
"title": "Ms",
"type": "PERSON",
"first_name": "Lucia",
"name": "Lucia Papapavlou",
"id": "1D92B269658D80DEDF2499E25201739E",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"passport_number": "113115",
"social_security_number": "113116",
"country_of_residence":
{
"name": "UNITED KINGDOM",
"id": "126"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
"alternative_code": "GOV"
},
"date_of_birth":
{
"month": 1,
"day": 1,
"year": 1990
},
"name_day":
{
"month": 5,
"day": 5
},
"id_number": "113114",
"id_issued_by_country":
{
"name": "GREECE",
"id": "209"
},
"industry":
{
"name": "Interior Design",
"id": "06B638258885DA26FA2BD40D9128D04E",
"code": "INTDS"
}
}
},
"life_cycle_state": "ACTIVE",
"number": "463",
"name": "Loukia Papapavlou",
"id": "ECEBDFA26C8B04960EC1C6D99363D48C"
},
"life_cycle_state": "POSTED",
"net_amount": 10,
"type": "PURCHASE",
"id": "C4A4C37BE30891479C6555A2E204875C",
"description": null,
"reference_number": "20",
"performed_on": "2015-02-02T09:23:55"
},
"type": "SPEND_REQUEST",
"description": "first purchase event",
"performed_on": "2015-02-02T08:49:59"
}
} |
...
title | Example 2 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"170"},
"classification_identifier":{"name":"3rd Party System Initiated"},
"performed_by_unit_identifier":{"name":"Admin Unit"},
"purchase_customer_request_identifier":{"number":"3"},
"performed_on":"2014-05-05T15:49:59",
"description":"first purchase event",
"process_immediately":0,
"social_media":"FACEBOOK",
"profile":"www.facebook.com/lucia",
"action":"LIKE",
"fields_set":"number,id,classification,accounts_receivable,purchase_customer_event"
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"status": {
"message": "",
"description": "",
"code": "OK"
},
"data": {
"accounts_receivable": {
"account_owner": {
"last_name": "Pickman",
"middle_name": "Li",
"life_cycle_state": "FINANCIAL",
"company_profile": null,
"title": "Mr",
"first_name": "Jessie",
"type": "PERSON",
"id": "F9A629E466B1EF473CECD46F2A4D63F3",
"name": "Pickman Jessie",
"company_name": null,
"demographics": {
"gender": "MALE",
"passport_issued_by_country": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"social_security_number": "434567",
"passport_number": "54567432",
"industry_sector": {
"id": "03EA93890F51506ABD9E994CD826EC78",
"name": "FINANCIALS",
"alternative_code": "FIN"
},
"country_of_residence": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"name_day": {
"month": 4,
"day": 2
},
"date_of_birth": {
"month": 11,
"day": 1,
"year": 1988
},
"id_number": "983452",
"industry": {
"id": "31BC2070C79EAE5455BFAD41599C5190",
"name": "Marketing1",
"code": "MK"
},
"id_issued_by_country": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
}
}
},
"life_cycle_state": "ACTIVE",
"number": "170",
"id": "903B55B02EAC74FE25E12F8786D44011",
"name": "Jessie01"
},
"classification": {
"id": "602130E6B9F01FA657C5EC0891E93CD0",
"name": "3rd Party System Initiated",
"alternative_code": "3PSI"
},
"purchase_customer_event": {
"award_reward_transactions_set": null,
"classification": {
"id": "0647739C25A085184703A6F0047808B6",
"name": "5 Stars Sales Person Achievement",
"alternative_code": "5SSPA"
},
"number": "3",
"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": 0,
"vat_amount": 2.5,
"log_information": {
"updated_date": "2015-01-09T12:25:20",
"created_date": "2015-01-09T12:16:10",
"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": "p_xenopoulou",
"username": "p_xenopoulou",
"id": "159C17D9C4B1E48DC129FBC701D38438"
},
"updated_by_user": {
"person_name": "p_xenopoulou",
"username": "p_xenopoulou",
"id": "159C17D9C4B1E48DC129FBC701D38438"
}
},
"total_amount": 27.5,
"life_cycle_state": "POSTED",
"accounts_receivable": {
"account_owner": {
"last_name": "Pickman",
"middle_name": "Li",
"life_cycle_state": "FINANCIAL",
"company_profile": null,
"title": "Mr",
"first_name": "Jessie",
"type": "PERSON",
"id": "F9A629E466B1EF473CECD46F2A4D63F3",
"name": "Pickman Jessie",
"company_name": null,
"demographics": {
"gender": "MALE",
"passport_issued_by_country": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"social_security_number": "434567",
"passport_number": "54567432",
"industry_sector": {
"id": "03EA93890F51506ABD9E994CD826EC78",
"name": "FINANCIALS",
"alternative_code": "FIN"
},
"country_of_residence": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"name_day": {
"month": 4,
"day": 2
},
"date_of_birth": {
"month": 11,
"day": 1,
"year": 1988
},
"id_number": "983452",
"industry": {
"id": "31BC2070C79EAE5455BFAD41599C5190",
"name": "Marketing1",
"code": "MK"
},
"id_issued_by_country": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
}
}
},
"life_cycle_state": "ACTIVE",
"number": "170",
"id": "903B55B02EAC74FE25E12F8786D44011",
"name": "Jessie01"
},
"type": "PURCHASE",
"net_amount": 25,
"id": "1A862D9C3679D9263AD467712E7FE0F8",
"description": null,
"reference_number": "10-10-102",
"performed_on": "2015-01-09T12:25:08"
},
"number": "102",
"id": "A408E14AF98348568611C66A275E85B5"
}
} |
...
title | Example 3 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000050"},
"classification_identifier":{"name":"Spend Request"},
"performed_by_unit_identifier":{"name":"Admin Unit"},
"purchase_customer_request_identifier":{"number":"13"},
"performed_on":"2016-07-02T08:49:59",
"description":"first purchase event",
"process_immediately":1,
"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":"2014-05-05T15:49:59",
"udf_date_2":"2014-06-05T15:49:59",
"udf_date_3":"2014-07-05T15:49:59",
"udf_date_4":"2014-08-05T15:49:59"
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": {
"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-05T13:08:14",
"updated_date": "2016-07-05T13:08:14",
"updated_by_user": {
"person_name": "CRM COM",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "CRM COM",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 12,
"description": "first purchase event",
"currency_rate_period": null,
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": {
"number": "34",
"vat_amount": 0,
"total_amount": 12,
"id": "4B63EC94751D4FD1BCA8DA6DEABC1C0A",
"net_amount": 12,
"life_cycle_state": "POSTED",
"rewards_participant": {
"number": "RP0000000040",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "F4DBD2BA358545D3BBFD183D4651D5F2"
}
},
"number": "47",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "2A6AA3EB01644714993FA644C089DDB5",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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",
"performed_on": "2016-07-02T08:49:59",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": {
"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": "2015-03-21T08:59:47",
"updated_date": "2016-03-21T09:00:30",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": {
"alternative_code": "PC",
"name": "Purchase Classification",
"id": "437DED6938054AD5BEC61BB6AF2B1F65"
},
"performed_on": "2015-03-21T08:59:47",
"reference_number": "15",
"process_immediately": 1,
"number": "13",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 12,
"id": "67EFD04703264C63BCD106A3165B383F",
"net_amount": 12,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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"
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
}
|
POST customer_events/spend_requests/cancel
This method is used in order to cancel a posted spend request customer event. This method can be applied only on posted spend request customer events. A single spend request customer event can be cancelled by each call
Tip |
---|
Available from CRM.COM R9.0.0 |
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 spend request which are posted can be specified. The allowed customer event identifier fields are the following:
...
fields_set
(optional)
...
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.0 |
Response Data
...
Examples
Expand | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"8868DA44EBC44E81A841911932DCF561",
"customer_event_identifier":{"number":"10"}
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"status":
{
"message": "",
"description": "",
"code": "OK"
},
"data":
{
"udf_float_1": null,
"udf_float_2": null,
"udf_float_3": null,
"udf_float_4": null,
"number": "10",
"udf_string_1": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"spend_reward_transaction": null,
"udf_string_5": null,
"udf_string_6": null,
"udf_string_7": null,
"udf_string_8": null,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Rewards",
"middle_name": null,
"life_cycle_state": "FINANCIAL",
"company_profile": null,
"title": null,
"first_name": "Jessica",
"type": "PERSON",
"id": "79B02448A3F3A9890FCFA899A94D6D72",
"name": "Rewards Jessica",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country": null,
"social_security_number": "867583",
"passport_number": "867583",
"industry_sector": null,
"country_of_residence":
{
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"name_day":
{
"month": null,
"day": null
},
"date_of_birth":
{
"month": null,
"day": null,
"year": null
},
"id_number": "867582",
"industry": null,
"id_issued_by_country": null
}
},
"life_cycle_state": "ACTIVE",
"number": "ACR000331",
"id": "1F695BE767C2EC001433CA9E1C0F47BA",
"name": "Jessica Rewards"
},
"id": "020A9ED52DB0DD6676358D3AEF054751",
"classification":
{
"id": "602130E6B9F01FA657C5EC0891E93CD0",
"name": "3rd Party System Initiated",
"alternative_code": "3PSI"
},
"udf_date_1": null,
"udf_date_2": null,
"udf_date_3": null,
"udf_date_4": null,
"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,
"log_information":
{
"updated_date": "2016-02-24T17:43:34",
"created_date": "2015-01-22T11:29:58",
"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"
},
"updated_by_user":
{
"person_name": "Marios Lannister",
"username": "MPAdministrator",
"id": "1"
}
},
"life_cycle_state": "CANCELLED",
"purchase_customer_event":
{
"award_reward_transactions_set": null,
"classification":
{
"id": "602130E6B9F01FA657C5EC0891E93CD0",
"name": "3rd Party System Initiated",
"alternative_code": "3PSI"
},
"number": "10",
"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,
"vat_amount": 20,
"log_information":
{
"updated_date": "2015-01-15T15:41:27",
"created_date": "2015-01-15T15:41:27",
"created_by_unit":
{
"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":
{
"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"
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1"
}
},
"total_amount": 220,
"life_cycle_state": "POSTED",
"accounts_receivable":
{
"account_owner":
{
"last_name": "Rewards",
"middle_name": null,
"life_cycle_state": "FINANCIAL",
"company_profile": null,
"title": null,
"first_name": "Jessica",
"type": "PERSON",
"id": "79B02448A3F3A9890FCFA899A94D6D72",
"name": "Rewards Jessica",
"company_name": null,
"demographics":
{
"gender": "FEMALE",
"passport_issued_by_country": null,
"social_security_number": "867583",
"passport_number": "867583",
"industry_sector": null,
"country_of_residence":
{
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"name_day":
{
"month": null,
"day": null
},
"date_of_birth":
{
"month": null,
"day": null,
"year": null
},
"id_number": "867582",
"industry": null,
"id_issued_by_country": null
}
},
"life_cycle_state": "ACTIVE",
"number": "ACR000331",
"id": "1F695BE767C2EC001433CA9E1C0F47BA",
"name": "Jessica Rewards"
},
"type": "PURCHASE",
"net_amount": 200,
"id": "DF28CCF333183905E2AF793151D710E0",
"description": "TEST API CREATE",
"reference_number": "RF334",
"performed_on": "2015-01-15T15:49:59"
},
"type": "SPEND_REQUEST",
"description": "first purchase event",
"performed_on": "2015-01-22T21:49:59"
}
} |
title | Example 2 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"customer_event_identifier":{"number":"48"}
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": {
"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-05T13:15:35",
"updated_date": "2016-07-05T13:17:13",
"updated_by_user": {
"person_name": "CRM COM",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"spend_amount": 12,
"description": "first purchase event",
"currency_rate_period": null,
"udf_date_2": "2014-06-05T15:49:59",
"type": "SPEND_REQUEST",
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"spend_reward_transaction": null,
"number": "48",
"udf_float_3": 30,
"udf_float_4": 40,
"id": "858625C259344A4A9019C9835FEB3DD2",
"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",
"udf_string_5": "udf string 5",
"udf_string_1": "udf string 1",
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "CANCELLED",
"performed_on": "2016-07-02T08:49:59",
"classification": {
"alternative_code": "SRC",
"name": "Spend Request",
"id": "7F6B89D7437E4A64AC7C4B38CBFC575E"
},
"purchase_customer_event": {
"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": "2015-03-21T08:59:47",
"updated_date": "2016-03-21T09:00:30",
"updated_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"username": "MPAdministrator"
}
},
"description": null,
"accounts_receivable": {
"number": "ACR0000000050",
"name": "ACR0000000050 Ekaterini Tzirtzipi",
"id": "1B61E3A9DB864363A1502829952DF3CD",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Ekaterini Tzirtzipi",
"last_name": "Tzirtzipi",
"id": "3236797A43C746F8AD9F4A91A4035735",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Ekaterini",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "343434",
"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": "PURCHASE",
"classification": {
"alternative_code": "PC",
"name": "Purchase Classification",
"id": "437DED6938054AD5BEC61BB6AF2B1F65"
},
"performed_on": "2015-03-21T08:59:47",
"reference_number": "15",
"process_immediately": 1,
"number": "13",
"vat_amount": 0,
"award_reward_transactions_set": null,
"total_amount": 12,
"id": "67EFD04703264C63BCD106A3165B383F",
"net_amount": 12,
"performed_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
}
},
"process_immediately": 1,
"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"
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
title | Example 3 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"customer_event_identifier":{"number":"104"}
} |
Response:
theme | Confluence |
---|---|
language | javascript |
linenumbers | true |
name | blue |
---|
Child pages (Children Display) | ||
---|---|---|
|