PUT api/Customer/Update

Request Information

URI Parameters

None.

Body Parameters

CustomerUpdateDto
NameDescriptionTypeAdditional information
Title

string

Required

Email

string

None.

Phone

string

None.

Author

string

None.

AuthorPhone

string

None.

StartDate

date

None.

EndDate

date

None.

Balance

decimal number

None.

CurrencyID

globally unique identifier

None.

ID

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "email": "sample string 2",
  "phone": "sample string 3",
  "author": "sample string 4",
  "authorPhone": "sample string 5",
  "startDate": "2025-12-11T17:29:19.702475+03:00",
  "endDate": "2025-12-11T17:29:19.702475+03:00",
  "balance": 7.1,
  "currencyID": "c3b80f14-1a20-4b9a-b68b-be5d1d3fea36",
  "id": "e4a70278-4e7a-4bf7-aeae-457fa3a011d5"
}

application/xml, text/xml

Sample:
<CustomerUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs">
  <ID>e4a70278-4e7a-4bf7-aeae-457fa3a011d5</ID>
  <Author>sample string 4</Author>
  <AuthorPhone>sample string 5</AuthorPhone>
  <Balance>7.1</Balance>
  <CurrencyID>c3b80f14-1a20-4b9a-b68b-be5d1d3fea36</CurrencyID>
  <Email>sample string 2</Email>
  <EndDate>2025-12-11T17:29:19.702475+03:00</EndDate>
  <Phone>sample string 3</Phone>
  <StartDate>2025-12-11T17:29:19.702475+03:00</StartDate>
  <Title>sample string 1</Title>
</CustomerUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Title":"sample string 1","Email":"sample string 2","Phone":"sample string 3","Author":"sample string 4","AuthorPhone":"sample string 5","StartDate":"2025-12-11T17:29:19.702475+03:00","EndDate":"2025-12-11T17:29:19.702475+03:00","Balance":7.1,"CurrencyID":"c3b80f14-1a20-4b9a-b68b-be5d1d3fea36","ID":"e4a70278-4e7a-4bf7-aeae-457fa3a011d5"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.