PUT Customers/Extended
Updates a Customer
Request Information
URI Parameters
None.
Body Parameters
The Customer information to update
UpdateCustomerExtendedModelName | Description | Type | Additional information |
---|---|---|---|
CustomerID | integer |
Required |
|
IsDisabled | boolean |
Required |
|
MaxCompletesAllowed | integer |
None. |
|
MinIncidenceRate | integer |
None. |
|
MaxLengthOfInterview | integer |
None. |
|
MaxDaysInField | integer |
None. |
|
IsRTSChannelEnabled | boolean |
None. |
|
IsSkipTestingEnabled | boolean |
None. |
|
PhoneNumber | string |
None. |
|
WebSite | string |
None. |
|
City | string |
None. |
|
PostalCode | string |
None. |
|
StateProvinceID | integer |
None. |
|
CountryID | integer |
None. |
|
Name | string |
Required Max length: 128 |
|
TimeZone | TimeZoneModel |
Required |
Request Formats
application/json, text/json, text/html
Sample:
{ "CustomerID": 1, "IsDisabled": true, "MaxCompletesAllowed": 1, "MinIncidenceRate": 1, "MaxLengthOfInterview": 1, "MaxDaysInField": 1, "IsRTSChannelEnabled": true, "IsSkipTestingEnabled": true, "PhoneNumber": "sample string 5", "WebSite": "sample string 6", "City": "sample string 7", "PostalCode": "sample string 8", "StateProvinceID": 1, "CountryID": 1, "Name": "sample string 9", "TimeZone": { "Id": "sample string 1", "BaseUtcOffset": "00:00:00.1234567", "DisplayName": "sample string 3", "TranslationKey_Name": "TEF_TimeZone_samplestring3" } }
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.Customer"> <Name>sample string 9</Name> <TimeZone xmlns:d2p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common"> <d2p1:BaseUtcOffset>PT0.1234567S</d2p1:BaseUtcOffset> <d2p1:DisplayName>sample string 3</d2p1:DisplayName> <d2p1:Id>sample string 1</d2p1:Id> </TimeZone> <City>sample string 7</City> <CountryID>1</CountryID> <IsRTSChannelEnabled>true</IsRTSChannelEnabled> <IsSkipTestingEnabled>true</IsSkipTestingEnabled> <MaxCompletesAllowed>1</MaxCompletesAllowed> <MaxDaysInField>1</MaxDaysInField> <MaxLengthOfInterview>1</MaxLengthOfInterview> <MinIncidenceRate>1</MinIncidenceRate> <PhoneNumber>sample string 5</PhoneNumber> <PostalCode>sample string 8</PostalCode> <StateProvinceID>1</StateProvinceID> <WebSite>sample string 6</WebSite> <CustomerID>1</CustomerID> <IsDisabled>true</IsDisabled> </UpdateCustomerExtendedModel>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
An awaitable task
IHttpActionResultNone.
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.