PUT api/Clients/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Client
NameDescriptionTypeAdditional information
id

integer

None.

FirstName

string

None.

LastName

string

None.

DateCreated

date

None.

IDNumber

string

None.

PhoneNumber

string

None.

EmailAddress

string

None.

UserId

string

None.

Image

Collection of byte

None.

FullName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "DateCreated": "2021-11-30T23:01:21.9973567+02:00",
  "IDNumber": "sample string 4",
  "PhoneNumber": "sample string 5",
  "EmailAddress": "sample string 6",
  "UserId": "sample string 7",
  "Image": "QEA=",
  "FullName": "sample string 8"
}

application/xml, text/xml

Sample:
<Client xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaITBackend.Models">
  <DateCreated>2021-11-30T23:01:21.9973567+02:00</DateCreated>
  <EmailAddress>sample string 6</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <FullName>sample string 8</FullName>
  <IDNumber>sample string 4</IDNumber>
  <Image>QEA=</Image>
  <LastName>sample string 3</LastName>
  <PhoneNumber>sample string 5</PhoneNumber>
  <UserId>sample string 7</UserId>
  <id>1</id>
</Client>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.