PUT v1/Customers/{CustomerID}/UpdateCustomerSource/{CustomerSourceID}

Updates the source of a customer.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerID

The unique identifier of the customer to update.

integer

Required

CustomerSourceID

The source identifier to assign to the customer. If less than or equal to zero, the source will be cleared.

integer

Required

Body Parameters

None.

Response Information

Resource Description

An indicating whether the update was successful or containing error information.

ActionResultDTO
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "InfoMessage": "sample string 4"
}

application/xml, text/xml

Sample:
<ActionResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <InfoMessage>sample string 4</InfoMessage>
  <IsSuccess>true</IsSuccess>
</ActionResultDTO>