GET Customers?includeDisabled={includeDisabled}

Gets all Companies in the system

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 OutputCustomerModel
NameDescriptionTypeAdditional information
ChildCustomers

Collection of OutputCustomerModel

None.

CustomerID

integer

Required

IsDisabled

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.OutputCustomerModel'. 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.OutputCustomerModel'. 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.OutputCustomerModel'. 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.OutputCustomerModel' 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.OutputCustomerModel' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

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