Flint provides out-of-the-box or ready to use workflows for Salesforce Operations. Here are the details of workflows/Flintbits for Salesfroce operations-

flint-utilhttps://github.com/getflint/flint-util/tree/master/salesforceflint-util > salesForce > Case/User

Available Flintbits

Perform all standard application operations available through the Salesforce, Some of them are listed below:

Salesforce available Flintbits for Case/User:

  • create.rb
  • list.rb
  • get.rb
  • update.rb
  • delete.rb

Create

To Create new record in Salesforce (Case/User).

Input and output JSON for the Create operation

This section illustrates the Flintbit Input and output parameters for Create Record operation.

For Case

Sample Input JSON for the create-case operation
 {
    "data":{
        "Description":"New Case Creation",
        "Origin":"Phone",
        "Priority":"High",
        "Status":"On Hold"
    }
}

 

Flintbit input elements for the Create-user operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
datadata is a inner json, whatever u provide in data as key:value pair is accepted if validtrue
Sample JSON output for the Create-case  operation
{
    "result": {
        "success": true,
        "errors": [],
        "id": "50036000008Kw9BAAS"
    }
} 

For User

Sample Input JSON for the create-user operation
 {
    "data":{
    "Username" : "sbrad22ley@gmail.com",
    "LastName" : "Bradle2y",
    "FirstName" : "Sam",
    "Email" : "samule222@gmail.com",
    "Alias" : "bradley",
    "CommunityNickname" : "sbradleyyourorgdmain",
    "IsActive" : false,
    "TimeZoneSidKey" : "America/Los_Angeles",
    "LocaleSidKey" : "en_US",
    "EmailEncodingKey" : "ISO-8859-1",
    "ProfileId" : "00e36000000N1y2AAC",
    "LanguageLocaleKey" : "en_US",
    "UserPermissionsMobileUser" : false,
    "UserPreferencesDisableAutoSubForFeeds" : false
    }   
}
Flintbit input elements for the Create-user operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
datadata is a inner json, whatever u provide in data as key:value pair is accepted if validtrue
Sample JSON output for the Create-user  operation
{
    "result": {
        "id":"00536000003cxoqAAA",
             "success":true,
            "errors":[]
    }
}


List

To List records in Salesforce (Case/User).

Input and output JSON for the List operation

This section illustrates the Flintbit Input and output for List Records operation.

For Case

Sample Input JSON for the list-record operation
 { }   
Flintbit input elements for the List operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
Sample JSON output for the List operation
 {
    "result": {
        "recentItems": [
            {
                "CaseNumber": "00001092",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000008Kw9BAAS"
                },
                "Id": "50036000008Kw9BAAS"
            },
            {
                "CaseNumber": "00001091",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000008Kw8wAAC"
                },
                "Id": "50036000008Kw8wAAC"
            },
            {
                "CaseNumber": "00001090",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000008Kw8cAAC"
                },
                "Id": "50036000008Kw8cAAC"
            },
            {
                "CaseNumber": "00001089",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000008Kw8NAAS"
                },
                "Id": "50036000008Kw8NAAS"
            },
            {
                "CaseNumber": "00001088",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000008IwBTAA0"
                },
                "Id": "50036000008IwBTAA0"
            },
            {
                "CaseNumber": "00001061",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007GY94AAG"
                },
                "Id": "50036000007GY94AAG"
            },
            {
                "CaseNumber": "00001051",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007FRwSAAW"
                },
                "Id": "50036000007FRwSAAW"
            },
            {
                "CaseNumber": "00001087",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007gYB3AAM"
                },
                "Id": "50036000007gYB3AAM"
            },
            {
                "CaseNumber": "00001076",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000005Gu1tAAC"
                },
                "Id": "50036000005Gu1tAAC"
            },
            {
                "CaseNumber": "00001081",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000005J2eXAAS"
                },
                "Id": "50036000005J2eXAAS"
            },
            {
                "CaseNumber": "00001074",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000005GtzOAAS"
                },
                "Id": "50036000005GtzOAAS"
            },
            {
                "CaseNumber": "00001073",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000005GtqCAAS"
                },
                "Id": "50036000005GtqCAAS"
            },
            {
                "CaseNumber": "00001070",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000005Grn1AAC"
                },
                "Id": "50036000005Grn1AAC"
            },
            {
                "CaseNumber": "00001063",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007GY9sAAG"
                },
                "Id": "50036000007GY9sAAG"
            },
            {
                "CaseNumber": "00001060",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007GY5RAAW"
                },
                "Id": "50036000007GY5RAAW"
            },
            {
                "CaseNumber": "00001055",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007GEVEAA4"
                },
                "Id": "50036000007GEVEAA4"
            },
            {
                "CaseNumber": "00001049",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007Ey5zAAC"
                },
                "Id": "50036000007Ey5zAAC"
            },
            {
                "CaseNumber": "00001048",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007Ey5VAAS"
                },
                "Id": "50036000007Ey5VAAS"
            },
            {
                "CaseNumber": "00001047",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007Ey5LAAS"
                },
                "Id": "50036000007Ey5LAAS"
            },
            {
                "CaseNumber": "00001011",
                "attributes": {
                    "type": "Case",
                    "url": "/services/data/v20.0/sobjects/Case/50036000007EoS0AAK"
                },
                "Id": "50036000007EoS0AAK"
            }
        ],
        "objectDescribe": {
            "updateable": true,
            "activateable": false,
            "deprecatedAndHidden": false,
            "layoutable": true,
            "custom": false,
            "deletable": true,
            "replicateable": true,
            "undeletable": true,
            "label": "Case",
            "keyPrefix": "500",
            "searchable": true,
            "queryable": true,
            "mergeable": false,
            "urls": {
                "rowTemplate": "/services/data/v20.0/sobjects/Case/{ID}",
                "describe": "/services/data/v20.0/sobjects/Case/describe",
                "sobject": "/services/data/v20.0/sobjects/Case"
            },
            "createable": true,
            "feedEnabled": true,
            "retrieveable": true,
            "name": "Case",
            "customSetting": false,
            "labelPlural": "Cases",
            "triggerable": true
        }
    }
}


For User

Sample Input JSON for the list-record operation
 { }
Flintbit input elements for the List operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
Sample JSON output for the List operation
{
    "result": {
        "recentItems": [
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000000KhEsAAK"
                },
                "Id": "00536000000KhEsAAK",
                "Name": "Srinivas"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002j8MFAAY"
                },
                "Id": "00536000002j8MFAAY",
                "Name": "Partner User"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/005360000024Lf2AAE"
                },
                "Id": "005360000024Lf2AAE",
                "Name": "CommunityPartner2 User"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000003WZ21AAG"
                },
                "Id": "00536000003WZ21AAG",
                "Name": "srinivas Mannem"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000003WXWEAA4"
                },
                "Id": "00536000003WXWEAA4",
                "Name": "Srinivas Mannem"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000000I8VjAAK"
                },
                "Id": "00536000000I8VjAAK",
                "Name": "Security User"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000000I8ViAAK"
                },
                "Id": "00536000000I8ViAAK",
                "Name": "Integration User"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000000I8VTAA0"
                },
                "Id": "00536000000I8VTAA0",
                "Name": "Ajay Satish"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002itK2AAI"
                },
                "Id": "00536000002itK2AAI",
                "Name": "Harman Connected Services"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002IyeZAAS"
                },
                "Id": "00536000002IyeZAAS",
                "Name": "Onkar"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/005360000026jaYAAQ"
                },
                "Id": "005360000026jaYAAQ",
                "Name": "Onkar kumar"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/005360000026ZmPAAU"
                },
                "Id": "005360000026ZmPAAU",
                "Name": "Onkar Kumar"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000000I8UzAAK"
                },
                "Id": "00536000000I8UzAAK",
                "Name": "Vinay Singh"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/005360000030xQdAAI"
                },
                "Id": "005360000030xQdAAI",
                "Name": "Infi"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zvOIAAY"
                },
                "Id": "00536000002zvOIAAY",
                "Name": "Abhishek8 Pande8"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zvNoAAI"
                },
                "Id": "00536000002zvNoAAI",
                "Name": "An3 dube"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zvNPAAY"
                },
                "Id": "00536000002zvNPAAY",
                "Name": "Anu3 dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000000JnWGAA0"
                },
                "Id": "00536000000JnWGAA0",
                "Name": "Vinay"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zvKVAAY"
                },
                "Id": "00536000002zvKVAAY",
                "Name": "Abhi3 flint3"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zvMqAAI"
                },
                "Id": "00536000002zvMqAAI",
                "Name": "Abhishek7 Pande7"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zvNKAAY"
                },
                "Id": "00536000002zvNKAAY",
                "Name": "Abhi33 flint33"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pR8EAAU"
                },
                "Id": "00536000002pR8EAAU",
                "Name": "user1"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002jCfHAAU"
                },
                "Id": "00536000002jCfHAAU",
                "Name": "Technology1"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pSYiAAM"
                },
                "Id": "00536000002pSYiAAM",
                "Name": "Harsh Vardhan"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zuYRAAY"
                },
                "Id": "00536000002zuYRAAY",
                "Name": "Abhishek4 Pande4"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zuWpAAI"
                },
                "Id": "00536000002zuWpAAI",
                "Name": "Abhishek6 Pande6"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pRVDAA2"
                },
                "Id": "00536000002pRVDAA2",
                "Name": "Pratap Patil"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zuUPAAY"
                },
                "Id": "00536000002zuUPAAY",
                "Name": "Abhishek8 Pande8"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zuUKAAY"
                },
                "Id": "00536000002zuUKAAY",
                "Name": "Abhishek7 Pande7"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zu0AAAQ"
                },
                "Id": "00536000002zu0AAAQ",
                "Name": "Abhishek3 Pande3"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zu05AAA"
                },
                "Id": "00536000002zu05AAA",
                "Name": "Abhishek2 Pande2"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002ztxzAAA"
                },
                "Id": "00536000002ztxzAAA",
                "Name": "Abhishek1 Pande1"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002ztxpAAA"
                },
                "Id": "00536000002ztxpAAA",
                "Name": "Infi18 Infi18"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zt4zAAA"
                },
                "Id": "00536000002zt4zAAA",
                "Name": "Infi1 Infi12"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zt2tAAA"
                },
                "Id": "00536000002zt2tAAA",
                "Name": "Infi Infi12"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pT5DAAU"
                },
                "Id": "00536000002pT5DAAU",
                "Name": "CheckFlint Infiverve"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pUyOAAU"
                },
                "Id": "00536000002pUyOAAU",
                "Name": "Harsh12 Dubey12"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pTCiAAM"
                },
                "Id": "00536000002pTCiAAM",
                "Name": "Harsh1 Dubey1"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pSYnAAM"
                },
                "Id": "00536000002pSYnAAM",
                "Name": "Harsh Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pV50AAE"
                },
                "Id": "00536000002pV50AAE",
                "Name": "Harsh123 Dubey123"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002zt2jAAA"
                },
                "Id": "00536000002zt2jAAA",
                "Name": "User33 Dube123"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pRI4AAM"
                },
                "Id": "00536000002pRI4AAM",
                "Name": "patil"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pRQ3AAM"
                },
                "Id": "00536000002pRQ3AAM",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQYzAAM"
                },
                "Id": "00536000002pQYzAAM",
                "Name": "somnath"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQYuAAM"
                },
                "Id": "00536000002pQYuAAM",
                "Name": "somnath"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pRRLAA2"
                },
                "Id": "00536000002pRRLAA2",
                "Name": "Deshmuk"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pRV3AAM"
                },
                "Id": "00536000002pRV3AAM",
                "Name": "Anurag Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002jI1JAAU"
                },
                "Id": "00536000002jI1JAAU",
                "Name": "abc"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQYkAAM"
                },
                "Id": "00536000002pQYkAAM",
                "Name": "somnath"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQY6AAM"
                },
                "Id": "00536000002pQY6AAM",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQY1AAM"
                },
                "Id": "00536000002pQY1AAM",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQXmAAM"
                },
                "Id": "00536000002pQXmAAM",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQXSAA2"
                },
                "Id": "00536000002pQXSAA2",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQXIAA2"
                },
                "Id": "00536000002pQXIAA2",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQWoAAM"
                },
                "Id": "00536000002pQWoAAM",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pQVCAA2"
                },
                "Id": "00536000002pQVCAA2",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pOlcAAE"
                },
                "Id": "00536000002pOlcAAE",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002pOSaAAM"
                },
                "Id": "00536000002pOSaAAM",
                "Name": "Dubey"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000002B163AAC"
                },
                "Id": "00536000002B163AAC",
                "Name": "Mallikarjun"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000001QLmcAAG"
                },
                "Id": "00536000001QLmcAAG",
                "Name": "Chaitra Natesh"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/005360000024GDkAAM"
                },
                "Id": "005360000024GDkAAM",
                "Name": "Mannem"
            },
            {
                "attributes": {
                    "type": "User",
                    "url": "/services/data/v20.0/sobjects/User/00536000001QLmhAAG"
                },
                "Id": "00536000001QLmhAAG",
                "Name": "Bindupriya Kuppampati"
            }
        ],
        "objectDescribe": {
            "updateable": true,
            "activateable": false,
            "deprecatedAndHidden": false,
            "layoutable": false,
            "custom": false,
            "deletable": false,
            "replicateable": true,
            "undeletable": false,
            "label": "User",
            "keyPrefix": "005",
            "searchable": true,
            "queryable": true,
            "mergeable": false,
            "urls": {
                "rowTemplate": "/services/data/v20.0/sobjects/User/{ID}",
                "passwordUtilities": "/services/data/v20.0/sobjects/User/{ID}/password",
                "describe": "/services/data/v20.0/sobjects/User/describe",
                "sobject": "/services/data/v20.0/sobjects/User"
            },
            "createable": true,
            "feedEnabled": true,
            "retrieveable": true,
            "name": "User",
            "customSetting": false,
            "labelPlural": "Users",
            "triggerable": true
        }
    }
}

Get

To Create new record in Salesforce (Case/User).

Input and output JSON for the Get operation

This section illustrates the Flintbit Input and output for Get Record operation.

For Case

Sample Input JSON for the Get-record operation
{
  "id":"50036000008Kw9BAAS"
}
Flintbit input elements for the Get operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
idId of the Case number
true
Sample JSON output for the Get-record operation
 {
    "result": {
        "Origin": "Phone",
        "LastModifiedDate": "2016-11-17T06:05:17.000+0000",
        "AccountId": null,
        "Description": "New Case Creation",
        "SuppliedCompany": null,
        "ContactId": null,
        "IsClosed": false,
        "Reason": null,
        "SuppliedEmail": null,
        "SuppliedName": null,
        "OwnerId": "00536000000KhEsAAK",
        "CreatedById": "00536000000KhEsAAK",
        "SuppliedPhone": null,
        "CaseNumber": "00001092",
        "HasSelfServiceComments": false,
        "ParentId": null,
        "Status": "On Hold",
        "IsDeleted": false,
        "HasCommentsUnreadByOwner": false,
        "Priority": "High",
        "CurrencyIsoCode": "USD",
        "Subject": null,
        "SystemModstamp": "2016-11-17T06:05:17.000+0000",
        "Type": null,
        "IsEscalated": false,
        "CreatedDate": "2016-11-17T06:05:17.000+0000",
        "attributes": {
            "type": "Case",
            "url": "/services/data/v20.0/sobjects/Case/50036000008Kw9BAAS"
        },
        "Id": "50036000008Kw9BAAS",
        "ClosedDate": null,
        "LastModifiedById": "00536000000KhEsAAK"
    }
}


For User

Sample Input JSON for the Get-record operation
{
  "id":"00536000000KhEsAAK"
}
Flintbit input elements for the Get operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
idId of the User
true
Sample JSON output for the Get-record operation
{
    "result": {
        "ProfileId": "00e36000000wNuqAAE",
        "LastModifiedDate": "2016-11-17T07:50:07.000+0000",
        "Email": "flint@xyz.com",
        "AccountId": null,
        "DefaultCurrencyIsoCode": "USD",
        "LanguageLocaleKey": "en_US",
        "UserPermissionsMobileUser": false,
        "LastLoginDate": "2016-11-17T07:46:22.000+0000",
        "MobilePhone": null,
        "DigestFrequency": "D",
        "Name": "Srinivas",
        "CompanyName": null,
        "Department": null,
        "CommunityNickname": "asd",
        "CreatedById": "00536000000I8VTAA0",
        "Street": null,
        "FederationIdentifier": null,
        "Count__c": 1,
        "DelegatedApproverId": null,
        "UserPermissionsCallCenterAutoLogin": false,
        "UserPreferencesDisableAutoSubForFeeds": false,
        "City": null,
        "CurrencyIsoCode": "USD",
        "UserPermissionsInteractionUser": false,
        "UserPermissionsSupportUser": true,
        "UserPermissionsMarketingUser": true,
        "State": null,
        "OfflinePdaTrialExpirationDate": null,
        "UserPreferencesHideCSNDesktopTask": false,
        "CreatedDate": "2016-04-20T08:18:04.000+0000",
        "Country": null,
        "Id": "00536000000KhEsAAK",
        "LastName": "Flint",
        "UserType": "Standard",
        "ManagerId": null,
        "UserPermissionsAvantgoUser": false,
        "ReceivesAdminInfoEmails": true,
        "TimeZoneSidKey": "America/Los_Angeles",
        "UserPermissionsOfflineUser": false,
        "UserPermissionsSFContentUser": true,
        "Link_to_User__c": "<a href=\"/00536000000KhEs?noredirect=1\" target=\"_self\"> salesforce</a>",
        "UserRoleId": "00E36000000HcP9EAK",
        "IsActive": true,
        "UserPreferencesHideCSNGetChatterMobileTask": false,
        "PostalCode": null,
        "UserPreferencesApexPagesDeveloperMode": true,
        "ContactId": null,
        "Portal_Type__c": null,
        "ForecastEnabled": false,
        "UserPreferencesReminderSoundOff": false,
        "UserPreferencesActivityRemindersPopup": true,
        "UserPreferencesEventRemindersCheckboxDefault": true,
        "Phone": null,
        "UserPreferencesLightningExperiencePreferred": false,
        "Division": null,
        "Delivery_Address__c": null,
        "UserPreferencesTaskRemindersCheckboxDefault": true,
        "OfflineTrialExpirationDate": null,
        "LastPasswordChangeDate": "2016-09-02T08:56:37.000+0000",
        "CallCenterId": null,
        "LocaleSidKey": "en_US",
        "SmallPhotoUrl": "https://salesforce--c.na30.content.force.com/profilephoto/005/T",
        "FirstName": null,
        "AboutMe": null,
        "CurrentStatus": null,
        "EmployeeNumber": null,
        "Title": null,
        "UserPreferencesOptOutOfTouch": false,
        "UserPermissionsKnowledgeUser": true,
        "EmailEncodingKey": "ISO-8859-1",
        "ReceivesInfoEmails": true,
        "SystemModstamp": "2016-11-17T07:50:07.000+0000",
        "Extension": null,
        "IsPortalEnabled": false,
        "Username": "salesforce.com.partner",
        "PortalRole": null,
        "FullPhotoUrl": "https://flint--c.na30.content.force.com/profilephoto/005/F",
        "Alias": "srin",
        "UserPreferencesSortFeedByComment": true,
        "attributes": {
            "type": "User",
            "url": "/services/data/v20.0/sobjects/User/00536000000KhEsAAK"
        },
        "Fax": null,
        "IsPortalSelfRegistered": false,
        "LastModifiedById": "00536000000KhEsAAK"
    }
}

Update

To Update a record in Salesforce (Case/User).

Input and output JSON for the Update operation

This section illustrates the Flintbit Input and output for Update Record operation.

For Case

Sample Input JSON for the Update-record operation
 {
    "id": "50036000008Kw9BAAS",
    "data":{
        "Description":"Update Discription",
        "Origin":"Update Origin",
        "Priority":"Update Priority",
        "Status":"Update Status"
    }
}
Flintbit input elements for the Update-record operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
idId of the Case numbertrue
datadata is a inner json, whatever u provide in data as key:value pair is accepted if validtrue
Sample JSON output for the Update operation
{
  "Result" : "",
  "message" : "Success"
}


For User

Sample Input JSON for the Update-record operation
{
    "id":"00536000000KhEsAAK",
    "data":{
    "Username" : "sbrad222ley@gmail.com",
    "LastName" : "Bradl2e2y",
    "FirstName" : "Sa2m",
    "Email" : "samule2222@gmail.com",
    "Alias" : "bradley",
    "CommunityNickname" : "domainname",
    }    
}
Flintbit input elements for the Update-record operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
idId of the User
true
datadata is a inner json, whatever u provide in data as key:value pair is accepted if validtrue
Sample JSON output for the Update operation
{
  "Result" : "",
  "message" : "Success"
}

 Delete

To Delete a record in Salesforce (Case/User).

Input and output JSON for the Delete operation

This section illustrates the Flintbit Input and output for Delete Record operation.

For Case

Sample Input JSON for the Delete operation
{
  "id": "50036000008Kw9BAAS"
}
Flintbit input elements for the Delete operation
ParameterDescriptionRequired
connector_nameName of the SalesForce Connector to be configured.true
idId of the Case numbertrue
Sample JSON output for the Delete operation
{
 "Result" : "",
 "message" : "Success"
}


For User

NOTE : You cannot delete User in SalesForce.
  • No labels