GET v1/referral-sources

Gets list of available active/inactive referral sources.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SearchResultOfReferralSourceSearchResult
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of ReferralSourceSearchResult

None.

Response Formats

application/json, text/json

Sample:
{
  "totalCount": 1,
  "data": [
    {
      "id": 1,
      "name": "sample string 2",
      "active": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "active": true
    }
  ]
}

application/xml, text/xml

Sample:
<SearchResultOfReferralSourceSearchResultJSBqjE6T xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.CRM">
    <d2p1:ReferralSourceSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:ReferralSourceSearchResult>
    <d2p1:ReferralSourceSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:ReferralSourceSearchResult>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfReferralSourceSearchResultJSBqjE6T>