GET v1/Locations/{locationID}/Contacts/CustomerSources

Get a list of Customer Sources

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

Id of the loaction

string

Required

Body Parameters

None.

Response Information

Resource Description

List of customer sources

Collection of CustomerSourceDTO
NameDescriptionTypeAdditional information
CustomerSourceID

integer

None.

CustomerSource

string

None.

SystemDefined

boolean

None.

LocationID

integer

None.

AppCreated

string

None.

ThirdPartyAppCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerSourceID": 1,
    "CustomerSource": "sample string 2",
    "SystemDefined": true,
    "LocationID": 1,
    "AppCreated": "sample string 4",
    "ThirdPartyAppCode": "sample string 5"
  },
  {
    "CustomerSourceID": 1,
    "CustomerSource": "sample string 2",
    "SystemDefined": true,
    "LocationID": 1,
    "AppCreated": "sample string 4",
    "ThirdPartyAppCode": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerSourceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
  <CustomerSourceDTO>
    <AppCreated>sample string 4</AppCreated>
    <CustomerSource>sample string 2</CustomerSource>
    <CustomerSourceID>1</CustomerSourceID>
    <LocationID>1</LocationID>
    <SystemDefined>true</SystemDefined>
    <ThirdPartyAppCode>sample string 5</ThirdPartyAppCode>
  </CustomerSourceDTO>
  <CustomerSourceDTO>
    <AppCreated>sample string 4</AppCreated>
    <CustomerSource>sample string 2</CustomerSource>
    <CustomerSourceID>1</CustomerSourceID>
    <LocationID>1</LocationID>
    <SystemDefined>true</SystemDefined>
    <ThirdPartyAppCode>sample string 5</ThirdPartyAppCode>
  </CustomerSourceDTO>
</ArrayOfCustomerSourceDTO>