GET api/Registration/getAllRecords/LeadSource/{Key}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Key

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BRLeadSourceDto
NameDescriptionTypeAdditional information
LeadSourceId

decimal number

None.

LeadSourceName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LeadSourceId": 1.0,
    "LeadSourceName": "sample string 2"
  },
  {
    "LeadSourceId": 1.0,
    "LeadSourceName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRegistrationController.BRLeadSourceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Controllers">
  <RegistrationController.BRLeadSourceDto>
    <LeadSourceId>1</LeadSourceId>
    <LeadSourceName>sample string 2</LeadSourceName>
  </RegistrationController.BRLeadSourceDto>
  <RegistrationController.BRLeadSourceDto>
    <LeadSourceId>1</LeadSourceId>
    <LeadSourceName>sample string 2</LeadSourceName>
  </RegistrationController.BRLeadSourceDto>
</ArrayOfRegistrationController.BRLeadSourceDto>