URL

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

Description

Update Contact in leadmaster

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
apiobject
Contact will be updated 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:
<APIContactObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <Address1>sample string 15</Address1>
  <Address2>sample string 16</Address2>
  <Address3>sample string 17</Address3>
  <AssignToRepByEmail>sample string 38</AssignToRepByEmail>
  <CellPhone>sample string 25</CellPhone>
  <City>sample string 18</City>
  <Company>sample string 31</Company>
  <ContactID>9</ContactID>
  <ContactMethod>sample string 29</ContactMethod>
  <Contact_Note>sample string 28</Contact_Note>
  <Country>sample string 21</Country>
  <EE_REP>37</EE_REP>
  <Email>sample string 26</Email>
  <Fax>sample string 24</Fax>
  <Field1>sample string 39</Field1>
  <Field2>sample string 40</Field2>
  <Field3>sample string 41</Field3>
  <Field4>sample string 42</Field4>
  <Field5>sample string 43</Field5>
  <FirstName>sample string 11</FirstName>
  <FunctionCode>sample string 27</FunctionCode>
  <Grade>sample string 36</Grade>
  <LastName>sample string 12</LastName>
  <Lead_Source>sample string 33</Lead_Source>
  <Lead_Status>sample string 34</Lead_Status>
  <Mkt_Program_ID>sample string 32</Mkt_Program_ID>
  <Phone1>sample string 22</Phone1>
  <Phone2>sample string 23</Phone2>
  <Prefix>sample string 10</Prefix>
  <RecordID>8</RecordID>
  <SalesStage>sample string 35</SalesStage>
  <State>sample string 19</State>
  <Title>sample string 13</Title>
  <TitleCode>sample string 14</TitleCode>
  <User_Field_8>sample string 30</User_Field_8>
  <Zip>sample string 20</Zip>
  <api_key>sample string 7</api_key>
  <company_id>sample string 6</company_id>
</APIContactObject>

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:
<TypeContactData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.LMService">
  <address1Field>sample string 6</address1Field>
  <address2Field>sample string 7</address2Field>
  <address3Field>sample string 8</address3Field>
  <assignToRepByEmailField>sample string 33</assignToRepByEmailField>
  <cellPhoneField>sample string 16</cellPhoneField>
  <cityField>sample string 9</cityField>
  <companyField>sample string 27</companyField>
  <contactIDField>2</contactIDField>
  <contactMethodField>sample string 24</contactMethodField>
  <contact_NoteField>sample string 25</contact_NoteField>
  <countryField>sample string 12</countryField>
  <eE_REPField>1</eE_REPField>
  <emailField>sample string 18</emailField>
  <faxField>sample string 17</faxField>
  <field1Field>sample string 36</field1Field>
  <field2Field>sample string 37</field2Field>
  <field3Field>sample string 38</field3Field>
  <field4Field>sample string 39</field4Field>
  <field5Field>sample string 40</field5Field>
  <firstNameField>sample string 4</firstNameField>
  <functionCodeField>sample string 22</functionCodeField>
  <functionCodeTextField>sample string 23</functionCodeTextField>
  <gradeField>sample string 32</gradeField>
  <lastNameField>sample string 5</lastNameField>
  <lastUpdatedField>sample string 26</lastUpdatedField>
  <lead_SourceField>sample string 29</lead_SourceField>
  <lead_StatusField>sample string 30</lead_StatusField>
  <mFGPARTNRField>sample string 34</mFGPARTNRField>
  <mkt_Program_IDField>sample string 28</mkt_Program_IDField>
  <partnerRepIDField>sample string 35</partnerRepIDField>
  <phone1Field>sample string 14</phone1Field>
  <phone2Field>sample string 15</phone2Field>
  <prefixField>sample string 3</prefixField>
  <recordIDField>1</recordIDField>
  <salesStageField>sample string 31</salesStageField>
  <stateField>sample string 10</stateField>
  <titleCodeField>sample string 20</titleCodeField>
  <titleCodeTextField>sample string 21</titleCodeTextField>
  <titleField>sample string 13</titleField>
  <user_Field_8Field>sample string 19</user_Field_8Field>
  <zipField>sample string 11</zipField>
</TypeContactData>