Forums
How to upload an Attachment using Octopus API
I was wondering in C# Net Core if there's an example on how to use the Octopus API to create an attachment where I pass a Byte Array as content, and then that make a relationship to an Address Book.
Accessing Phone Type via Octopus API
In the Ferret API documentation under Contacts → phones, I see reference to the phoneType field, which lists 1, 2 or 3 as the phoneType options (1 = Office, 2 = Home, 3 = Mobile).
$MAX(Datetime) on Tasks
Hi,
Multiple updates in one command?
Can you send multiple records to update in one command. I.e. Can you send an array of abentries with their keys and values to update in batch?
For Single parent key, i am able to get the address but i can't able to fetch address by passing multiple Parent key
{
"Address":{
"Criteria":{
"SearchQuery":{
"ParentKey":{
"$IN":["QWJFbnRyeQkyMjAzMzAyNTE1MzI1ODY2NDA1OTBDCTA=","QWJFbnRyeQkyMDA4MTEyNTA0NTUwNTI0NTIyODlDCTA="
]}
}
}
},
"Scope":{
"Fields":{
"Key":{
"Value":1,
"ID":1,
"Number":1,
"EntityType":1
},
"Description":1,
"AddressLine1":1,
"AddressLine2":1,
// "AddressLine3":1,
"City":1,
"Country":1,
"StateProvince":1,
"ZipCode":1,
"Default":1,
"ParentKey":1
}
}
}
}
Need to fetch Notes related data in the Leads through API
Leads---
Notes: Associate Entry
Opportunities all opportunities (abandoned, lost, suspended, won, and in progress) and stages need to fetch through API
stages: State/province
Address Book all the details need to fetch through API
All companies and their attached contacts: Entry Type
Getting UDF labels via API
When I query for an abEntry, I get a list of UDFs, like "Udf/$TYPEID(6)". How can I map these UDF IDs to a useful value like the UDF's label?
For the particular lead, I am able to get the lead UDF, but not able to get Lead deatils for example Owner. How can i get the Owner through Lead API
API: https://api.maximizer.com/octopus/Read
body:
{
"Configuration": {
"Drivers": {
"ILeadSearcher": "Maximizer.Model.Access.Sql.LeadSearcher"
}
},
"Lead": {
"criteria": {
"searchQuery": {
}
},
"Scope": {
"Fields": {
"Key": 1,
"CompanyName": 1,
"MrMs": 1,
"FirstName": 1,
"MiddleName": 1,
"LastName": 1,
"Salutation": 1,
"Position": 1,
"Email": 1,
"WebSite": 1,
"Status": 1,
"AssignedTo": 1,
"Address": 1,
"Phone1": 1,
"Phone2": 1,
"Creator": {
"DisplayValue":1
},
"CreationDate": 1,
"ModifiedBy": 1,
"LastModifyDate": 1,
"FullName": 1,
"SecStatus": 1,
"AbEntryKey": 1,
"OpportunityKey": 1,
"Source": {
"DisplayValue" : 1
},
"NoEmployees": 1,
"Industry": 1,
"SourceUrl": 1,
"ArchivedDate": 1,
"DisplayValue": 1,
"Udf/$NAME(Customer Type)" : {
"DisplayValue" :1
},
"Udf/$NAME(Primary Product)" : {
"DisplayValue" :1
}
