Sei sulla pagina 1di 11

CRETION OF OBJECT I/P in Url:http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.

php
O/P: {"error":"please request ?action","status":false} Enter ?action http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php ?action

I/P in Url :http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=


O/P: {"error":"please request action=custom","status":false}

Enter action=custom to start action I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=


O/P: {"error":"please enter username must not be null","status":false}

Enter username I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=


O/P: {"error":"please enter password must not be null","status":false}

Enter password. I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=


O/P: {"error":"please enter securitytoken must not be null","status":false}

Enter Securitytoken I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option


O/P: {"error":"please enter option=object(for creating custom object)or field(to create a field in standard object or custom object) ","status":false}

Enter option=object if want to create new custom object

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object


O/P: {"error":"please enter APIname","status":false}

Enter APIname=somename I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp


O/P: {"error":"please enter description","status":false}

Enter description=some description that want to display or leave it null as it is not maniditory I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp&description
O/P: {"error":"please enter label","status":false}

Enter label=the label name that want to dispaly I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp&description&label=mynewlabel2
O/P: {"error":"please enter plurallabel","status":false}

Enter plurallabel=somename I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp&description&label=mynewlabel2&plurallabel=some name


O/P: {"error":"please request standardfieldlabel","status":false}

Standardfieldlabel=somename Only one standard field can be inserted for custom object for that name I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul

oau6S449NKcs&option=object&APIname=newphp&description&label=mynewlabel2&plurallabel=some name&standardfieldlabel=standard
O/P: {"error":"please enter 'fullname' for field","status":false}

Enter fullname=somename I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp&description&label=mynewlabel2&plurallabel=some name&standardfieldlabel=standard&fullname=fullname&


O/P: "error":"please enter fielddescription","status":false}

fielddescription= some description that want to display or leave it null as it is not maniditory I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp&description&label=mynewlabel2&plurallabel=some name&standardfieldlabel=standard&fullname=fullname&fielddescription&
O/P: {"error":"please enter settype","status":false}

Enter settype=Text or AutoNumber(for standard field these two are only accpected)(give as mentioned) I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=object&APIname=newphp&description&label=mynewlabel2&plurallabel=some name&standardfieldlabel=standard&fullname=fullname&fielddescription&settype=Text
O/P: {"msg":"object created","status":true}

CREATION OF CUSTOM FIELD After entering option=field I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field
O/P: {"error":"please request objectoffield for creating custom field for standard (or) custom object's ","status":false}

Enter objectoffield=(in which type of object you want to create that object name)

Example: 'Lead','Contact','Account','Campaign','Opportunity','Contract','Solution','Idea','Asset' or custom object name NOTE: For above specified name default objects of salesforce I got the output now this code works for above and custom objects only I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield= O/P: {"error":"please enter objecttofield=Lead(or)Contact(or)Account(or)Campaign(or)Opportunity(or)Contract(or)Solution(or)Idea( or)Asset(or)custom object name to which object creating field","status":false} Enter objecttofield=name of object Example: 'Lead','Contact','Account','Campaign','Opportunity','Contract','Solution','Idea','Asset' or custom object name NOTE: For above specified name default objects of salesforce I got the output now this code works for above and custom objects only

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead


O/P: {"error":"please request customfield for creating custom field ","status":false}

Enter customfield=custom field name one of below I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=
O/P: {"error":"please request field=AutoNumber(or)Text(or)TextArea(or)Date(or)DateTime(or)Currency(or)Email (or)Number(or)Phone(or)Percent(or)PickList(or)Url(or)RelationShip","status":f alse}

Enter customfield=custom field name one of above COMMON FIELDS THAT ENTERD AFTER ENTERING CUSTOM FIELD NAME Now for example customfield=text I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text
O/P: {"error":"please request cm_fullname for text","status":false}

Enter cm_fullname= the name for field I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil
O/P: {"error":"please request cm_description for text","status":false}

Enter cm_description= some description leave null if dont want I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf
O/P: {"error":"please request cm_helptext for text","status":false}

Enter cm_helptext = some help text leave null if dont want

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=


O/P: {"error":"please request cm_label for text","status":false}

Enter cm_label= name for label that want to display

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label


O/P: {"error":"please enter value for cm_label for text","status":false}

Enter cm_label= name for label that want to display it must not be null NOTE:up to label all common fields for all type of fields I/P in Url : this is only for FIELDTYPE=TEXT http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai
O/P: {"error":"please request cm_length for text","status":false}

Enter cm_length=from 0 to 255 I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=


O/P: {"error":"please give value for cm_length for text in between 1 to 255","status":false}

Enter cm_length=from 0 to 255

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250


O/P: {"error":"please request cm_requried text","status":false}

Enter cm_requried=YES for mandatory to enter value for this field while inserting values else NO I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=

O/P: {"error":"please give cm_requried=yes or no manditory","status":false}

text

Enter cm_requried=YES for mandatory to enter value for this field while inserting values else NO

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=no


O/P: {"error":"please request values'","status":false} cm_unique text for 'Do not allow duplicate

Enter cm_unique =yes or no I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=no&cm_unique=yes or no


O/P: {"error":"please give cm_unique=yes or no text unique","status":false}

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=no&cm_unique=no


O/P: {"error":"please request cm_externalid text for 'Set this field as the unique record identifier from an external system'","status":false}

Enter cm_externalid=yes or no I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=no&cm_unique=no&cm_ext ernalid=


O/P: {"error":"please give cm_externalide=yes or no text ","status":false}

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user

name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=no&cm_unique=no&cm_ext ernalid=no


O/P: {"error":"please enter cm_defaultvalue for text ","status":false}

Enter cm_defaultvalue= some default value to display in field(not mandatory if dont want leave empty) I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=text&cm_fullname=tamil&cm_descriptio n=afegf&cm_helptext=&cm_label=chennai&cm_length=250&cm_requried=no&cm_unique=no&cm_ext ernalid=no&cm_defaultvalue
O/P: {"msg1":{"result":{"done":false,"id":"04s90000002lw6HAAQ","numberComponentErr ors":0,"numberComponentsDeployed":0,"numberComponentsTotal":0,"numberTestErro rs":0,"numberTestsCompleted":0,"numberTestsTotal":0,"state":"InProgress"}},"m sg2":"field created ","status":true}

Result of object created Custom Field=Number Note: {fullname,description,helptext,label} are comman I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&
O/P: {"error":"please request cm_precision for Number","status":false}

Enter cm_precision=0 to 18(ex:99,999) if Entered cm_precision> 18 or cm_precision<0


{"error":"please give value for cm_precision for Number must be between 0 and 18","status":false}

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&cm_precision=1

O/P: {"error":"please request

cm_scale for Number","status":false}

cm_scale=0 to 15 and less than precision I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&cm_precision=1&cm_scale=0
O/P: {"error":"please request cm_requried Number","status":false}

cm_requried=yes or no I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&cm_precision=1&cm_scale=0&cm_requried=no


O/P: {"error":"please request values'","status":false} cm_unique Number for 'Do not allow duplicate

cm_unique=yes or no I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&cm_precision=1&cm_scale=0&cm_requried=no&cm_ unique=no


O/P: {"error":"please request cm_externalid Number for 'Set this field as the unique record identifier from an external system'","status":false}

cm_externalid=yes or no I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&cm_precision=1&cm_scale=0&cm_requried=no&cm_ unique=no&cm_externalid=no


O/P: {"error":"please enter cm_defaultvalue for Number ","status":false}

cm_defaultvalue=if want enter else null

I/P in Url : http://phpteam.iphoneandroiddeveloper.com/myfolder/force/customservice.php?action=custom&user

name=bhaskarkumar.blisslogix@gmail.com&password=saisivakumar14U&securitytoken=H7UlXrlep09ul oau6S449NKcs&option=field&objecttofield=Lead&customfield=number&cm_fullname=tamil1&cm_desc ription=afegf&cm_helptext=&cm_label=chennai1&cm_precision=1&cm_scale=0&cm_requried=no&cm_ unique=no&cm_externalid=no&cm_defaultvalue=


O/P: {"msg1":{"result":{"done":false,"id":"04s90000002lw6RAAQ","numberComponentErr ors":0,"numberComponentsDeployed":0,"numberComponentsTotal":0,"numberTestErro rs":0,"numberTestsCompleted":0,"numberTestsTotal":0,"state":"InProgress"}},"m sg2":"field created ","status":true}

Potrebbero piacerti anche