Can't relate contact to potential
Hello
I am creating contact and potential throught api. I can successfully make contact and whole potential data, but can't relate them to one-another.
Here is my XML for contact:
- <Contacts>
- <row no="1">
- <FL val="First Name">' . $person["name"] . '</FL>
- <FL val="Last Name">' . $person["surname"] . '</FL>
- <FL val="Email">' . $person["email"] . '</FL>
- <FL val="Department">Business</FL>
- <FL val="Phone">' . $person["phone"] . '</FL>
- <FL val="Mobile">' . $person["phone"] . '</FL>
- </row>
- </Contacts>';
And part of XML from potential:
- <FL val="Potential Name">' . $potential["name"] . '</FL>
- <FL val="Contact Name">' . $person["name"] . " " . $person["surname"] . '</FL>
When I make requests with both it makes new contact and new potential but Contact Name in potential is emthy.
(I make contact request before potential one)