POST api/LeadSource

Request Information

URI Parameters

None.

Body Parameters

LeadSource
NameDescriptionTypeAdditional information
LeadSourceId

integer

None.

LeadSourceName

string

None.

CreatedDate

date

Data type: DateTime

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LeadSourceId": 1,
  "LeadSourceName": "sample string 2",
  "CreatedDate": "2025-12-08T01:07:33.7051132+05:30",
  "CreatedBy": "sample string 4"
}

application/xml, text/xml

Sample:
<LeadSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Domain.Entities">
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedDate>2025-12-08T01:07:33.7051132+05:30</CreatedDate>
  <LeadSourceId>1</LeadSourceId>
  <LeadSourceName>sample string 2</LeadSourceName>
</LeadSource>

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.