GET api/{context}/OriginSourceDefinition/All

parameters:   ?activeOnly={activeOnly}

Retrieve a list of all origin sources.

PLEASE NOTE: This call has the potential to return many records, so discretion is advised.

Request Information

ParameterDescriptionAdditional information
activeOnly
Specifies whether to return only active origin sources.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Active": true
  },
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Active": true
  },
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfOriginSourceDefinitionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models">
  <OriginSourceDefinitionModel>
    <Active>true</Active>
    <Description>sample string 2</Description>
    <Name>sample string 1</Name>
  </OriginSourceDefinitionModel>
  <OriginSourceDefinitionModel>
    <Active>true</Active>
    <Description>sample string 2</Description>
    <Name>sample string 1</Name>
  </OriginSourceDefinitionModel>
  <OriginSourceDefinitionModel>
    <Active>true</Active>
    <Description>sample string 2</Description>
    <Name>sample string 1</Name>
  </OriginSourceDefinitionModel>
</ArrayOfOriginSourceDefinitionModel>