POST api/UserProfile

Request Information

URI Parameters

None.

Body Parameters

OtherUserProfileRequest
NameDescriptionTypeAdditional information
userId

integer

None.

currentLatitude

string

None.

currentLongitude

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "currentLatitude": "sample string 2",
  "currentLongitude": "sample string 3"
}

application/xml, text/xml

Sample:
<OtherUserProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.API">
  <currentLatitude>sample string 2</currentLatitude>
  <currentLongitude>sample string 3</currentLongitude>
  <userId>1</userId>
</OtherUserProfileRequest>

multipart/form-data

Sample:
<OtherUserProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.API"><currentLatitude>sample string 2</currentLatitude><currentLongitude>sample string 3</currentLongitude><userId>1</userId></OtherUserProfileRequest>

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 'OtherUserProfileRequest'.

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.