POST api/PBXMLLead/AddPBXMLLead

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objPBXMLLead
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Cccd": "sample string 1",
  "LeadNo": 2,
  "LeadOwner": 3,
  "LeadOwnerName": "sample string 4",
  "Salutation": 5,
  "SalutationName": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "Company": "sample string 9",
  "Title": "sample string 10",
  "Currency": 11,
  "CurrencyName": "sample string 12",
  "LeadStatus": 13,
  "LeadStatusName": "sample string 14",
  "Phone": "sample string 15",
  "Email": "sample string 16",
  "Rating": 17,
  "RatingName": "sample string 18",
  "NoOfEmployees": 19,
  "AnnualRevenue": 20.1,
  "LeadSource": 21,
  "LeadSourceName": "sample string 22",
  "Industry": 23,
  "IndustryName": "sample string 24",
  "Website": "sample string 25",
  "Street": "sample string 26",
  "City": "sample string 27",
  "ZipCode": "sample string 28",
  "State": "sample string 29",
  "Country": "sample string 30",
  "Description": "sample string 31",
  "CreatedBy": 32,
  "LastUpdatedBy": 33,
  "CREATEDSYSTEM": "sample string 34",
  "LASTUPDATEDSYSTEM": "sample string 35",
  "UID": 36.1,
  "USERNAME": "sample string 37",
  "LUID": 38,
  "LUSERNAME": "sample string 39",
  "CREATEDDATE": "2024-11-22T21:54:49.4336742+05:30",
  "LASTUPDATEDDATE": "2024-11-22T21:54:49.4336742+05:30",
  "XMLVAR": "sample string 42",
  "SFID": "sample string 43",
  "SFXMLVAR": "sample string 44"
}

text/html

Sample:
{"Cccd":"sample string 1","LeadNo":2,"LeadOwner":3,"LeadOwnerName":"sample string 4","Salutation":5,"SalutationName":"sample string 6","FirstName":"sample string 7","LastName":"sample string 8","Company":"sample string 9","Title":"sample string 10","Currency":11,"CurrencyName":"sample string 12","LeadStatus":13,"LeadStatusName":"sample string 14","Phone":"sample string 15","Email":"sample string 16","Rating":17,"RatingName":"sample string 18","NoOfEmployees":19,"AnnualRevenue":20.1,"LeadSource":21,"LeadSourceName":"sample string 22","Industry":23,"IndustryName":"sample string 24","Website":"sample string 25","Street":"sample string 26","City":"sample string 27","ZipCode":"sample string 28","State":"sample string 29","Country":"sample string 30","Description":"sample string 31","CreatedBy":32,"LastUpdatedBy":33,"CREATEDSYSTEM":"sample string 34","LASTUPDATEDSYSTEM":"sample string 35","UID":36.1,"USERNAME":"sample string 37","LUID":38,"LUSERNAME":"sample string 39","CREATEDDATE":"2024-11-22T21:54:49.4336742+05:30","LASTUPDATEDDATE":"2024-11-22T21:54:49.4336742+05:30","XMLVAR":"sample string 42","SFID":"sample string 43","SFXMLVAR":"sample string 44"}

application/xml, text/xml

Sample:
<PBXMLLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <AnnualRevenue>20.1</AnnualRevenue>
  <CREATEDDATE>2024-11-22T21:54:49.4336742+05:30</CREATEDDATE>
  <CREATEDSYSTEM>sample string 34</CREATEDSYSTEM>
  <Cccd>sample string 1</Cccd>
  <City>sample string 27</City>
  <Company>sample string 9</Company>
  <Country>sample string 30</Country>
  <CreatedBy>32</CreatedBy>
  <Currency>11</Currency>
  <CurrencyName>sample string 12</CurrencyName>
  <Description>sample string 31</Description>
  <Email>sample string 16</Email>
  <FirstName>sample string 7</FirstName>
  <Industry>23</Industry>
  <IndustryName>sample string 24</IndustryName>
  <LASTUPDATEDDATE>2024-11-22T21:54:49.4336742+05:30</LASTUPDATEDDATE>
  <LASTUPDATEDSYSTEM>sample string 35</LASTUPDATEDSYSTEM>
  <LUID>38</LUID>
  <LUSERNAME>sample string 39</LUSERNAME>
  <LastName>sample string 8</LastName>
  <LastUpdatedBy>33</LastUpdatedBy>
  <LeadNo>2</LeadNo>
  <LeadOwner>3</LeadOwner>
  <LeadOwnerName>sample string 4</LeadOwnerName>
  <LeadSource>21</LeadSource>
  <LeadSourceName>sample string 22</LeadSourceName>
  <LeadStatus>13</LeadStatus>
  <LeadStatusName>sample string 14</LeadStatusName>
  <NoOfEmployees>19</NoOfEmployees>
  <Phone>sample string 15</Phone>
  <Rating>17</Rating>
  <RatingName>sample string 18</RatingName>
  <SFID>sample string 43</SFID>
  <SFXMLVAR>sample string 44</SFXMLVAR>
  <Salutation>5</Salutation>
  <SalutationName>sample string 6</SalutationName>
  <State>sample string 29</State>
  <Street>sample string 26</Street>
  <Title>sample string 10</Title>
  <UID>36.1</UID>
  <USERNAME>sample string 37</USERNAME>
  <Website>sample string 25</Website>
  <XMLVAR>sample string 42</XMLVAR>
  <ZipCode>sample string 28</ZipCode>
</PBXMLLead>

application/x-www-form-urlencoded

Sample:

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>