URL

https://webapi.leadmaster.com/api/LMWebAPI/AddLead?access_token={access_token}

Description

Create lead in leadmaster

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
apiobject
Lead will be created on the basis of lead data provided in the APIObject.

Define this parameter in the request body.

access_token
Token required for the authentication.

Define this parameter in the request URI.

Request body formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<APIObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <Address>sample string 14</Address>
  <Address2>sample string 15</Address2>
  <Address3>sample string 16</Address3>
  <AssignComment>sample string 52</AssignComment>
  <AssignToRepByEmail>sample string 42</AssignToRepByEmail>
  <Call_Back_Date_Ind>80</Call_Back_Date_Ind>
  <Cell_Phone>sample string 24</Cell_Phone>
  <City>sample string 17</City>
  <CloseDate>sample string 56</CloseDate>
  <Company>sample string 9</Company>
  <ContactID>84</ContactID>
  <ContactMethod>sample string 82</ContactMethod>
  <Country>sample string 20</Country>
  <DateFormat>sample string 55</DateFormat>
  <DomainName>sample string 83</DomainName>
  <EE_REP>28</EE_REP>
  <Edited>sample string 78</Edited>
  <Email>sample string 25</Email>
  <Entered>sample string 77</Entered>
  <Fax>sample string 23</Fax>
  <FirstName>sample string 11</FirstName>
  <FollowUp_Type>sample string 53</FollowUp_Type>
  <ForecastDate>sample string 57</ForecastDate>
  <GeneralComments>sample string 50</GeneralComments>
  <Grade>sample string 43</Grade>
  <HighlightComments>sample string 49</HighlightComments>
  <LastName>sample string 12</LastName>
  <Lead_Source>sample string 29</Lead_Source>
  <Lead_Status>sample string 44</Lead_Status>
  <LiveStatus>79</LiveStatus>
  <MFGPARTNR>sample string 31</MFGPARTNR>
  <Mkt_Program_ID>sample string 27</Mkt_Program_ID>
  <PROBLTY>47.1</PROBLTY>
  <PartnerRepID>sample string 30</PartnerRepID>
  <Phone>sample string 21</Phone>
  <Phone_Extension>sample string 22</Phone_Extension>
  <RecordID>8</RecordID>
  <SHIP>sample string 58</SHIP>
  <SIC_CODE>46</SIC_CODE>
  <SalesRepComments>sample string 51</SalesRepComments>
  <SalesStage>sample string 54</SalesStage>
  <SalesUnit>85</SalesUnit>
  <Salutation>sample string 10</Salutation>
  <Source_Type>45</Source_Type>
  <SpecialInterest1>sample string 59</SpecialInterest1>
  <SpecialInterest10>sample string 68</SpecialInterest10>
  <SpecialInterest11>sample string 69</SpecialInterest11>
  <SpecialInterest12>sample string 70</SpecialInterest12>
  <SpecialInterest13>sample string 71</SpecialInterest13>
  <SpecialInterest14>sample string 72</SpecialInterest14>
  <SpecialInterest15>sample string 73</SpecialInterest15>
  <SpecialInterest16>sample string 74</SpecialInterest16>
  <SpecialInterest17>sample string 75</SpecialInterest17>
  <SpecialInterest18>sample string 76</SpecialInterest18>
  <SpecialInterest2>sample string 60</SpecialInterest2>
  <SpecialInterest3>sample string 61</SpecialInterest3>
  <SpecialInterest4>sample string 62</SpecialInterest4>
  <SpecialInterest5>sample string 63</SpecialInterest5>
  <SpecialInterest6>sample string 64</SpecialInterest6>
  <SpecialInterest7>sample string 65</SpecialInterest7>
  <SpecialInterest8>sample string 66</SpecialInterest8>
  <SpecialInterest9>sample string 67</SpecialInterest9>
  <State>sample string 18</State>
  <Telemarketer>sample string 48</Telemarketer>
  <Title>sample string 13</Title>
  <User_Field_23>sample string 36</User_Field_23>
  <User_Field_24>sample string 37</User_Field_24>
  <User_Field_25>sample string 38</User_Field_25>
  <User_Field_26>sample string 39</User_Field_26>
  <User_Field_27>sample string 40</User_Field_27>
  <User_Field_28>sample string 41</User_Field_28>
  <User_Field_4>32</User_Field_4>
  <User_Field_6>33</User_Field_6>
  <User_Field_7>sample string 34</User_Field_7>
  <User_Field_8>sample string 35</User_Field_8>
  <Website>sample string 26</Website>
  <Zip>sample string 19</Zip>
  <api_key>sample string 7</api_key>
  <company_id>sample string 6</company_id>
  <indAssignComment>81</indAssignComment>
</APIObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<TypeLeadData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.LMService">
  <address2Field>sample string 9</address2Field>
  <address3Field>sample string 10</address3Field>
  <addressField>sample string 8</addressField>
  <altPhoneField>sample string 16</altPhoneField>
  <assignCommentField>sample string 68</assignCommentField>
  <assignToRepByEmailField>sample string 56</assignToRepByEmailField>
  <call_Back_Date_IndField>105</call_Back_Date_IndField>
  <cell_PhoneField>sample string 19</cell_PhoneField>
  <cityField>sample string 11</cityField>
  <closeDateField>sample string 72</closeDateField>
  <companyField>sample string 3</companyField>
  <contactIDField>2</contactIDField>
  <contactMethodField>sample string 99</contactMethodField>
  <contactedField>sample string 101</contactedField>
  <countryField>sample string 14</countryField>
  <dateFormatField>sample string 71</dateFormatField>
  <domainNameField>sample string 100</domainNameField>
  <eE_REPField>24</eE_REPField>
  <editedField>sample string 103</editedField>
  <emailField>sample string 20</emailField>
  <enteredField>sample string 102</enteredField>
  <faxField>sample string 18</faxField>
  <firstNameField>sample string 5</firstNameField>
  <followUp_TypeField>sample string 69</followUp_TypeField>
  <forecastDateField>sample string 73</forecastDateField>
  <generalCommentsField>sample string 66</generalCommentsField>
  <gradeField>sample string 59</gradeField>
  <highlightCommentsField>sample string 65</highlightCommentsField>
  <indAssignCommentField>106</indAssignCommentField>
  <lastNameField>sample string 6</lastNameField>
  <lastUpdatedField>sample string 107</lastUpdatedField>
  <lead_SourceField>sample string 25</lead_SourceField>
  <lead_StatusField>sample string 60</lead_StatusField>
  <liveStatusField>104</liveStatusField>
  <mFGPARTNRField>sample string 57</mFGPARTNRField>
  <mkt_Program_IDField>sample string 22</mkt_Program_IDField>
  <pROBLTYField>63.1</pROBLTYField>
  <partnerRepIDField>sample string 58</partnerRepIDField>
  <phoneField>sample string 15</phoneField>
  <phone_ExtensionField>sample string 17</phone_ExtensionField>
  <recordIDField>1</recordIDField>
  <repE_MailField>sample string 98</repE_MailField>
  <repFirstNameField>sample string 96</repFirstNameField>
  <repLastNameField>sample string 97</repLastNameField>
  <sHIPField>sample string 74</sHIPField>
  <sIC_CODEField>62</sIC_CODEField>
  <salesRepCommentsField>sample string 67</salesRepCommentsField>
  <salesRepE_MailField>sample string 95</salesRepE_MailField>
  <salesRepLastNameField>sample string 94</salesRepLastNameField>
  <salesReprFirstNameField>sample string 93</salesReprFirstNameField>
  <salesStageField>sample string 70</salesStageField>
  <sales_UnitField>23</sales_UnitField>
  <salutationField>sample string 4</salutationField>
  <source_TypeField>61</source_TypeField>
  <specialInterest10Field>sample string 84</specialInterest10Field>
  <specialInterest11Field>sample string 85</specialInterest11Field>
  <specialInterest12Field>sample string 86</specialInterest12Field>
  <specialInterest13Field>sample string 87</specialInterest13Field>
  <specialInterest14Field>sample string 88</specialInterest14Field>
  <specialInterest15Field>sample string 89</specialInterest15Field>
  <specialInterest16Field>sample string 90</specialInterest16Field>
  <specialInterest17Field>sample string 91</specialInterest17Field>
  <specialInterest18Field>sample string 92</specialInterest18Field>
  <specialInterest1Field>sample string 75</specialInterest1Field>
  <specialInterest2Field>sample string 76</specialInterest2Field>
  <specialInterest3Field>sample string 77</specialInterest3Field>
  <specialInterest4Field>sample string 78</specialInterest4Field>
  <specialInterest5Field>sample string 79</specialInterest5Field>
  <specialInterest6Field>sample string 80</specialInterest6Field>
  <specialInterest7Field>sample string 81</specialInterest7Field>
  <specialInterest8Field>sample string 82</specialInterest8Field>
  <specialInterest9Field>sample string 83</specialInterest9Field>
  <stateField>sample string 12</stateField>
  <telemarketerField>sample string 64</telemarketerField>
  <titleField>sample string 7</titleField>
  <user_Field_14Field>sample string 34</user_Field_14Field>
  <user_Field_15Field>sample string 35</user_Field_15Field>
  <user_Field_16Field>sample string 36</user_Field_16Field>
  <user_Field_17Field>sample string 37</user_Field_17Field>
  <user_Field_18Field>sample string 38</user_Field_18Field>
  <user_Field_19Field>sample string 39</user_Field_19Field>
  <user_Field_1Field>sample string 26</user_Field_1Field>
  <user_Field_20Field>sample string 40</user_Field_20Field>
  <user_Field_21Field>sample string 41</user_Field_21Field>
  <user_Field_22Field>sample string 42</user_Field_22Field>
  <user_Field_23Field>sample string 43</user_Field_23Field>
  <user_Field_24Field>sample string 44</user_Field_24Field>
  <user_Field_25Field>sample string 45</user_Field_25Field>
  <user_Field_26Field>sample string 46</user_Field_26Field>
  <user_Field_27Field>sample string 47</user_Field_27Field>
  <user_Field_28Field>sample string 48</user_Field_28Field>
  <user_Field_2Field>sample string 27</user_Field_2Field>
  <user_Field_3Field>sample string 28</user_Field_3Field>
  <user_Field_41Field>sample string 49</user_Field_41Field>
  <user_Field_42Field>sample string 50</user_Field_42Field>
  <user_Field_43Field>sample string 51</user_Field_43Field>
  <user_Field_44Field>sample string 52</user_Field_44Field>
  <user_Field_45Field>sample string 53</user_Field_45Field>
  <user_Field_46Field>sample string 54</user_Field_46Field>
  <user_Field_47Field>sample string 55</user_Field_47Field>
  <user_Field_4Field>29</user_Field_4Field>
  <user_Field_5Field>30</user_Field_5Field>
  <user_Field_6Field>31</user_Field_6Field>
  <user_Field_7Field>sample string 32</user_Field_7Field>
  <user_Field_8Field>sample string 33</user_Field_8Field>
  <websiteField>sample string 21</websiteField>
  <zipField>sample string 13</zipField>
</TypeLeadData>