POST Users

Returns a User's account details by the specified Id.

Request Information

URI Parameters

None.

Body Parameters

NewUserAccountViewModel
NameDescriptionTypeAdditional information
Email

string

None.

Username

string

None.

OAuth_Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Username": "sample string 2",
  "OAuth_Id": "sample string 3"
}

application/xml, text/xml

Sample:
<NewUserAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportsPorchAPI_v2.ViewModels.Plays">
  <Email>sample string 1</Email>
  <OAuth_Id>sample string 3</OAuth_Id>
  <Username>sample string 2</Username>
</NewUserAccountViewModel>

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

Response Information

Resource Description

Http Response with a User Account in it.

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.