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"},
2,
"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",
"sign_up_by_unit_identifier":{"name":"Admin Unit"},
"participating_schemes_set":
[
{
"sign_up_on": "2019-07-23T17:00:00" ,
"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"
"type":"HOME" },
"street_name":"Thomas V" "reference_code": null,
}"id": "0A192710F0BF4C90AF97627FEA577597",
] }, "billingsign_off_addresson": null
{ "action":"EXISTING"},
"type":"HOME" }, {
"presentment_preferences_set": [ { "presentment_preference_identifierscheme":{"name":"Email"}, {
"state":"ACTIVE", "emailalternative_code":{"action":"NEW","email": "peri",
{ "typename": "BUSINESSperini",
"email_address":"test2@gmail.com"} } }"description": "testtest",
], "currency_identifier":{"code":"GBP"} } |
Response Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| { "data": { "notesid": "517FAE79D1E245EA81611F9ED334AF8F"CRM COM\t5/7/2016 10:16:22\tthere are currently no notes",
"log_information": {,
"created_by_unit": { "alternativelife_cycle_codestate": "adminunitEFFECTIVE",
"group_name": "Main Group", "community_name": "Community", },
"name": "Admin Unit", "descriptionsign_up_on": "admin unit2019-07-23T00:00:00",
"id": "1" }, "updatedsign_up_by_unit": {
"alternative_code": "adminunitMU",
"group_name": "Main Group", "communitygroup_name": "CommunityMain Group",
"name": "Admin Unit", "descriptioncommunity_name": "adminMain unitCommunity",
"id": "1" }, "created_datename": "2016-07-05T07:16:22Main Unit",
"updated_date": "2016-07-05T07:16:22", "updated_by_user": { "person_namedescription": "CRMMain COMUnit",
"id": "1",
"username": "MPAdministrator" },
"created_by_user": { "personreference_namecode": "CRM COM",null,
"id": "1", "usernameid": "MPAdministrator96599EDD9E9B42ACA44CC92FDE1B394D",
} }, "paymentsign_preferencesoff_seton": [], null
"owned_by_group": { "alternative_code": "MG", },
"community_name": "Community", {
"name": "Main Group", "description": "Main Group", "idscheme": "1"{
}, "description": "normal account", "contact_information": { "companyalternative_profilecode": null"rsASU",
"company_name": null, "name": "Mohammed Tyson J.", "last_name": "Tyson J.Auto Sign Up",
"id": "4CBAD816231A49DBB1DAC873BECACEF3", "life_cycle_state": "FINANCIAL", "middle_namedescription": null,
"title": null, "typeid": "PERSON8BB1192214864338B6D9E402F6148364",
"first_name": "Mohammed", "demographics": { "namelife_cycle_daystate": {"EFFECTIVE"
"month": null, },
"day": null }, "idsign_up_numberon": null"2019-07-23T00:00:00",
"gender": null, "countrysign_up_ofby_residenceunit": {
"alternative_code": "CYPMU",
"three_character_code": "CYP", "group_name": "CYPRUSMain Group",
"id": "181", "twocommunity_character_codename": "CYMain Community",
}, "date_of_birthname": {"Main Unit",
"month": null, "yeardescription": null"Main Unit",
"day": null }, "industry_sectorid": null,"1"
"passport_number": null, "industry": null},
"social_security_number": null, "id_issued_by_countryreference_code": null,
"passport_issued_by_country": null } }"id": "90950E78C916414FAA3E69B7BA80A3C7",
"billing_address": { "apartment_number": null, "caresign_off_ofon": null,
"country": { "alternative_code": "CYP",
}
"three_character_code": "CYP", ],
"name": "CYPRUS", "idsign_up_on": "1812019-07-23T17:00:00",
"twosign_up_characterby_codeunit": "CY"{
}, "municipalityalternative_code": null"adminunit",
"type": "HOME", "udfgroup_date_2name": null,"Main Group",
"udf_date_1": null, "streetcommunity_name": "ThomasMain VCommunity",
"udf_date_4": null, "udf_date_3name": null"Admin Unit",
"udf_float_3": null, "udf_float_4description": null "Admin Unit Description",
"po_box_postal_code": null, "id": "udf_string_15": null,B4529D5D06E749B0976A3512EC4AEDE6"
"udf_string_16": null, },
"udf_string_13": null, "udfcustom_stringfield_14set": null,[],
"udfauto_stringspend_11authorisation": null,{
"udf_string_12": null, "idminimum_wallet_balance": "EC3A98D3274743D38D3BCA9A2231D158"10,
"state": "Active", "udfminimum_stringspend_10amount": null1,
"floor": null, "udfmaximum_floatspend_1amount": null15,
"udf_float_2": null, "areaupdated_date": null,
"udf_string_2": null, "udfupdated_stringby_3user": null,
"udf_string_4": null, "udf_string_5enabled": nulltrue,
"udf_string_1": null, "po_boxauthorised_rewards_participating_merchants_set": null,
[
"town_city": null, "district": null, {
"street_number": null, "postal_code": null, "udf_string_6": null, "udflog_string_7information": null,{
"udf_string_8": null, "udf_string_9": null }, "primarycreated_by_accountunit": true,{
"type": "CUSTOMER", "udf_date_2": null,
"udf_date_1": null, "udf_date_4": null, "udf_date_3": null, "numberalternative_code": "ACR0000000271MU",
"udf_float_3": null, "udf_float_4": null, "balance": 0, "credit_period_operator": "PLUS", "creditgroup_limitname": 10"Main Group",
"credit_period": 2, "currency": { "suffix_symbol": null, "prefix_symbol": "£", "decimal_partcommunity_name": null"Main Community",
"code": "GBP", "integer_part_name": null, "id": "9" }, "idname": "7A22F671494A41B4B712466D11CAED4FMain Unit",
"opening_balance": 0, "udf_float_1": null,
"udf_float_2": null, "udf_string_2": null, "opening_balance_date": null, "udf_string_3description": null,
"udf_string_4": null"Main Unit",
"udf_string_5": null, "privacy_level": null, "presentment_preferences_set": [ { "phoneid": null,"1"
"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, "title": null, "name": "Admin Unit",
"type": "PERSON", "first_name": "michael", "demographicsdescription": {"Admin Unit Description",
"name_day": { "monthid": null,
"B4529D5D06E749B0976A3512EC4AEDE6"
"day": null },
"id_number": null, "gendercreated_date": null"2019-06-20T12:36:23",
"country_of_residence": { "alternativeupdated_codedate": "IRN2019-07-23T15:41:58",
"three_character_code": null, "nameupdated_by_user": "IRAN{
(ISLAMIC REPUBLIC OF)", "id": "231", "two_character_code": null"person_name": "j_ioannou",
}, "date_of_birthid": {"816C8875D4C34F8890B7CDD5B8322DBC",
"month": null, "yearusername": null,
"j_ioannou"
"day": null },
"industry_sector": null, "passportcreated_by_numberuser": {
null, "industry": null, "socialperson_security_numbername": null"Administrator Company",
"id_issued_by_country": null, "passport_issued_by_countryid": null"1",
} }, "idusername": "67EC7B4252DA209B59733125FB248CEDmpadministrator",
"state": "ACTIVE", "type": "EMAIL" },
"id": "16FFC3147A8843B5A7DE0AA47B8F9595", "state": "ACTIVE", },
"email": { "udf_string_2": null, "udf_string_3description": null,
"udf_string_4": null, "notesid": null"15B1DD2372EF44F6BDBE842CBA27A2FC",
"udf_string_5": null, "udflife_stringcycle_1state": null"EFFECTIVE",
"type": "BUSINESS", "udf_date_2group": null,{
"udf_date_1": null, "udfalternative_date_4code": null"KG",
"udf_date_3": null, "udfcommunity_float_3name": null,"Main Community",
"udf_float_4": null, "idname": "B347786A138F49B6B33B4B2522F60713Kounta Group",
"state": "Active", "udf_string_6description": null,
"udf_float_1": null, "udf_string_7": null, "id": "81F45E6C0423483A844ABFE475E734CD",
"udf_float_2": null, "email": "test2@gmail.com", "udfunified_string_8code": "KG"
null } } ], }
"udf_string_1": null, "life_cycle_state": "ACTIVE", "classification": { }
"alternative_code": "VC", "name": "VIP Customer", ]
"id": "F36179059928D40AC42DF66A67364021" }, "credit_limit_status": "NOT_EXCEEDED" },
"credit_rating": { "codereward_tier": "AAA"null,
"name": "keyspend_aaa_-_subject_to_minimal_credit_risk"
blocking_state": {
}, "name": "Mike Tyson GBP", "outstandingupdated_amountdate": 0null,
"udf_string_6 "updated_by_user": null,
"udf_string_7 "enabled": null, false
"accounting_period": null, }
"access_tokens_set": [], "udf_string_8": null}
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
} |
|