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

Id of the customer source

integer

None.

CustomerSource

Customer source

string

None.

SystemDefined

Signifies whether the customer source is system defined

boolean

None.

LocationID

Id of the location

integer

None.

AppCreated

App created

string

None.

ThirdPartyAppCode

Third party app code

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>