Skip to content

Instantly share code, notes, and snippets.

@christophrumpel
Last active February 23, 2016 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophrumpel/ca0f6fb0b9a77875b0b4 to your computer and use it in GitHub Desktop.
Save christophrumpel/ca0f6fb0b9a77875b0b4 to your computer and use it in GitHub Desktop.
CRM Create user data
array(8) {
["firstname"]=> string(14) "Test Christoph"
["lastname"]=> string(9) "Test Test"
["leadProcess"]=> int(552)
["leadStatus"]=> int(555)
["emails"]=> array(1) {
[0]=> array(2) {
["email"]=> string(25) "c.rumpel@liechtenecker.at"
["addressType"]=> int(1)
}
}
["addresses"]=> array(1) {
[0]=> array(6) {
["zip"]=> string(4) "2222"
["street"]=> string(24) "Ramperstorfferstrasse 23"
["state"]=> string(8) "Kärnten"
["city"]=> string(4) "Wien"
["country"]=> string(2) "AT"
["addressType"]=> int(1)
}
}
["phones"]=> array(1) {
[0]=> array(2) {
["number"]=> string(4) "4343"
["phoneType"]=> int(1)
}
}
["customValues"]=> array(9) {
[0]=> array(2) {
["customField"]=> int(515)
["value"]=> string(8) "6/5/1914"
}
[1]=> array(2) {
["customField"]=> int(509)
["value"]=> int(360)
} [2]=> array(2) {
["customField"]=> int(331)
["value"]=> int(332)
} [3]=> array(2) {
["customField"]=> int(543)
["value"]=> string(10) "23/02/2016"
} [4]=> array(2) {
["customField"]=> int(544)
["value"]=> int(310)
} [5]=> array(2) {
["customField"]=> int(532)
["value"]=> int(291)
} [6]=> array(2) {
["customField"]=> int(533)
["value"]=> int(292)
} [7]=> array(2) {
["customField"]=> int(536)
["value"]=> int(316)
} [8]=> array(2) {
["customField"]=> int(645)
["value"]=> int(643)
}
}
}
// API result
object(stdClass)#7835 (1) {
["error"]=> object(stdClass)#7834 (2) {
["code"]=> int(500)
["message"]=> string(21) "Internal Server Error"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment