POST api/User

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
obj
Documentation for 'obj'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3"
}

application/xml, text/xml

Sample:
<NewUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDS.API.Models">
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
</NewUserModel>

application/x-www-form-urlencoded

Sample:

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