• Eugene Kapustin
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Hello,

I can’t update records owned by deactivated SF account.
What is the best practice to deal with records owned by deactivated SF account? Just transfer them?

Thank you
Hello,

I am having problems with creating Contact record when I include RecordTypeID value in create request.
INVALID_CROSS_REFERENCE_KEY - RecordTypeId: id value not valid for the users profile: someID

I took that RecordTypeID from one existing contact, but it is not working for new contacts.

Where and how I can get valid RecordTypeID(s) for Contact object?

Thank you,
Eugene Kapustin

Message Edited by Eugene Kapustin on 11-17-2005 03:14 PM

Hello,

Is it possible to update User Email from API? It marked as updateable field, request is returns success, but Email not getting updated.

Thank you
Eugene Kapustin
I´m using API to create a case, this is the code I´m using:


$FIELDS = array('type'=>'Case');

$FIELDS['ContactId'] = $contact;
$FIELDS['AssetId'] = $asset;
$FIELDS['RecordTypeId'] = '0123000000005tA';
$FIELDS['Subject'] = 'SUBJECT';




$result = $client->create($FIELDS);

This is the error I´m geting this error:

[fields] => AssetId [message] => bad field names on insert/update call: AssetId [statusCode] => INVALID_FIELD_FOR_INSERT_UPDATE


But When I use the following code I get no errors and the case is created:


$FIELDS = array('type'=>'Case');

$FIELDS['ContactId'] = $contact;
//$FIELDS['AssetId'] = $asset;
$FIELDS['RecordTypeId'] = '0123000000005tA';
$FIELDS['Subject'] = 'SUBJECT';




$result = $client->create($FIELDS);


How can I creat a case related to a contact and to an asset?
Hello,

I am having problems with creating Contact record when I include RecordTypeID value in create request.
INVALID_CROSS_REFERENCE_KEY - RecordTypeId: id value not valid for the users profile: someID

I took that RecordTypeID from one existing contact, but it is not working for new contacts.

Where and how I can get valid RecordTypeID(s) for Contact object?

Thank you,
Eugene Kapustin

Message Edited by Eugene Kapustin on 11-17-2005 03:14 PM

Hi,

Anybody has sample code on the getUserInfo() call? I am trying to get the userId from the user logged in the current session.

Thanks!