POST api/leads/sync

Request Information

URI Parameters

None.

Body Parameters

Collection of LeadSync
NameDescriptionTypeAdditional information
id

string

None.

dateModified

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "dateModified": "2021-07-31T05:19:20.5016399+00:00"
  },
  {
    "id": "sample string 1",
    "dateModified": "2021-07-31T05:19:20.5016399+00:00"
  }
]

text/html

Sample:
[{"id":"sample string 1","dateModified":"2021-07-31T05:19:20.5016399+00:00"},{"id":"sample string 1","dateModified":"2021-07-31T05:19:20.5016399+00:00"}]

application/xml, text/xml

Sample:
<ArrayOfLeadSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <LeadSync>
    <DateModified>2021-07-31T05:19:20.5016399+00:00</DateModified>
    <Id>sample string 1</Id>
  </LeadSync>
  <LeadSync>
    <DateModified>2021-07-31T05:19:20.5016399+00:00</DateModified>
    <Id>sample string 1</Id>
  </LeadSync>
</ArrayOfLeadSync>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LeadSync[]'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.