HTTP Method: POST
Request
Body Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"token": "{{token}}",
"name": "MikeNew Participant Tysonaccount GBP",
"description": "normal account",
"notes": "there are currently no notes",
"vat_number": "10",
"credit_limit": :10,
"credit_period_operator": "PLUS",
"credit_period": 2,
"classification_identifier":{"alternative_code":"VC"},
"credit_rating_code": "AAA",
"owned_by_group_identifier": {
"name": "Main Group"
},
"contact_information": {
"action": "NEW",
"type": "PERSON",
"first_name": "MohammedNew",
"last_name":"Tyson J.",Participant from account ",
"address_set": [
{
[ "type": "HOME",
{ "street_name": "Thomas V"
}
]
},
"billing_address": {
"action": "EXISTING",
"type": "HOME",
},
"rewards": {
"sign_up_on":"2019-07-23T17:00:00",
"street_sign_up_by_unit_identifier":{"name":"ThomasAdmin VUnit"},
"participating_schemes_set":
[
}{
]
"sign_up_on": "2019-07-23T17:00:00" ,
}, "billing_address":
{sign_up_by_unit_identifier":{"name":"Admin Unit"},
"reward_scheme_identifier":{"name":"Main Rewards Scheme"},
"email_address":"test@crm.com",
"reference_code":"test"
}
],
"enable_automatic_spend":true,
"minimum_wallet_balance":10,
"minimum_spend_amount":1,
"maximum_spend_amount":15,
"authorised_rewards_participating_merchants_set":
[
{
"rewards_participating_merchant_identifier":{"unit_identifier":{"name":"Kounta Unit"}}
}
]
}
} |
Response Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
|
{
"data": {
"notes": "Administrator Company\t23/7/2019 18:22:13\tthere are currently no notes",
"log_information": {
"created_by_unit": {
"alternative_code": "MU",
"group_name": "Main Group",
"community_name": "Main Community",
"name": "Main Unit",
"description": "Main Unit",
"id": "1"
},
"updated_by_unit": {
"alternative_code": "MU",
"group_name": "Main Group",
"community_name": "Main Community",
"name": "Main Unit",
"description": "Main Unit",
"id": "1"
},
"created_date": "2019-07-23T18:22:15",
"updated_date": "2019-07-23T18:22:15",
"updated_by_user": {
"person_name": "Administrator Company",
"id": "1",
"email": "crm@crm.com",
"username": "mpadministrator"
},
"created_by_user": {
"person_name": "Administrator Company",
"id": "1",
"email": "crm@crm.com",
"username": "mpadministrator"
}
},
"payment_preferences_set": [],
"owned_by_group": {
"alternative_code": "MG",
"community_name": "Main Community",
"name": "Main Group",
"description": "Main Group",
"id": "1",
"unified_code": "MG"
},
"custom_field_set": [],
"description": "normal account",
"contact_information": {
"company_profile": null,
"company_name": null,
"name": "New Participant from account",
"last_name": "Participant from account ",
"id": "1DAEA7DF3936465BA95CFDA8261F5A03",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "New",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": null,
"passport_number_expiration_date": null,
"gender": null,
"country_of_residence": {
"alternative_code": "CY",
"three_character_code": "CYP",
"name": "CYPRUS",
"id": "1604",
"two_character_code": "CY"
},
"date_of_birth": {
"month": null,
"year": null,
"day": null
},
"id_number_expiration_date": null,
"passport_number": null,
"social_security_number": null,
"id_issued_by_country": null,
"passport_issued_by_country": null
}
},
"billing_address": {
"country": {
"alternative_code": "CY",
"three_character_code": "CYP",
"name": "CYPRUS",
"id": "1604",
"two_character_code": "CY"
},
"apartment_number": null,
"care_of": null,
"is_primary": true,
"municipality": null,
"type": "HOME",
"udf_date_2": null,
"udf_date_1": null,
"udf_date_4": null,
"street_name": "Thomas V",
"udf_date_3": null,
"udf_float_3": null,
"udf_float_4": null,
"udf_string_15": null,
"po_box_postal_code": null,
"udf_string_16": null,
"udf_string_13": null,
"udf_string_14": null,
"udf_string_11": null,
"udf_string_12": null,
"id": "B8CCCD2FB9FE4E199E904D4C7F234309",
"udf_string_10": null,
"udf_float_1": null,
"floor": null,
"udf_float_2": null,
"udf_string_2": null,
"area": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_1": null,
"po_box": null,
"town_city": null,
"district": null,
"street_number": null,
"postal_code": null,
"udf_string_6": null,
"udf_string_7": null,
"udf_string_8": null,
"udf_string_9": null
},
"primary_account": true,
"type": "CUSTOMER",
"partner_account": false,
"udf_date_2": null,
"udf_date_1": null,
"udf_date_4": null,
"udf_date_3": null,
"number": "574",
"udf_float_3": null,
"udf_float_4": null,
"balance": 0,
"is_tax_exempt": false,
"credit_limit": 300,
"credit_period": {
"credit_period_uot": "MONTHS",
"credit_period_operator": "PLUS",
"credit_period": 5,
"credit_period_setting": "X_DAYS_AFTER",
"credit_period_number_of_days": 5
},
"currency": {
"suffix_symbol": null,
"prefix_symbol": "€",
"decimal_part_name": null,
"code": "EUR",
"integer_part_name": null,
"id": "BC91",
"life_cycle_state": "EFFECTIVE"
},
"id": "43A0A6AC627545E5AAB26C089D95A900",
"opening_balance": 0,
"udf_float_1": null,
"udf_float_2": null,
"udf_string_2": null,
"opening_balance_date": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"privacy_level": null,
"presentment_preferences_set": [],
"udf_string_1": null,
"life_cycle_state": "ACTIVE",
"classification": {
"alternative_code": "SC",
"name": "Standard Customer",
"id": "63E096DF859A44ED958007C71F0389E5"
},
"credit_limit_status": "NOT_EXCEEDED",
"parent_account": false,
"credit_rating": {
"code": "AAA",
"name": "key_aaa_-_subject_to_minimal_credit_risk"
},
"name": "New Participant account ",
"outstanding_amount": 0,
"udf_string_6": null,
"udf_string_7": null,
"accounting_period": null,
"access_tokens_set": [],
"udf_string_8": null,
"rewards": {
"participating_schemes_set": [
{
"scheme": {
"alternative_code": "MRS",
"name": "Main Rewards Scheme",
"description": "hello8",
"id": "827918B0190B466FA578B14C080F02B8",
"life_cycle_state": "EFFECTIVE"
},
"sign_up_on": "2019-07-23T00:00:00",
"sign_up_by_unit": {
"alternative_code": "MU",
"group_name": "Main Group",
"community_name": "Main Community",
"name": "Main Unit",
"description": "Main Unit",
"id": "1"
},
"reference_code": null,
"id": "0A192710F0BF4C90AF97627FEA577597",
"sign_off_on": null
},
"action":"EXISTING",{
"type":"HOME" }, "presentment_preferences_setscheme": {
[ { "presentment_preference_identifier":{"name":"Email"}, "statealternative_code": "ACTIVEperi",
"email":{"action":"NEW","email": { "typename": "BUSINESSperini",
"email_address":"test2@gmail.com"} "description": "testtest",
} } ], "currency_identifier":{"code":"GBP"} } |
Response Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| { "dataid": {"517FAE79D1E245EA81611F9ED334AF8F",
"notes": "CRM COM\t5/7/2016 10:16:22\tthere are currently no notes", "log_information": { "createdlife_bycycle_unitstate": {"EFFECTIVE"
"alternative_code": "adminunit", },
"group_name": "Main Group", "communitysign_up_nameon": "Community2019-07-23T00:00:00",
"name "sign_up_by_unit": "Admin Unit", {
"description": "admin unit", "idalternative_code": "1MU",
}, "updated_by_unit": { "alternativegroup_codename": "adminunitMain Group",
"group_name": "Main Group", "community_name": "Main Community",
"name": "Admin Unit", "descriptionname": "adminMain unitUnit",
"id": "1" }, "created_datedescription": "2016-07-05T07:16:22Main Unit",
"updated_date": "2016-07-05T07:16:22", "updated_by_user": { "person_nameid": "CRM COM1",
"id": "1", "username": "MPAdministrator" },
}, "created_by_user": { "personreference_namecode": "CRM COM",null,
"id": "1", "usernameid": "MPAdministrator96599EDD9E9B42ACA44CC92FDE1B394D"
,
} }, "payment_preferences_set": [], "ownedsign_byoff_groupon": {null
"alternative_code": "MG", "community_name": "Community" },
"name": "Main Group", "description": "Main Group", {
"id": "1" }, "description": "normal account",
"contact_information""scheme": {
"company_profile": null, "company_name": null, "namealternative_code": "Mohammed Tyson J.rsASU",
"last_name": "Tyson J.", "id": "4CBAD816231A49DBB1DAC873BECACEF3", "life_cycle_statename": "FINANCIALAuto Sign Up",
"middle_name": null, "title": null, "typedescription": "PERSON"null,
"first_name": "Mohammed", "demographics": { "name_dayid": {"8BB1192214864338B6D9E402F6148364",
"month": null, "daylife_cycle_state": null"EFFECTIVE"
}, "id_number": null, },
"gender": null, "countrysign_ofup_residenceon": {
"2019-07-23T00:00:00",
"alternative_code": "CYP", "threesign_up_characterby_codeunit": "CYP",{
"name": "CYPRUS", "idalternative_code": "181MU",
"two_character_code": "CY" }, "dategroup_of_birthname": {"Main Group",
"month": null, "yearcommunity_name": null"Main Community",
"day": null }, "name": "Main Unit",
"industry_sector": null, "passport_number": null, "industrydescription": null"Main Unit",
"social_security_number": null, "id_issued_by_country": null, "passport_issued_by_countryid": null"1"
} }, "billing_address": { },
"apartment_number": null, "care_of": null, "countryreference_code": {null,
"alternative_code": "CYP", "three_character_codeid": "CYP90950E78C916414FAA3E69B7BA80A3C7",
"name": "CYPRUS", "idsign_off_on": "181",null
"two_character_code": "CY" },
"municipality": null, ],
"type": "HOME", "udfsign_dateup_2on": null,
"2019-07-23T17:00:00",
"udf_date_1": null, "street_namesign_up_by_unit": "Thomas V",{
"udf_date_4": null, "udfalternative_date_3code": null"adminunit",
"udf_float_3": null, "udfgroup_float_4name": null,"Main Group",
"po_box_postal_code": null, "udfcommunity_string_15name": null,"Main Community",
"udf_string_16": null, "udf_string_13name": "Admin nullUnit",
"udf_string_14": null, "udf_string_11description": null"Admin Unit Description",
"udf_string_12": null, "id": "EC3A98D3274743D38D3BCA9A2231D158",B4529D5D06E749B0976A3512EC4AEDE6"
"state": "Active" },
"udf_string_10 "custom_field_set": null,[],
"floorauto_spend_authorisation": null,{
"udf_float_1": null, "udfminimum_floatwallet_2balance": null10,
"area": null, "udfminimum_stringspend_2amount": null1,
"udf_string_3 "maximum_spend_amount": null15,
"udf_string_4": null, "udfupdated_string_5date": null,
"udf_string_1": null, "poupdated_by_boxuser": null,
"town_city": null, "districtenabled": nulltrue,
"street_number": null, "postal_codeauthorised_rewards_participating_merchants_set": null, [
"udf_string_6": null, "udf_string_7": null, {
"udf_string_8": null, "udf_string_9": null }, "primarylog_accountinformation": true,{
"type": "CUSTOMER", "udf_date_2": null, "udf_date_1": null, "udf_date_4": null, "udfcreated_dateby_3unit": {
null, "number": "ACR0000000271", "udf_float_3": null, "udf_float_4": null, "balance": 0, "creditalternative_period_operatorcode": "PLUSMU",
"credit_limit": 10, "credit_period": 2, "currency": { "suffix_symbol": null, "prefixgroup_symbolname": "£Main Group",
"decimal_part_name": null, "code": "GBP", "integercommunity_part_name": "Main nullCommunity",
"id": "9" }, "id": "7A22F671494A41B4B712466D11CAED4F", "opening_balance": 0, "name": "udf_float_1": null,Main Unit",
"udf_float_2": null, "udf_string_2": null, "opening_balance_date": null, "udf_string_3": null, "udf_string_4description": null"Main Unit",
"udf_string_5": null, "privacy_level": null, "presentment_preferences_set": [ { "id": "phone1":
null, "presentment_method": { "alternative_code": "E", },
"name": "Email", "description": null, "contactupdated_by_informationunit": {
"company_profile": null, "companyalternative_namecode": null"adminunit",
"name": "michael may", "lastgroup_name": "mayMain Group",
"id": "7F1D15F4735C4461A2E033FD960DDB10", "lifecommunity_cycle_statename": "MARKETINGMain Community",
"middle_name": null, "titlename": null,"Admin Unit",
"type": "PERSON", "first_namedescription": "michaelAdmin Unit Description",
"demographics": { "name_day": { "id": "B4529D5D06E749B0976A3512EC4AEDE6"
"month": null, "day": null},
}, "created_date": "id_number": null"2019-06-20T12:36:23",
"gender": null,
"countryupdated_of_residencedate": {"2019-07-23T15:41:58",
"alternative_code": "IRN", "three_character_code"updated_by_user": null,{
"name": "IRAN (ISLAMIC REPUBLIC OF)",
"idperson_name": "231j_ioannou",
"two_character_code": null }"id": "816C8875D4C34F8890B7CDD5B8322DBC",
"date_of_birth": { "monthusername": null,
"j_ioannou"
"year": null, "day": null},
}, "industrycreated_by_sectoruser": null,{
"passport_number": null, "industryperson_name": null"Administrator Company",
"social_security_number": null, "id_issued_by_country": null"1",
"passport_issued_by_country": null } "username": "mpadministrator"
}, "id": "67EC7B4252DA209B59733125FB248CED", }
"state": "ACTIVE", "type": "EMAIL" },
"id": "16FFC3147A8843B5A7DE0AA47B8F9595", "statedescription": "ACTIVE"null,
"email": { "udf_string_2id": null"15B1DD2372EF44F6BDBE842CBA27A2FC",
"udf_string_3": null, "udflife_stringcycle_4state": null"EFFECTIVE",
"notes": null, "udf_string_5group": null, {
"udf_string_1": null, "typealternative_code": "BUSINESSKG",
"udf_date_2": null, "udf_date_1": null, "community_name": "Main Community",
"udf_date_4": null, "udf_date_3": null, "udf_float_3name": null"Kounta Group",
"udf_float_4": null, "id": "B347786A138F49B6B33B4B2522F60713", "description": null,
"state": "Active", "udf_string_6": null, "udf_float_1id": null,"81F45E6C0423483A844ABFE475E734CD",
"udf_string_7": null, "udfunified_float_2code": null,"KG"
"email": "test2@gmail.com", "udf_string_8": null }
} } ],}
"udf_string_1": null, "life_cycle_state": "ACTIVE", ]
"classification": { "alternative_code": "VC", },
"name": "VIP Customer", "idreward_tier": "F36179059928D40AC42DF66A67364021"
}null,
"credit_limit_status": "NOT_EXCEEDED", "creditspend_blocking_ratingstate": {
"code": "AAA", "name": "key_aaa_-_subject_to_minimal_credit_risk"
updated_date": null,
}, "name": "Mike Tyson GBP", "outstandingupdated_by_amountuser": 0null,
"udf_string_6 "enabled": null,false
"udf_string_7": null, "accounting_period": null, }
"access_tokens_set": [], "udf_string_8": null}
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
|