POST api/User/NewHire

Request Information

URI Parameters

None.

Body Parameters

cf_NewHireUserModel
NameDescriptionTypeAdditional information
UserID

integer

None.

Field_4

string

None.

ChangeHistory

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Field_4": "sample string 2",
  "ChangeHistory": "sample string 3"
}

application/xml, text/xml

Sample:
<cf_NewHireUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/capForm.Models">
  <ChangeHistory>sample string 3</ChangeHistory>
  <Field_4>sample string 2</Field_4>
  <UserID>1</UserID>
</cf_NewHireUserModel>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>