POST api/event

Post Integration Log Event

Request Information

URI Parameters

Query String:

None.

Body Parameters

A list of required structures containing the details about the event log to create.

Type: IntegrationLogSet

NameDescriptionTypeAdditional information
sourceConfigId

Sales Configuration used for this entry.

globally unique identifier

Required

version

Salesforce's version

string

None.

integrationLogs

A list of Integration Logs

Collection of IntegrationLog

Required

Request Formats

application/json, text/json

Sample:
{
  "sourceConfigId": "40b2f397-eb75-406e-90d8-2ed17b908fe1",
  "version": "sample string 2",
  "integrationLogs": [
    {
      "Message": "sample string 1",
      "Details": "sample string 2",
      "Status": "sample string 3",
      "Result": {
        "Subject": "sample string 1",
        "Success": true,
        "Id": "92633444-bfb5-49eb-84fe-2d3decdd1099",
        "Messages": [
          "sample string 1",
          "sample string 2"
        ]
      }
    },
    {
      "Message": "sample string 1",
      "Details": "sample string 2",
      "Status": "sample string 3",
      "Result": {
        "Subject": "sample string 1",
        "Success": true,
        "Id": "92633444-bfb5-49eb-84fe-2d3decdd1099",
        "Messages": [
          "sample string 1",
          "sample string 2"
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<integrationLogSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReferralRock.Api.Controllers">
  <sourceConfigId>40b2f397-eb75-406e-90d8-2ed17b908fe1</sourceConfigId>
  <version>sample string 2</version>
  <integrationLogs>
    <IntegrationLog>
      <Details>sample string 2</Details>
      <Message>sample string 1</Message>
      <Result xmlns:d4p1="http://schemas.datacontract.org/2004/07/ReferralRock.MiddleTier.Models">
        <d4p1:Id>92633444-bfb5-49eb-84fe-2d3decdd1099</d4p1:Id>
        <d4p1:Messages xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d4p1:Messages>
        <d4p1:Subject>sample string 1</d4p1:Subject>
        <d4p1:Success>true</d4p1:Success>
      </Result>
      <Status>sample string 3</Status>
    </IntegrationLog>
    <IntegrationLog>
      <Details>sample string 2</Details>
      <Message>sample string 1</Message>
      <Result xmlns:d4p1="http://schemas.datacontract.org/2004/07/ReferralRock.MiddleTier.Models">
        <d4p1:Id>92633444-bfb5-49eb-84fe-2d3decdd1099</d4p1:Id>
        <d4p1:Messages xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d4p1:Messages>
        <d4p1:Subject>sample string 1</d4p1:Subject>
        <d4p1:Success>true</d4p1:Success>
      </Result>
      <Status>sample string 3</Status>
    </IntegrationLog>
  </integrationLogs>
</integrationLogSet>

Response Information

Resource Description

Type: HttpResponseMessage

NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.