PUT Customers/Extended

Updates a Customer

Request Information

URI Parameters

None.

Body Parameters

The Customer information to update

UpdateCustomerExtendedModel
NameDescriptionTypeAdditional information
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.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "IsDisabled": true,
  "MaxCompletesAllowed": 1,
  "MinIncidenceRate": 1,
  "MaxLengthOfInterview": 1,
  "MaxDaysInField": 1,
  "IsRTSChannelEnabled": true,
  "IsSkipTestingEnabled": true,
  "Name": "sample string 5",
  "ParentCustomerID": 1
}

text/html

Sample:
{"CustomerID":1,"IsDisabled":true,"MaxCompletesAllowed":1,"MinIncidenceRate":1,"MaxLengthOfInterview":1,"MaxDaysInField":1,"IsRTSChannelEnabled":true,"IsSkipTestingEnabled":true,"Name":"sample string 5","ParentCustomerID":1}

application/xml, text/xml

Sample:
<UpdateCustomerExtendedModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Authentication">
  <Name>sample string 5</Name>
  <ParentCustomerID>1</ParentCustomerID>
  <IsRTSChannelEnabled>true</IsRTSChannelEnabled>
  <IsSkipTestingEnabled>true</IsSkipTestingEnabled>
  <MaxCompletesAllowed>1</MaxCompletesAllowed>
  <MaxDaysInField>1</MaxDaysInField>
  <MaxLengthOfInterview>1</MaxLengthOfInterview>
  <MinIncidenceRate>1</MinIncidenceRate>
  <CustomerID>1</CustomerID>
  <IsDisabled>true</IsDisabled>
</UpdateCustomerExtendedModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateCustomerExtendedModel'.

application/bson

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

Response Information

Resource Description

An awaitable task

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.

application/bson

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