PUT api/CustomerAPI/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Customer
NameDescriptionTypeAdditional information
Id

integer

None.

MemberSince

date

None.

MemberId

string

None.

CustomerTypeId

integer

None.

CustomerTypes

Collection of CustomerType

None.

Title

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

Email

string

None.

MobileNumber

string

None.

Country

string

None.

CustomerName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MemberSince": "2026-04-02T12:57:37.3035357+05:45",
  "MemberId": "sample string 3",
  "CustomerTypeId": 4,
  "CustomerTypes": [
    {
      "Id": 1,
      "Name": "sample string 2"
    },
    {
      "Id": 1,
      "Name": "sample string 2"
    }
  ],
  "Title": "sample string 5",
  "FirstName": "sample string 6",
  "MiddleName": "sample string 7",
  "LastName": "sample string 8",
  "Email": "sample string 9",
  "MobileNumber": "sample string 10",
  "Country": "sample string 11",
  "CustomerName": "sample string 5 sample string 6 sample string 7 sample string 8"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models.Reservation">
  <Country>sample string 11</Country>
  <CustomerTypeId>4</CustomerTypeId>
  <CustomerTypes>
    <CustomerType>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CustomerType>
    <CustomerType>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CustomerType>
  </CustomerTypes>
  <Email>sample string 9</Email>
  <FirstName>sample string 6</FirstName>
  <Id>1</Id>
  <LastName>sample string 8</LastName>
  <MemberId>sample string 3</MemberId>
  <MemberSince>2026-04-02T12:57:37.3035357+05:45</MemberSince>
  <MiddleName>sample string 7</MiddleName>
  <MobileNumber>sample string 10</MobileNumber>
  <Title>sample string 5</Title>
</Customer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.