PUT api/User/UpdateUserInfoProfileById/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

UserInfoProfileViewModel
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

FirstName

string

None.

LastName

string

None.

BirthDate

date

None.

Website

string

None.

Address

string

None.

PostalCode

string

None.

Email

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "BirthDate": "2024-04-16T04:01:33.3650975+03:30",
  "Website": "sample string 4",
  "Address": "sample string 5",
  "PostalCode": "sample string 6",
  "Email": "sample string 7",
  "Id": 8
}

application/xml, text/xml

Sample:
<UserInfoProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.Services.Security.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities">8</Id>
  <Address>sample string 5</Address>
  <BirthDate>2024-04-16T04:01:33.3650975+03:30</BirthDate>
  <Email>sample string 7</Email>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <PhoneNumber>sample string 1</PhoneNumber>
  <PostalCode>sample string 6</PostalCode>
  <Website>sample string 4</Website>
</UserInfoProfileViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserInfoProfileViewModel'.

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.