POST api/PBXMLOpportunity/AddPBXMLOpportunity

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objPBXMLOpportunity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Cccd": "sample string 1",
  "OppNo": 2,
  "OppOwner": 3,
  "OppOwnerName": "sample string 4",
  "OppName": "sample string 5",
  "Account": 6,
  "AccountName": "sample string 7",
  "Currency": 8,
  "CurrencyName": "sample string 9",
  "Amount": 10,
  "Type": 11,
  "TypeName": "sample string 12",
  "ExpCloseDate": "2024-11-23T19:03:56.0658147+05:30",
  "LeadSource": 14,
  "LeadSourceName": "sample string 15",
  "NextStep": "sample string 16",
  "Campaign": 17,
  "CampaignName": "sample string 18",
  "SalesStage": 19,
  "SalesStageName": "sample string 20",
  "Probability": 21,
  "Description": "sample string 22",
  "CreatedBy": 23,
  "LastUpdatedBy": 24,
  "CREATEDSYSTEM": "sample string 25",
  "LASTUPDATEDSYSTEM": "sample string 26",
  "UID": 27,
  "USERNAME": "sample string 28",
  "LUID": 29,
  "LUSERNAME": "sample string 30",
  "CREATEDDATE": "2024-11-23T19:03:56.0658147+05:30",
  "LASTUPDATEDDATE": "2024-11-23T19:03:56.0658147+05:30",
  "XMLVAR": "sample string 33",
  "SFID": "sample string 34",
  "SFXMLVAR": "sample string 35"
}

text/html

Sample:
{"Cccd":"sample string 1","OppNo":2,"OppOwner":3,"OppOwnerName":"sample string 4","OppName":"sample string 5","Account":6,"AccountName":"sample string 7","Currency":8,"CurrencyName":"sample string 9","Amount":10,"Type":11,"TypeName":"sample string 12","ExpCloseDate":"2024-11-23T19:03:56.0658147+05:30","LeadSource":14,"LeadSourceName":"sample string 15","NextStep":"sample string 16","Campaign":17,"CampaignName":"sample string 18","SalesStage":19,"SalesStageName":"sample string 20","Probability":21,"Description":"sample string 22","CreatedBy":23,"LastUpdatedBy":24,"CREATEDSYSTEM":"sample string 25","LASTUPDATEDSYSTEM":"sample string 26","UID":27,"USERNAME":"sample string 28","LUID":29,"LUSERNAME":"sample string 30","CREATEDDATE":"2024-11-23T19:03:56.0658147+05:30","LASTUPDATEDDATE":"2024-11-23T19:03:56.0658147+05:30","XMLVAR":"sample string 33","SFID":"sample string 34","SFXMLVAR":"sample string 35"}

application/xml, text/xml

Sample:
<PBXMLOpportunity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <Account>6</Account>
  <AccountName>sample string 7</AccountName>
  <Amount>10</Amount>
  <CREATEDDATE>2024-11-23T19:03:56.0658147+05:30</CREATEDDATE>
  <CREATEDSYSTEM>sample string 25</CREATEDSYSTEM>
  <Campaign>17</Campaign>
  <CampaignName>sample string 18</CampaignName>
  <Cccd>sample string 1</Cccd>
  <CreatedBy>23</CreatedBy>
  <Currency>8</Currency>
  <CurrencyName>sample string 9</CurrencyName>
  <Description>sample string 22</Description>
  <ExpCloseDate>2024-11-23T19:03:56.0658147+05:30</ExpCloseDate>
  <LASTUPDATEDDATE>2024-11-23T19:03:56.0658147+05:30</LASTUPDATEDDATE>
  <LASTUPDATEDSYSTEM>sample string 26</LASTUPDATEDSYSTEM>
  <LUID>29</LUID>
  <LUSERNAME>sample string 30</LUSERNAME>
  <LastUpdatedBy>24</LastUpdatedBy>
  <LeadSource>14</LeadSource>
  <LeadSourceName>sample string 15</LeadSourceName>
  <NextStep>sample string 16</NextStep>
  <OppName>sample string 5</OppName>
  <OppNo>2</OppNo>
  <OppOwner>3</OppOwner>
  <OppOwnerName>sample string 4</OppOwnerName>
  <Probability>21</Probability>
  <SFID>sample string 34</SFID>
  <SFXMLVAR>sample string 35</SFXMLVAR>
  <SalesStage>19</SalesStage>
  <SalesStageName>sample string 20</SalesStageName>
  <Type>11</Type>
  <TypeName>sample string 12</TypeName>
  <UID>27</UID>
  <USERNAME>sample string 28</USERNAME>
  <XMLVAR>sample string 33</XMLVAR>
</PBXMLOpportunity>

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>