POST Api/Customer/ManageCustomerConfig

Request Information

URI Parameters

None.

Body Parameters

CustomerConfig
NameDescriptionTypeAdditional information
CustomerConfigId

integer

None.

CustomerDetailId

integer

None.

Key

string

None.

Value

string

None.

CustomerId

integer

None.

ErrorId

integer

None.

CustomerName

string

None.

IsActive

boolean

None.

CustomerConfigValue

Collection of string

None.

CustomerDetail

Collection of CustomerDetail

None.

TimeZones

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerConfigId": 1,
  "CustomerDetailId": 2,
  "Key": "sample string 3",
  "Value": "sample string 4",
  "CustomerId": 5,
  "ErrorId": 6,
  "CustomerName": "sample string 7",
  "IsActive": true,
  "CustomerConfigValue": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomerDetail": [
    {
      "CustomerDetailId": 1,
      "CustomerName": "sample string 2",
      "ErrorId": 3,
      "BusinessUnit": "sample string 4"
    },
    {
      "CustomerDetailId": 1,
      "CustomerName": "sample string 2",
      "ErrorId": 3,
      "BusinessUnit": "sample string 4"
    }
  ],
  "TimeZones": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<CustomerConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels">
  <CustomerConfigId>1</CustomerConfigId>
  <CustomerConfigValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CustomerConfigValue>
  <CustomerDetail>
    <CustomerDetail>
      <BusinessUnit>sample string 4</BusinessUnit>
      <CustomerDetailId>1</CustomerDetailId>
      <CustomerName>sample string 2</CustomerName>
      <ErrorId>3</ErrorId>
    </CustomerDetail>
    <CustomerDetail>
      <BusinessUnit>sample string 4</BusinessUnit>
      <CustomerDetailId>1</CustomerDetailId>
      <CustomerName>sample string 2</CustomerName>
      <ErrorId>3</ErrorId>
    </CustomerDetail>
  </CustomerDetail>
  <CustomerDetailId>2</CustomerDetailId>
  <CustomerId>5</CustomerId>
  <CustomerName>sample string 7</CustomerName>
  <ErrorId>6</ErrorId>
  <IsActive>true</IsActive>
  <Key>sample string 3</Key>
  <TimeZones xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TimeZones>
  <Value>sample string 4</Value>
</CustomerConfig>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.