GET Customers/Extended?includeDisabled={includeDisabled}

Gets all Companies in the system, with optional extended information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
includeDisabled

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

A list of all Companies in the system

Collection of OutputCustomerExtendedModel
NameDescriptionTypeAdditional information
ChildCustomers

Collection of OutputCustomerExtendedModel

None.

CustomerID

integer

Required

IsDisabled

boolean

None.

MaxCompletesAllowed

integer

None.

MinIncidenceRate

integer

None.

MaxLengthOfInterview

integer

None.

MaxDaysInField

integer

None.

IsRTSChannelEnabled

boolean

None.

IsSkipTestingEnabled

boolean

None.

Name

string

Required

Max length: 128

ParentCustomerID

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Toluna.TEF.Common.ViewModels.Authentication.OutputCustomerExtendedModel'. Path '[0].ChildCustomers'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Toluna.TEF.Common.ViewModels.Authentication.OutputCustomerExtendedModel'. Path '[0].ChildCustomers'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected with type 'Toluna.TEF.Common.ViewModels.Authentication.OutputCustomerExtendedModel'. Path '[0].ChildCustomers'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Toluna.TEF.Common.ViewModels.Authentication.OutputCustomerExtendedModel' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Toluna.TEF.Common.ViewModels.Authentication.OutputCustomerExtendedModel' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.