PUT api/Profiles

This call will update the provided profile.

Request Information

URI Parameters

None.

Body Parameters

ProfileEntity
NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

Phone

string

None.

City

string

None.

ViewsNumber

integer

None.

LikesNumber

integer

None.

PicUrl

string

None.

Category

string

None.

Status

string

None.

CreateDate

string

None.

Custom1

string

None.

Custom2

string

None.

Custom3

string

None.

Custom4

string

None.

Custom5

string

None.

PartitionKey

string

None.

RowKey

string

None.

Timestamp

date

None.

ETag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Email": "sample string 2",
  "Phone": "sample string 3",
  "City": "sample string 4",
  "ViewsNumber": 5,
  "LikesNumber": 6,
  "PicUrl": "sample string 7",
  "Category": "sample string 8",
  "Status": "sample string 9",
  "CreateDate": "sample string 10",
  "Custom1": "sample string 11",
  "Custom2": "sample string 12",
  "Custom3": "sample string 13",
  "Custom4": "sample string 14",
  "Custom5": "sample string 15",
  "PartitionKey": "sample string 16",
  "RowKey": "sample string 17",
  "Timestamp": "2020-12-11T23:44:26.2550435+00:00",
  "ETag": "sample string 19"
}

application/xml, text/xml

Sample:
<ProfileEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mekonecampusapi.Models">
  <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 19</ETag>
  <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 16</PartitionKey>
  <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 17</RowKey>
  <Timestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">
    <d2p1:DateTime>2020-12-11T23:44:26.2550435Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Timestamp>
  <Category>sample string 8</Category>
  <City>sample string 4</City>
  <CreateDate>sample string 10</CreateDate>
  <Custom1>sample string 11</Custom1>
  <Custom2>sample string 12</Custom2>
  <Custom3>sample string 13</Custom3>
  <Custom4>sample string 14</Custom4>
  <Custom5>sample string 15</Custom5>
  <Email>sample string 2</Email>
  <Id>sample string 1</Id>
  <LikesNumber>6</LikesNumber>
  <Phone>sample string 3</Phone>
  <PicUrl>sample string 7</PicUrl>
  <Status>sample string 9</Status>
  <ViewsNumber>5</ViewsNumber>
</ProfileEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.