POST api/PBXMLEvent/AddPBXMLEvents

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objPBXMLEvents
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "cccd": "sample string 1",
  "PBXMLEvent": [
    {
      "CCCD": "sample string 1",
      "EventNo": 2,
      "EventOwner": 3,
      "EventOwnerName": "sample string 4",
      "CurrencyIsoCode": 5,
      "CurrencyIsoCodeName": "sample string 6",
      "IsAllDayEvent": true,
      "OwnerId": 8,
      "OwnerName": "sample string 9",
      "ActivityDate": "2025-01-18T15:36:00.1314362+05:30",
      "Description": "sample string 11",
      "DurationInMinutes": 12.0,
      "Email": "sample string 13",
      "EndDateTime": "2025-01-18T15:36:00.1314362+05:30",
      "EventSubtype": 15,
      "CreatedBy": 16,
      "LastUpdatedBy": 17,
      "Location": "sample string 18",
      "ContactLead": 19,
      "ContactLeadName": "sample string 20",
      "WhoId": 21,
      "WhoName": "sample string 22",
      "Phone": "sample string 23",
      "IsPrivate": true,
      "RelatedTo": 25,
      "RelatedToName": "sample string 26",
      "WhatId": 27,
      "WhatName": "sample string 28",
      "IsReminderSet": true,
      "IsRecurrence2": true,
      "ShowAs": 31,
      "ShowAsName": "sample string 32",
      "StartDateTime": "2025-01-18T15:36:00.1314362+05:30",
      "Subject": "sample string 34",
      "CreatedDate": "2025-01-18T15:36:00.1314362+05:30",
      "LastUpdatedDate": "2025-01-18T15:36:00.1314362+05:30",
      "UID": 37,
      "LUID": 38,
      "USERNAME": "sample string 39",
      "LUSERNAME": "sample string 40",
      "CreatedSystem": "sample string 41",
      "LastUpdatedSystem": "sample string 42",
      "XMLVAR": "sample string 43",
      "SFID": "sample string 44",
      "SFXMLVAR": "sample string 45"
    },
    {
      "CCCD": "sample string 1",
      "EventNo": 2,
      "EventOwner": 3,
      "EventOwnerName": "sample string 4",
      "CurrencyIsoCode": 5,
      "CurrencyIsoCodeName": "sample string 6",
      "IsAllDayEvent": true,
      "OwnerId": 8,
      "OwnerName": "sample string 9",
      "ActivityDate": "2025-01-18T15:36:00.1314362+05:30",
      "Description": "sample string 11",
      "DurationInMinutes": 12.0,
      "Email": "sample string 13",
      "EndDateTime": "2025-01-18T15:36:00.1314362+05:30",
      "EventSubtype": 15,
      "CreatedBy": 16,
      "LastUpdatedBy": 17,
      "Location": "sample string 18",
      "ContactLead": 19,
      "ContactLeadName": "sample string 20",
      "WhoId": 21,
      "WhoName": "sample string 22",
      "Phone": "sample string 23",
      "IsPrivate": true,
      "RelatedTo": 25,
      "RelatedToName": "sample string 26",
      "WhatId": 27,
      "WhatName": "sample string 28",
      "IsReminderSet": true,
      "IsRecurrence2": true,
      "ShowAs": 31,
      "ShowAsName": "sample string 32",
      "StartDateTime": "2025-01-18T15:36:00.1314362+05:30",
      "Subject": "sample string 34",
      "CreatedDate": "2025-01-18T15:36:00.1314362+05:30",
      "LastUpdatedDate": "2025-01-18T15:36:00.1314362+05:30",
      "UID": 37,
      "LUID": 38,
      "USERNAME": "sample string 39",
      "LUSERNAME": "sample string 40",
      "CreatedSystem": "sample string 41",
      "LastUpdatedSystem": "sample string 42",
      "XMLVAR": "sample string 43",
      "SFID": "sample string 44",
      "SFXMLVAR": "sample string 45"
    },
    {
      "CCCD": "sample string 1",
      "EventNo": 2,
      "EventOwner": 3,
      "EventOwnerName": "sample string 4",
      "CurrencyIsoCode": 5,
      "CurrencyIsoCodeName": "sample string 6",
      "IsAllDayEvent": true,
      "OwnerId": 8,
      "OwnerName": "sample string 9",
      "ActivityDate": "2025-01-18T15:36:00.1314362+05:30",
      "Description": "sample string 11",
      "DurationInMinutes": 12.0,
      "Email": "sample string 13",
      "EndDateTime": "2025-01-18T15:36:00.1314362+05:30",
      "EventSubtype": 15,
      "CreatedBy": 16,
      "LastUpdatedBy": 17,
      "Location": "sample string 18",
      "ContactLead": 19,
      "ContactLeadName": "sample string 20",
      "WhoId": 21,
      "WhoName": "sample string 22",
      "Phone": "sample string 23",
      "IsPrivate": true,
      "RelatedTo": 25,
      "RelatedToName": "sample string 26",
      "WhatId": 27,
      "WhatName": "sample string 28",
      "IsReminderSet": true,
      "IsRecurrence2": true,
      "ShowAs": 31,
      "ShowAsName": "sample string 32",
      "StartDateTime": "2025-01-18T15:36:00.1314362+05:30",
      "Subject": "sample string 34",
      "CreatedDate": "2025-01-18T15:36:00.1314362+05:30",
      "LastUpdatedDate": "2025-01-18T15:36:00.1314362+05:30",
      "UID": 37,
      "LUID": 38,
      "USERNAME": "sample string 39",
      "LUSERNAME": "sample string 40",
      "CreatedSystem": "sample string 41",
      "LastUpdatedSystem": "sample string 42",
      "XMLVAR": "sample string 43",
      "SFID": "sample string 44",
      "SFXMLVAR": "sample string 45"
    }
  ]
}

text/html

Sample:
{"cccd":"sample string 1","PBXMLEvent":[{"CCCD":"sample string 1","EventNo":2,"EventOwner":3,"EventOwnerName":"sample string 4","CurrencyIsoCode":5,"CurrencyIsoCodeName":"sample string 6","IsAllDayEvent":true,"OwnerId":8,"OwnerName":"sample string 9","ActivityDate":"2025-01-18T15:36:00.1314362+05:30","Description":"sample string 11","DurationInMinutes":12.0,"Email":"sample string 13","EndDateTime":"2025-01-18T15:36:00.1314362+05:30","EventSubtype":15,"CreatedBy":16,"LastUpdatedBy":17,"Location":"sample string 18","ContactLead":19,"ContactLeadName":"sample string 20","WhoId":21,"WhoName":"sample string 22","Phone":"sample string 23","IsPrivate":true,"RelatedTo":25,"RelatedToName":"sample string 26","WhatId":27,"WhatName":"sample string 28","IsReminderSet":true,"IsRecurrence2":true,"ShowAs":31,"ShowAsName":"sample string 32","StartDateTime":"2025-01-18T15:36:00.1314362+05:30","Subject":"sample string 34","CreatedDate":"2025-01-18T15:36:00.1314362+05:30","LastUpdatedDate":"2025-01-18T15:36:00.1314362+05:30","UID":37,"LUID":38,"USERNAME":"sample string 39","LUSERNAME":"sample string 40","CreatedSystem":"sample string 41","LastUpdatedSystem":"sample string 42","XMLVAR":"sample string 43","SFID":"sample string 44","SFXMLVAR":"sample string 45"},{"CCCD":"sample string 1","EventNo":2,"EventOwner":3,"EventOwnerName":"sample string 4","CurrencyIsoCode":5,"CurrencyIsoCodeName":"sample string 6","IsAllDayEvent":true,"OwnerId":8,"OwnerName":"sample string 9","ActivityDate":"2025-01-18T15:36:00.1314362+05:30","Description":"sample string 11","DurationInMinutes":12.0,"Email":"sample string 13","EndDateTime":"2025-01-18T15:36:00.1314362+05:30","EventSubtype":15,"CreatedBy":16,"LastUpdatedBy":17,"Location":"sample string 18","ContactLead":19,"ContactLeadName":"sample string 20","WhoId":21,"WhoName":"sample string 22","Phone":"sample string 23","IsPrivate":true,"RelatedTo":25,"RelatedToName":"sample string 26","WhatId":27,"WhatName":"sample string 28","IsReminderSet":true,"IsRecurrence2":true,"ShowAs":31,"ShowAsName":"sample string 32","StartDateTime":"2025-01-18T15:36:00.1314362+05:30","Subject":"sample string 34","CreatedDate":"2025-01-18T15:36:00.1314362+05:30","LastUpdatedDate":"2025-01-18T15:36:00.1314362+05:30","UID":37,"LUID":38,"USERNAME":"sample string 39","LUSERNAME":"sample string 40","CreatedSystem":"sample string 41","LastUpdatedSystem":"sample string 42","XMLVAR":"sample string 43","SFID":"sample string 44","SFXMLVAR":"sample string 45"},{"CCCD":"sample string 1","EventNo":2,"EventOwner":3,"EventOwnerName":"sample string 4","CurrencyIsoCode":5,"CurrencyIsoCodeName":"sample string 6","IsAllDayEvent":true,"OwnerId":8,"OwnerName":"sample string 9","ActivityDate":"2025-01-18T15:36:00.1314362+05:30","Description":"sample string 11","DurationInMinutes":12.0,"Email":"sample string 13","EndDateTime":"2025-01-18T15:36:00.1314362+05:30","EventSubtype":15,"CreatedBy":16,"LastUpdatedBy":17,"Location":"sample string 18","ContactLead":19,"ContactLeadName":"sample string 20","WhoId":21,"WhoName":"sample string 22","Phone":"sample string 23","IsPrivate":true,"RelatedTo":25,"RelatedToName":"sample string 26","WhatId":27,"WhatName":"sample string 28","IsReminderSet":true,"IsRecurrence2":true,"ShowAs":31,"ShowAsName":"sample string 32","StartDateTime":"2025-01-18T15:36:00.1314362+05:30","Subject":"sample string 34","CreatedDate":"2025-01-18T15:36:00.1314362+05:30","LastUpdatedDate":"2025-01-18T15:36:00.1314362+05:30","UID":37,"LUID":38,"USERNAME":"sample string 39","LUSERNAME":"sample string 40","CreatedSystem":"sample string 41","LastUpdatedSystem":"sample string 42","XMLVAR":"sample string 43","SFID":"sample string 44","SFXMLVAR":"sample string 45"}]}

application/xml, text/xml

Sample:
<PBXMLEvents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <PBXMLEvent>
    <PBXMLEvent>
      <ActivityDate>2025-01-18T15:36:00.1314362+05:30</ActivityDate>
      <CCCD>sample string 1</CCCD>
      <ContactLead>19</ContactLead>
      <ContactLeadName>sample string 20</ContactLeadName>
      <CreatedBy>16</CreatedBy>
      <CreatedDate>2025-01-18T15:36:00.1314362+05:30</CreatedDate>
      <CreatedSystem>sample string 41</CreatedSystem>
      <CurrencyIsoCode>5</CurrencyIsoCode>
      <CurrencyIsoCodeName>sample string 6</CurrencyIsoCodeName>
      <Description>sample string 11</Description>
      <DurationInMinutes>12</DurationInMinutes>
      <Email>sample string 13</Email>
      <EndDateTime>2025-01-18T15:36:00.1314362+05:30</EndDateTime>
      <EventNo>2</EventNo>
      <EventOwner>3</EventOwner>
      <EventOwnerName>sample string 4</EventOwnerName>
      <EventSubtype>15</EventSubtype>
      <IsAllDayEvent>true</IsAllDayEvent>
      <IsPrivate>true</IsPrivate>
      <IsRecurrence2>true</IsRecurrence2>
      <IsReminderSet>true</IsReminderSet>
      <LUID>38</LUID>
      <LUSERNAME>sample string 40</LUSERNAME>
      <LastUpdatedBy>17</LastUpdatedBy>
      <LastUpdatedDate>2025-01-18T15:36:00.1314362+05:30</LastUpdatedDate>
      <LastUpdatedSystem>sample string 42</LastUpdatedSystem>
      <Location>sample string 18</Location>
      <OwnerId>8</OwnerId>
      <OwnerName>sample string 9</OwnerName>
      <Phone>sample string 23</Phone>
      <RelatedTo>25</RelatedTo>
      <RelatedToName>sample string 26</RelatedToName>
      <SFID>sample string 44</SFID>
      <SFXMLVAR>sample string 45</SFXMLVAR>
      <ShowAs>31</ShowAs>
      <ShowAsName>sample string 32</ShowAsName>
      <StartDateTime>2025-01-18T15:36:00.1314362+05:30</StartDateTime>
      <Subject>sample string 34</Subject>
      <UID>37</UID>
      <USERNAME>sample string 39</USERNAME>
      <WhatId>27</WhatId>
      <WhatName>sample string 28</WhatName>
      <WhoId>21</WhoId>
      <WhoName>sample string 22</WhoName>
      <XMLVAR>sample string 43</XMLVAR>
    </PBXMLEvent>
    <PBXMLEvent>
      <ActivityDate>2025-01-18T15:36:00.1314362+05:30</ActivityDate>
      <CCCD>sample string 1</CCCD>
      <ContactLead>19</ContactLead>
      <ContactLeadName>sample string 20</ContactLeadName>
      <CreatedBy>16</CreatedBy>
      <CreatedDate>2025-01-18T15:36:00.1314362+05:30</CreatedDate>
      <CreatedSystem>sample string 41</CreatedSystem>
      <CurrencyIsoCode>5</CurrencyIsoCode>
      <CurrencyIsoCodeName>sample string 6</CurrencyIsoCodeName>
      <Description>sample string 11</Description>
      <DurationInMinutes>12</DurationInMinutes>
      <Email>sample string 13</Email>
      <EndDateTime>2025-01-18T15:36:00.1314362+05:30</EndDateTime>
      <EventNo>2</EventNo>
      <EventOwner>3</EventOwner>
      <EventOwnerName>sample string 4</EventOwnerName>
      <EventSubtype>15</EventSubtype>
      <IsAllDayEvent>true</IsAllDayEvent>
      <IsPrivate>true</IsPrivate>
      <IsRecurrence2>true</IsRecurrence2>
      <IsReminderSet>true</IsReminderSet>
      <LUID>38</LUID>
      <LUSERNAME>sample string 40</LUSERNAME>
      <LastUpdatedBy>17</LastUpdatedBy>
      <LastUpdatedDate>2025-01-18T15:36:00.1314362+05:30</LastUpdatedDate>
      <LastUpdatedSystem>sample string 42</LastUpdatedSystem>
      <Location>sample string 18</Location>
      <OwnerId>8</OwnerId>
      <OwnerName>sample string 9</OwnerName>
      <Phone>sample string 23</Phone>
      <RelatedTo>25</RelatedTo>
      <RelatedToName>sample string 26</RelatedToName>
      <SFID>sample string 44</SFID>
      <SFXMLVAR>sample string 45</SFXMLVAR>
      <ShowAs>31</ShowAs>
      <ShowAsName>sample string 32</ShowAsName>
      <StartDateTime>2025-01-18T15:36:00.1314362+05:30</StartDateTime>
      <Subject>sample string 34</Subject>
      <UID>37</UID>
      <USERNAME>sample string 39</USERNAME>
      <WhatId>27</WhatId>
      <WhatName>sample string 28</WhatName>
      <WhoId>21</WhoId>
      <WhoName>sample string 22</WhoName>
      <XMLVAR>sample string 43</XMLVAR>
    </PBXMLEvent>
    <PBXMLEvent>
      <ActivityDate>2025-01-18T15:36:00.1314362+05:30</ActivityDate>
      <CCCD>sample string 1</CCCD>
      <ContactLead>19</ContactLead>
      <ContactLeadName>sample string 20</ContactLeadName>
      <CreatedBy>16</CreatedBy>
      <CreatedDate>2025-01-18T15:36:00.1314362+05:30</CreatedDate>
      <CreatedSystem>sample string 41</CreatedSystem>
      <CurrencyIsoCode>5</CurrencyIsoCode>
      <CurrencyIsoCodeName>sample string 6</CurrencyIsoCodeName>
      <Description>sample string 11</Description>
      <DurationInMinutes>12</DurationInMinutes>
      <Email>sample string 13</Email>
      <EndDateTime>2025-01-18T15:36:00.1314362+05:30</EndDateTime>
      <EventNo>2</EventNo>
      <EventOwner>3</EventOwner>
      <EventOwnerName>sample string 4</EventOwnerName>
      <EventSubtype>15</EventSubtype>
      <IsAllDayEvent>true</IsAllDayEvent>
      <IsPrivate>true</IsPrivate>
      <IsRecurrence2>true</IsRecurrence2>
      <IsReminderSet>true</IsReminderSet>
      <LUID>38</LUID>
      <LUSERNAME>sample string 40</LUSERNAME>
      <LastUpdatedBy>17</LastUpdatedBy>
      <LastUpdatedDate>2025-01-18T15:36:00.1314362+05:30</LastUpdatedDate>
      <LastUpdatedSystem>sample string 42</LastUpdatedSystem>
      <Location>sample string 18</Location>
      <OwnerId>8</OwnerId>
      <OwnerName>sample string 9</OwnerName>
      <Phone>sample string 23</Phone>
      <RelatedTo>25</RelatedTo>
      <RelatedToName>sample string 26</RelatedToName>
      <SFID>sample string 44</SFID>
      <SFXMLVAR>sample string 45</SFXMLVAR>
      <ShowAs>31</ShowAs>
      <ShowAsName>sample string 32</ShowAsName>
      <StartDateTime>2025-01-18T15:36:00.1314362+05:30</StartDateTime>
      <Subject>sample string 34</Subject>
      <UID>37</UID>
      <USERNAME>sample string 39</USERNAME>
      <WhatId>27</WhatId>
      <WhatName>sample string 28</WhatName>
      <WhoId>21</WhoId>
      <WhoName>sample string 22</WhoName>
      <XMLVAR>sample string 43</XMLVAR>
    </PBXMLEvent>
  </PBXMLEvent>
  <cccd>sample string 1</cccd>
</PBXMLEvents>

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>