POST api/users/user/createNewAdditionalDetailFieldForUser?fieldName={fieldName}&fieldDataType={fieldDataType}&canUserEdit={canUserEdit}

Create new additional details field for users.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fieldName

Field name.

string

Required

fieldDataType

Field data type.

AdditionalDetailFieldDataType

Required

canUserEdit

Can the user edit this field

boolean

Required

Body Parameters

None.

Response Information

Resource Description

GenericResponseMessage
NameDescriptionTypeAdditional information
HttpStatusCode

HttpStatusCode

None.

HttpStatus

string

None.

Status

string

None.

Description

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatusCode": 100,
  "HttpStatus": "Continue",
  "Status": "sample string 1",
  "Description": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<GenericResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <HttpStatusCode>Continue</HttpStatusCode>
  <Status>sample string 1</Status>
  <Description>sample string 2</Description>
  <Data>sample string 3</Data>
</GenericResponseMessage>