getServerTimestamp:
2008-04-09T19:47:13.001Z
create one:
Array
(
[id] => 0034000000ONJjuAAH
[success] => true
)
query by id:
Array
(
[done] => true
[queryLocator] =>
[records] => sObject Object
(
[type] => Contact
[id] => 0034000000ONJjuAAH
[values] => Array
(
[FirstName] => TestFirstName
[LastName] => TestLastName
[Phone] => 555-555-1212
[Fax] => 444-444-1212
)
[fieldsToNull] =>
)
[size] => 1
)
update one:
query by id:
Array
(
[done] => true
[queryLocator] =>
[records] => sObject Object
(
[type] => Contact
[id] => 0034000000ONJjuAAH
[values] => Array
(
[FirstName] => TestFirstName
[LastName] => TestLastName
[Phone] => 555-555-1212
[Fax] => 444-444-1212
)
[fieldsToNull] =>
)
[size] => 1
)
retrieve:
Array
(
[0] => sObject Object
(
[type] => Contact
[id] => 0034000000ONJjuAAH
[values] => Array
(
[FirstName] => TestFirstName
[LastName] => TestLastName
)
[fieldsToNull] =>
)
[1] => sObject Object
(
[type] => Contact
[id] => 0034000000ONJjuAAH
[values] => Array
(
[FirstName] => TestFirstName
[LastName] => TestLastName
)
[fieldsToNull] =>
)
)
delete one (0034000000ONJjuAAH):
Array
(
[id] => 0034000000ONJjuAAH
[success] => true
)
create multiple (array):
Array
(
[0] => Array
(
[id] => 0034000000ONJjzAAH
[success] => true
)
[1] => Array
(
[id] => 0034000000ONJk0AAH
[success] => true
)
)
query by name:
Array
(
[done] => true
[queryLocator] =>
[records] => Array
(
[0] => sObject Object
(
[type] => Contact
[id] => 0034000000ONJjzAAH
[values] => Array
(
[FirstName] => TestFirstName
[LastName] => TestLastName
)
[fieldsToNull] =>
)
[1] => sObject Object
(
[type] => Contact
[id] => 0034000000ONJk0AAH
[values] => Array
(
[FirstName] => TestFirstName
[LastName] => TestLastName
)
[fieldsToNull] =>
)
)
[size] => 2
)
delete multiple (0034000000ONJjzAAH 0034000000ONJk0AAH):
Array
(
[0] => Array
(
[id] => 0034000000ONJjzAAH
[success] => true
)
[1] => Array
(
[id] => 0034000000ONJk0AAH
[success] => true
)
)
query: (all deleted)
Array
(
[done] => true
[queryLocator] =>
[size] => 0
)
create lead:
POST /services/Soap/u/11.1/4c2200D400000007YPj HTTP/1.0
Host: na2-api.salesforce.com
User-Agent: NuSOAP/0.7.2 (1.1)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: ""
Content-Length: 1235
4c2200D400000007YPj!ARkAQNDLRvsc0FnScgKRkDgQ7i5xzKh_BTvYMGZLLBEaRg2hDq.G05yBgMQw5TDYVGT5UaKslCnVMkkg2pqJFfcAQHs6zaW92trueLeadTestCompanyTestFirstNameTestLastName555-555-1212444-444-1212HTTP/1.1 100 Continue
Server:
Date: Wed, 09 Apr 2008 19:47:15 GMT
HTTP/1.1 200 OK
Server:
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Date: Wed, 09 Apr 2008 19:47:16 GMT
00Q4000000GrpRVEAZtrueArray
(
[id] => 00Q4000000GrpRVEAZ
[success] => true
)
convert lead:
POST /services/Soap/u/11.1/4c2200D400000007YPj HTTP/1.0
Host: na2-api.salesforce.com
User-Agent: NuSOAP/0.7.2 (1.1)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: ""
Content-Length: 1433
4c2200D400000007YPj!ARkAQNDLRvsc0FnScgKRkDgQ7i5xzKh_BTvYMGZLLBEaRg2hDq.G05yBgMQw5TDYVGT5UaKslCnVMkkg2pqJFfcAQHs6zaW92trueQualified000Q4000000GrpRVEAZConverted Lead Opportunity10Array
(
[accountId] =>
[contactId] =>
[errors] => Array
(
[fields] =>
[message] => invalid convertedStatus: Qualified
[statusCode] => INVALID_STATUS
)
[leadId] => 00Q4000000GrpRVEAZ
[opportunityId] =>
[success] => false
)
sleeping for 60 seconds for updated and deleted examples
getUpdatedResult (start: 2008-04-09T19:47:13.001Z, end: 2008-04-09T19:48:17.195Z)
Array
(
[latestDateCovered] => 2008-04-09T19:48:00.000Z
)
getDeletedResult (start: 2008-04-09T19:47:13.001Z, end: 2008-04-09T19:48:17.195Z)
Array
(
[deletedRecords] => Array
(
[0] => Array
(
[deletedDate] => 2008-04-09T19:47:14.000Z
[id] => 0034000000ONJjuAAH
)
[1] => Array
(
[deletedDate] => 2008-04-09T19:47:15.000Z
[id] => 0034000000ONJjzAAH
)
[2] => Array
(
[deletedDate] => 2008-04-09T19:47:15.000Z
[id] => 0034000000ONJk0AAH
)
)
[earliestDateAvailable] => 2008-04-09T17:57:00.000Z
[latestDateCovered] => 2008-04-09T19:48:00.000Z
)