POST api/contacts/CreateContact

Request Information

URI Parameters

None.

Body Parameters

CreateContactModel
NameDescriptionTypeAdditional information
FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

Email

string

None.

PortalId

string

None.

SignedUpAs

string

None.

Country

string

None.

Organization

string

None.

OrganizationSize

integer

None.

Industry

integer

None.

JobTitle

integer

None.

BusinessRole

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "PortalId": "sample string 5",
  "SignedUpAs": "sample string 6",
  "Country": "sample string 7",
  "Organization": "sample string 8",
  "OrganizationSize": 9,
  "Industry": 10,
  "JobTitle": 11,
  "BusinessRole": 12
}

application/xml, text/xml

Sample:
<CreateContactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <BusinessRole>12</BusinessRole>
  <Country>sample string 7</Country>
  <Email>sample string 4</Email>
  <FirstName>sample string 1</FirstName>
  <Industry>10</Industry>
  <JobTitle>11</JobTitle>
  <LastName>sample string 3</LastName>
  <MiddleName>sample string 2</MiddleName>
  <Organization>sample string 8</Organization>
  <OrganizationSize>9</OrganizationSize>
  <PortalId>sample string 5</PortalId>
  <SignedUpAs>sample string 6</SignedUpAs>
</CreateContactModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.