POST People/CreateUser

CreateUser end point will be used to create user with some certain information

Request Information

URI Parameters

None.

Body Parameters

UserData
NameDescriptionTypeAdditional information
JetlinkUserId

string

None.

Name

string

None.

Surname

string

None.

Email

string

None.

Phone

string

None.

Gender

string

None.

AvatarUrl

string

None.

SourceUserId

string

None.

DataSource

string

None.

MobileNotificationDeviceId

string

None.

UserCustomFieldList

Collection of UserCustomField

None.

Request Formats

application/json, text/json

Sample:
{
  "JetlinkUserId": "sample string 1",
  "Name": "sample string 2",
  "Surname": "sample string 3",
  "Email": "sample string 4",
  "Phone": "sample string 5",
  "Gender": "sample string 6",
  "AvatarUrl": "sample string 7",
  "SourceUserId": "sample string 8",
  "DataSource": "sample string 9",
  "MobileNotificationDeviceId": "sample string 10",
  "UserCustomFieldList": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

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

Response Information

Resource Description

UserResult
NameDescriptionTypeAdditional information
Status

Status

None.

UserData

UserData

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "Code": 1,
    "ErrorType": "sample string 2",
    "ErrorId": "sample string 3",
    "ErrorDescription": "sample string 4"
  },
  "UserData": {
    "JetlinkUserId": "sample string 1",
    "Name": "sample string 2",
    "Surname": "sample string 3",
    "Email": "sample string 4",
    "Phone": "sample string 5",
    "Gender": "sample string 6",
    "AvatarUrl": "sample string 7",
    "SourceUserId": "sample string 8",
    "DataSource": "sample string 9",
    "MobileNotificationDeviceId": "sample string 10",
    "UserCustomFieldList": [
      {
        "Key": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "Key": "sample string 1",
        "Value": "sample string 2"
      }
    ]
  }
}