Tip |
---|
Available from CRM.COM R4.0.0 |
Table of Contents | ||
---|---|---|
|
GET wallets/show
This method returns information related with a wallet. Single wallet is returned by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
Wallet identifier
The identifier of the wallet that should be returned as a result. The allowed wallets 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:
|
GET wallets/list
This method returns information related with wallets. Multiple wallets are returned by each call.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
accounts_receivable_identifier
(semi-optional)
...
The identifier of the accounts receivable related with the wallets that should be returned as a result. The allowed accounts receivable identifier fields are the following:
...
subscription_identifier
(semi-optional)
...
The identifier of the subscription owned by the accounts receivable related with the wallets that should be returned as a result. The allowed subscription 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:
|
GET wallets/transactions/get_latest
This method is used to get the latest wallet transactions of a specific wallet.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
Wallet identifier
The identifier of the wallet that should be returned as a result. The allowed wallets identifier fields are the following:
...
wallet_transaction_type_identifier
(optional)
...
The wallet transactions type of the wallet transactions that should be retrieved in the results. The allowed wallet transaction type 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:
|
GET wallets/get_product_available_amount
This method is used to get the amount which is available for specific products for a specific period of time and a specific unit or group
Tip |
---|
Available from CRM.COM R5.0.0 |
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
Wallet identifier
The identifier of the wallet that should be returned as a result. The allowed wallets identifier fields are the following:
...
product_identifier
(mandatory)
...
The product for which the amount will be calculated for . The allowed product identifier fields are the following:
...
unit_identifier
(semi-optional)
...
The unit for which the amount will be calculated for. The allowed unit identifier fields are the following:
...
group_identifier
(semi-optional)
...
The group for which the amount will be calculated for. The allowed group identifier fields are the following:
...
as_of_date
(mandatory)
...
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:
|
POST wallets/get_effective
Tip |
---|
This method returns information related with the effective wallet which is related with a specific accounts receivable or rewards participant. A single wallet is returned by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
rewards_participant_identifier
(semi-optional)
...
The identifier of the rewards participant related with the effective wallet that should be retrieved as a result. The allowed rewards participant identifier fields are the following:
...
(semi-optional)
...
Accounts Receivable identifier
The identifier of the accounts receivable related with the effective wallet that should be retrieved as a result. The allowed accounts receivable 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
...
title | Example 1 |
---|
HTTP Method: POST
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000000007"},
"fields_set":"accounts_receivable,balance,currency,id,life_cycle_state,number"
} |
Response:
Code Block | ||
---|---|---|
| ||
{
"data": {
"number": "W0000000026",
"balance": 2919,
"accounts_receivable": {
"number": "ACR0000000007",
"name": "ACR0000000007 Mary Keller",
"id": "10A149D60365488AB53DCB889CFD98F8",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Mary Keller",
"last_name": "Keller",
"id": "64F72AE24DF644E6A9C2C21A3E397B67",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": "346346",
"type": "PERSON",
"first_name": "Mary",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "252365221",
"gender": null,
"country_of_residence": {
"alternative_code": "IRN",
"three_character_code": null,
"name": "IRAN (ISLAMIC REPUBLIC OF)",
"id": "231",
"two_character_code": null
},
"date_of_birth": {
"month": null,
"year": null,
"day": null
},
"industry_sector": null,
"passport_number": null,
"industry": null,
"social_security_number": null,
"id_issued_by_country": null,
"passport_issued_by_country": null
}
}
},
"currency": {
"suffix_symbol": null,
"prefix_symbol": "£",
"decimal_part_name": null,
"code": "GBP",
"integer_part_name": null,
"id": "9"
},
"id": "A69C2273A76046F5AF90F3EC99824195",
"life_cycle_state": "EFFECTIVE"
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
POST wallets/create
This method creates a wallet. Single wallet can be created by each call.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
accounts_receivable_identifier
(mandatory)
...
The identifier of the account receivable related with the wallet that should be created. The allowed accounts receivable identifier fields are the following:
...
udf_string_1
(optional)
...
User Defined Field of type String
...
udf_string_2
(optional)
...
User Defined Field of type String
...
udf_string_3
(optional)
...
User Defined Field of type String
...
udf_string_4
(optional)
...
User Defined Field of type String
...
udf_string_5
(optional)
...
User Defined Field of type String
...
udf_string_6
(optional)
...
User Defined Field of type String
...
udf_string_7
(optional)
...
User Defined Field of type String
...
udf_string_8
(optional)
...
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
...
(optional)
...
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: POST
Request: Body:
Response:
|
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request: Body:
Response:
|
POST wallets/update
This method updates a wallet. Single wallet can be updated by each call.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
The identifier of the wallet to be updated. The allowed wallet identifier fields are the following:
...
udf_string_1
(optional)
...
User Defined Field of type String
...
udf_string_2
(optional)
...
User Defined Field of type String
...
udf_string_3
(optional)
...
User Defined Field of type String
...
udf_string_4
(optional)
...
User Defined Field of type String
...
udf_string_5
(optional)
...
User Defined Field of type String
...
udf_string_6
(optional)
...
User Defined Field of type String
...
udf_string_7
(optional)
...
User Defined Field of type String
...
udf_string_8
(optional)
...
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
...
The information related with the consumption of the wallet amount by various products
...
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: POST
Request: Body:
Response:
|
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request: Body:
Response:
|
POST wallets/cancel
This method cancels a wallet. Single wallet can be cancelled by each call. Only effective wallets can be cancelled
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
The identifier of the wallet that should be cancelled. The allowed wallet 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
...
title | Example 1 |
---|
HTTP Method: GET
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token" : "5458B970EB51B99A1DD323C885000E58",
"wallet_identifier" : { "number" : "14" }
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"status":
{
"message": null,
"description": null,
"code": "OK"
},
"data":
{
"est_consumption_as_of_date": null,
"udf_float_1": null,
"udf_float_2": null,
"udf_float_3": null,
"number": "14",
"udf_float_4": null,
"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,
"est_consumption_days": null,
"accounts_receivable":
{
"account_owner":
{
"last_name": "Johnson",
"middle_name": null,
"company_profile": null,
"type": "PERSON",
"first_name": "Peter",
"name": "Peter Johnson",
"id": "C73D1572FEA76C37A08945ECE4DECC98",
"company_name": null,
"demographics":
{
"gender": "MALE",
"passport_issued_by_country": null,
"passport_number": "7839023",
"social_security_number": "98374",
"country_of_residence":
{
"name": "CYPRUS",
"id": "181"
},
"industry_sector":
{
"name": "GOVERNMENTAL",
"id": "A9BDEBD4D8FAEDB0BACE40C041156D12"
},
"date_of_birth":
{
"month": 4,
"day": 6,
"year": 1985
},
"name_day":
{
"month": 6,
"day": 29
},
"id_number": "984783",
"id_issued_by_country":
{
"name": "CYPRUS",
"id": "181"
},
"industry": null
}
},
"life_cycle_state": "ACTIVE",
"number": "192",
"name": "Peter Johnson Premium",
"id": "2C5FC6F615FA9E798487AC0C293ECCE6"
},
"id": "38E651C88B307119317DDA6EBF3248DF",
"balance": 0,
"udf_date_1": null,
"udf_date_2": null,
"udf_date_3": null,
"udf_date_4": null,
"est_consumption_date": null,
"product_consumptions_set":
[
{
"estimated_date": "2014-09-05T00:00:00",
"estimated_days": 5,
"id": "C2A1FFDAB6CB1E7574D18AFA6AF20583",
"estimated_as_of_date": "2014-09-08T00:00:00",
"daily_amount": 12,
"available_amount": 100,
"product":
{
"product_type": null,
"id": "5A9BCF1A573AE46057BFB39F5BCCAA47",
"description": "Lord of the Rings 6",
"code": "Lord of the Rings 6",
"alternative_code": "LOR6"
}
},
{
"estimated_date": "2014-09-05T00:00:00",
"estimated_days": 5,
"id": "B81D225217C18F8212494E288E46669F",
"estimated_as_of_date": "2014-09-08T00:00:00",
"daily_amount": 1,
"available_amount": 100,
"product":
{
"product_type": null,
"id": "3535CA95FCD0B73E337D10E522802EE5",
"description": "SERENDIPITY",
"code": "SERENDIPITY",
"alternative_code": "SER"
}
}
],
"log_information":
{
"updated_date": "2014-09-01T15:20:33",
"created_by_unit":
{
"community_name": "Main Community",
"group_name": "Main Group",
"name": "Admin Unit",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"description": "r1",
"alternative_code": "MG"
},
"created_date": "2014-09-01T15:19:20",
"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": "mp@ministrator.com"
},
"updated_by_user":
{
"person_name": "MPAdministrator",
"username": "MPAdministrator",
"id": "1",
"email": "mp@ministrator.com"
}
},
"life_cycle_state": "CANCELLED"
}
}
|
...
title | Example 2 |
---|
HTTP Method: GET
Request:
Body:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"{{token}}",
"wallet_identifier": {"number":"W0000000239"}
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": {
"log_information": {
"entity_name": null,
"created_by_unit": {
"alternative_code": "adminunit",
"group_name": "Main Group",
"community_name": "Community",
"name": "Admin Unit",
"description": "admin unit",
"id": "1"
},
"process_name": null,
"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-05T11:16:54",
"updated_date": "2016-07-05T11:29:19",
"updated_by_user": {
"person_name": "CRM COM",
"id": "1",
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"email": "dev@crm.com",
"username": "MPAdministrator"
}
},
"udf_date_2": "2014-06-05T15:49:59",
"product_consumption_set": [
{
"estimated_consumption_days": null,
"product": {
"code": "Gold",
"product_type": {
"service_type": "TERMED",
"used_for_provisioning": true,
"alternative_code": "Main Packages",
"composition_method": "FLAT",
"name": "Main Packages",
"description": null,
"id": "E186E293AAAB49EE86A729540A4287FE",
"classification": "SERVICES",
"physical_good_type": null
},
"alternative_code": "G",
"description": null,
"id": "D1EB074DFD904E54A0C67CAB9DC7E010"
},
"estimated_consumption_as_of_date": null,
"estimated_consumption_date": null,
"id": "BAC33ADD22A647EC8CE5048E0AA9F0D0"
}
],
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"number": "W0000000239",
"udf_float_3": 30,
"udf_float_4": 40,
"balance": 0,
"estimated_consumption_date": null,
"currency": {
"suffix_symbol": null,
"prefix_symbol": "€",
"decimal_part_name": null,
"code": "EUR",
"integer_part_name": null,
"id": "2"
},
"id": "1F5212B3BA964276A4232116C48C0A5E",
"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": "TEST",
"accounts_receivable": {
"number": "ACR0000000221",
"name": "ACR0000000221 Kyriacos16 Clerides",
"id": "F73BD30B13F64BE1A181AD4115B8D758",
"life_cycle_state": "ACTIVE",
"account_owner": {
"company_profile": null,
"company_name": null,
"name": "Kyriacos16 Clerides",
"last_name": "Clerides",
"id": "7747BAF431E9457D93D8E4A800DFFB1E",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Kyriacos16",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": "45786",
"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",
"estimated_consumption_days": null,
"estimated_consumption_as_of_date": null,
"allotment_group_conditions_set": [
{
"time_conditions_set": [],
"date_conditions_set": [],
"unit_conditions_set": [],
"total_amount": 0,
"product_conditions_set": [],
"id": "AEE26407C3F1434EABA3549DC678A12A",
"number_of_conditions": 0
}
],
"udf_string_6": "udf string 6",
"udf_string_7": "udf string 7",
"udf_string_8": "NEWTEST",
"allotments_set": [
{
"time_conditions_set": [],
"date_conditions_set": [],
"amount": 0,
"unit_conditions_set": [],
"validity_date": null,
"group_condition_id": "AEE26407C3F1434EABA3549DC678A12A",
"product_conditions_set": [],
"id": "663FE28782CC4A2C85EA0D92BFFE70B7"
}
]
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
POST wallets/get_expiring_balance
Tip |
---|
This method returns information related with the wallet balance that expires before a specified threshold date. The expiring balance of a single wallet can be retrieved by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(semi-optional)
...
The identifier of the wallet that should be returned in the results. The allowed wallet identifier fields are the following:
...
rewards_participant_identifier
(semi-optional)
...
The identifier of the rewards participant owning the wallet that should be returned in the results. The allowed rewards participant identifier fields are the following:
...
(semi-optional)
...
The identifier of the accounts receivable owning the wallet that should be returned in the results. The allowed accounts receivable identifier fields are the following:
...
threshold_date
(mandatory)
...
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":"101F9468E78B4CDB91716A60D3DFC5C8",
"wallet_identifier":{"number":"W0000000755"},
"threshold_date":"2016-10-30T14:00:59"
} |
Response:
Code Block | ||
---|---|---|
| ||
{
"data":
{
"balance": 38,
"expired_amount": 18,
"remaining_amount": 20,
"currency":
{
"suffix_symbol": "N/A",
"prefix_symbol": "\u20ac",
"decimal_part_name": "cents",
"code": "EUR",
"integer_part_name": "euro",
"id": "2"
}
},
"status":
{
"code": "OK",
"description": "",
"message": ""
}
} |
POST wallets/get_balance
Tip |
---|
This method returns information related with the balance of the wallet which is available either on the current date or as of a date in the future. The balance of a single wallet can be retrieved by each call.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(semi-optional)
...
The identifier of the wallet that should be returned in the results. The allowed wallet identifier fields are the following:
...
rewards_participant_identifier
(semi-optional)
...
The identifier of the rewards participant owning the wallet that should be returned in the results. The allowed rewards participant identifier fields are the following:
...
(semi-optional)
...
The identifier of the accounts receivable owning the wallet that should be returned in the results. The allowed accounts receivable identifier fields are the following:
...
as_of_date
(optional)
...
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":"D3D8429F9C90424C8898D5776EFDDC68",
"wallet_identifier":{"number":"W0000000682"},
"as_of_date":"2017-01-08T14:00:59"
} |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"data": {
"balance": 6,
"allotment_group_conditions_set": [
{
"time_conditions_set": [],
"date_conditions_set": [],
"unit_conditions_set": [],
"total_amount": 0,
"product_conditions_set": [],
"id": "1858C790DD4E4999916D6C0BF63D8A8B",
"number_of_conditions": 0
},
{
"time_conditions_set": [],
"date_conditions_set": [
{
"id": "9C9CE920101F4C34B48D0EAE5ACD03D1",
"day_of_week": "THURSDAY"
},
{
"id": "55D0E56851034822999DDB64621DC629",
"day_of_week": "FRIDAY"
},
{
"id": "FEC879A4EA584CD7B96E5D405869407E",
"day_of_week": "SATURDAY"
},
{
"id": "B3B4054B5D7744E4BA95D388CAD187A2",
"day_of_week": "MONDAY"
},
{
"id": "F769CB3077584ECFBE1822276DF864C7",
"day_of_week": "SUNDAY"
},
{
"id": "43C9C18B243740F6B4E3F0EBDABC72F1",
"day_of_week": "WEDNESDAY"
},
{
"id": "E90EA057542D47008495E1E12E21F1B7",
"day_of_week": "TUESDAY"
}
],
"unit_conditions_set": [
{
"unit": null,
"id": "7FB26506F6A54544B774F76164B45E42",
"group": {
"alternative_code": "A",
"community_name": "Internal",
"name": "Addidas",
"description": "Addidas",
"id": "FE1585AE3D954CC4AB956DB656FA847C"
}
}
],
"total_amount": 3,
"product_conditions_set": [
{
"product_family": null,
"product": {
"code": "Serendipity",
"product_type": {
"service_type": "USAGE",
"used_for_provisioning": true,
"alternative_code": "V",
"composition_method": "FLAT",
"name": "Usage Services",
"description": "Used for VOD , PPV, TELEPHONE CALLS ETC",
"id": "751C638AA3534B768408AAC4D73CF516",
"classification": "SERVICES",
"physical_good_type": null
},
"alternative_code": "S_1",
"description": "VOD: Serendipity ",
"id": "BD3ACEE7D6244DCAA375D0744DA75540"
},
"product_type": null,
"id": "EF79FF61BB074D6D841354FA3264B8F9"
}
],
"id": "3B180ADA495B48D6A2F64373113EE5EB",
"number_of_conditions": 9
},
{
"time_conditions_set": [],
"date_conditions_set": [
{
"id": "00AF0669BE14410B965F04C80A973B33",
"day_of_week": "WEDNESDAY"
},
{
"id": "8C8A05A8A5F24356A93AA18291CAFA89",
"day_of_week": "SUNDAY"
},
{
"id": "482E65AB09A8425A99FCD5714EDB14B5",
"day_of_week": "MONDAY"
},
{
"id": "5A11FE46247A404D993D96300A73B78B",
"day_of_week": "THURSDAY"
},
{
"id": "38C8FF27FA4942B2935FB160A0BA63C9",
"day_of_week": "FRIDAY"
},
{
"id": "9BE4EA94DF204524A3A0698A9C49F316",
"day_of_week": "SATURDAY"
},
{
"id": "18F4EDD786E6488FA224795958C0B58D",
"day_of_week": "TUESDAY"
}
],
"unit_conditions_set": [
{
"unit": null,
"id": "6DC0174C7B9D4D239AC7FAD36374953E",
"group": {
"alternative_code": "A",
"community_name": "Internal",
"name": "Addidas",
"description": "Addidas",
"id": "FE1585AE3D954CC4AB956DB656FA847C"
}
}
],
"total_amount": 3,
"product_conditions_set": [],
"id": "F72E65638747455D96A97D67980D05B9",
"number_of_conditions": 8
}
],
"currency": {
"suffix_symbol": "N/A",
"prefix_symbol": "€",
"decimal_part_name": "cents",
"code": "EUR",
"integer_part_name": "euro",
"id": "2"
},
"id": "46B9514E05F140C5B2193BEF103D1FD1"
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
GET wallets/transactions/get_current_period_transactions
Tip |
---|
Available from CRM.COM R12.0.0 |
This method is used to get the detailed information of a wallet's running and opening balance, as well as of the wallet amounts which were not considered during the latest wallet opening balance calculation. The opening balance of a single wallet can be retrieved by each call.
Resource URL
Parameters
...
(mandatory)
...
The identifier of the wallet that should be returned as a result. The allowed wallets identifier fields are the following:
...
fields_set
(optional)
...
List of Strings, comma separated
...
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 | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Response:
name | blue |
---|
Child pages (Children Display) | ||||
---|---|---|---|---|
|