POST api/ClientLeadResponse

Post Lead response and earnings data using this WebMethod

Request Information

URI Parameters

None.

Body Parameters

ClientLeadResponseHeader
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

DateSent

date

None.

LeadResponses

Collection of ClientLeadResponseDto

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "DateSent": "2019-10-16T09:05:10.4430253+02:00",
  "LeadResponses": [
    {
      "ClientLeadReference": "sample string 1",
      "CellNumber": "sample string 2",
      "Email": "sample string 3",
      "Comment": "sample string 4",
      "ClientLeadStatus": "sample string 5",
      "CallCentreAgentName": "sample string 6",
      "LastUpdated": "2019-10-16T09:05:10.4430253+02:00",
      "ClientDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "InternalLeadReference": 1,
      "IsSold": true,
      "SalesAmount": 1.0,
      "SoldDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "NumberQuotes": 1,
      "CollectedAmount": 1.0,
      "CollectedDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "IsCanceled": true,
      "CanceledDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "IsReinstated": true,
      "ReinstatedDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "QuoteDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "IdNumber": "sample string 8"
    },
    {
      "ClientLeadReference": "sample string 1",
      "CellNumber": "sample string 2",
      "Email": "sample string 3",
      "Comment": "sample string 4",
      "ClientLeadStatus": "sample string 5",
      "CallCentreAgentName": "sample string 6",
      "LastUpdated": "2019-10-16T09:05:10.4430253+02:00",
      "ClientDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "InternalLeadReference": 1,
      "IsSold": true,
      "SalesAmount": 1.0,
      "SoldDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "NumberQuotes": 1,
      "CollectedAmount": 1.0,
      "CollectedDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "IsCanceled": true,
      "CanceledDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "IsReinstated": true,
      "ReinstatedDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "QuoteDateTime": "2019-10-16T09:05:10.4430253+02:00",
      "IdNumber": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<ClientLeadResponseHeader xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserName>sample string 1</UserName>
  <Password>sample string 2</Password>
  <DateSent>2019-10-16T09:05:10.4430253+02:00</DateSent>
  <LeadResponses>
    <ClientLeadResponseDto>
      <ClientLeadReference>sample string 1</ClientLeadReference>
      <CellNumber>sample string 2</CellNumber>
      <Email>sample string 3</Email>
      <Comment>sample string 4</Comment>
      <ClientLeadStatus>sample string 5</ClientLeadStatus>
      <CallCentreAgentName>sample string 6</CallCentreAgentName>
      <LastUpdated>2019-10-16T09:05:10.4430253+02:00</LastUpdated>
      <ClientDateTime>2019-10-16T09:05:10.4430253+02:00</ClientDateTime>
      <InternalLeadReference>1</InternalLeadReference>
      <IsSold>true</IsSold>
      <SalesAmount>1</SalesAmount>
      <SoldDateTime>2019-10-16T09:05:10.4430253+02:00</SoldDateTime>
      <NumberQuotes>1</NumberQuotes>
      <CollectedAmount>1</CollectedAmount>
      <CollectedDateTime>2019-10-16T09:05:10.4430253+02:00</CollectedDateTime>
      <IsCanceled>true</IsCanceled>
      <CanceledDateTime>2019-10-16T09:05:10.4430253+02:00</CanceledDateTime>
      <IsReinstated>true</IsReinstated>
      <ReinstatedDateTime>2019-10-16T09:05:10.4430253+02:00</ReinstatedDateTime>
      <QuoteDateTime>2019-10-16T09:05:10.4430253+02:00</QuoteDateTime>
      <IdNumber>sample string 8</IdNumber>
    </ClientLeadResponseDto>
    <ClientLeadResponseDto>
      <ClientLeadReference>sample string 1</ClientLeadReference>
      <CellNumber>sample string 2</CellNumber>
      <Email>sample string 3</Email>
      <Comment>sample string 4</Comment>
      <ClientLeadStatus>sample string 5</ClientLeadStatus>
      <CallCentreAgentName>sample string 6</CallCentreAgentName>
      <LastUpdated>2019-10-16T09:05:10.4430253+02:00</LastUpdated>
      <ClientDateTime>2019-10-16T09:05:10.4430253+02:00</ClientDateTime>
      <InternalLeadReference>1</InternalLeadReference>
      <IsSold>true</IsSold>
      <SalesAmount>1</SalesAmount>
      <SoldDateTime>2019-10-16T09:05:10.4430253+02:00</SoldDateTime>
      <NumberQuotes>1</NumberQuotes>
      <CollectedAmount>1</CollectedAmount>
      <CollectedDateTime>2019-10-16T09:05:10.4430253+02:00</CollectedDateTime>
      <IsCanceled>true</IsCanceled>
      <CanceledDateTime>2019-10-16T09:05:10.4430253+02:00</CanceledDateTime>
      <IsReinstated>true</IsReinstated>
      <ReinstatedDateTime>2019-10-16T09:05:10.4430253+02:00</ReinstatedDateTime>
      <QuoteDateTime>2019-10-16T09:05:10.4430253+02:00</QuoteDateTime>
      <IdNumber>sample string 8</IdNumber>
    </ClientLeadResponseDto>
  </LeadResponses>
</ClientLeadResponseHeader>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.