associate_set_contact ()
associate_set_contact ()
Function prototype | associate_set_contact (session , associate, [case]) |
---|---|
API Version | ALL |
Modifies personal data of the ASSOCIATE of a CASE This function is only permitted if:
(*) If an associated has done a login, then he is the only one that can modify his data. Otherwise it means that the ASSOCIATE was invited by an invitation, but it is still pending for confirmation. While the invited ASSOCIATE has not created an activated his account, it is allowed to modify contact data (to correct possible errors when creating the invitation) | |
Input parameters: |
|
Output parameters: |
|
Request sample: | associate_set_contact ( “LCAAAAAAAAA”, " <contact> <ref>12231</ref> <username>alex31234</username> <relationship> <type> <code>FAMILY</code> </type> <relative> <code>PARENT(M)</code> </relative> <relationship> <identifiers> <identifier> <label>STUDY_REF</label> <value>0001</value> </identifier> <identifier> <label>NAT_ES</label> <value>ALEX</value> </identifier> <identifier> <label>PASS</label> <value /> </identifier> <identifier> <label>RES_ES</label> <value /> </identifier> <identifier> <label>GOV_INS_ES_CAT</label> <value>DEV4</value> </identifier> </identifiers> <data> <bdate>1998-03-20</bdate> <age>17</age> <gender>F</gender> </data> <name> <prefix /> <given_name>Maria rosa</given_name> <middle_name /> <maiden_name /> <family_name>Gosa</family_name> <family_name2>Imbern</family_name2> <subfix /> </name> <addresses> <address> <kind>Main Address</kind> <street>Sepúlveda</street> <number>91</number> <floor>5º</floor> <suite>3ª</suite> <district /> <city>Barcelona</city> <postcode /> <state /> <country>España</country> <comment /> </address> </addresses> <channels> <phones> <phone> <ref>1</ref> <type>mobile</type> <value>934546365</value> <comment /> <preferred>true</preferred> </phone> <phone> <ref>2</ref> <type>ext</type> <value>22</value> <comment /> <preferred>false</preferred> </phone> <phone> <ref>3</ref> <type>home</type> <value>936666666</value> <comment /> <preferred>false</preferred> </phone> <phone> <ref>4</ref> <type>work</type> <value>935555555</value> <comment /> <preferred>false</preferred> </phone> </phones> <emails> <email> <ref>5</ref> <type>work</type> <value>adsasda@LINKCARE.ES</value> <comment /> <preferred>true</preferred> </email> <email> <ref>6</ref> <type>home</type> <value>awasdasd@LINKCARE.ES</value> <comment /> <preferred>false</preferred> </email> </emails> <aims> <aim> <ref>7</ref> <type>Skype</type> <value>SKYPEUSER</value> <comment /> </aim> </aims> <device> <ref>8</ref> <type>bluetooth</type> <value>D898989</value> <comment /> </device> <devices /> </channels> </contact> "); |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result/> <ErrorMsg/> <ErrorCode/> |
Notes: |
, multiple selections available,
Related content
associate_get_contact ()
associate_get_contact ()
More like this
case_set_contact ()
case_set_contact ()
More like this
ASSOCIATE_INSERT ()
ASSOCIATE_INSERT ()
More like this
case_set_associate_relationship ( session , case, associate, relationship_type, relative_code )
case_set_associate_relationship ( session , case, associate, relationship_type, relative_code )
More like this
case_insert_associate()
case_insert_associate()
More like this
case_send_associate_invitation ( session, case, associate)
case_send_associate_invitation ( session, case, associate)
More like this