POST api/Contacts/Post

Request Information

URI Parameters

None.

Body Parameters

LiteContact
NameDescriptionTypeAdditional information
ContactGroupId

integer

None.

ContactGroupName

string

None.

Email

string

None.

Id

integer

None.

Name

string

None.

Phone

string

None.

JobTitle

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactGroupId": 1,
  "ContactGroupName": "sample string 2",
  "Email": "sample string 3",
  "Id": 4,
  "Name": "sample string 5",
  "Phone": "sample string 6",
  "JobTitle": "sample string 7"
}

application/xml, text/xml

Sample:
<LiteContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <ContactGroupId>1</ContactGroupId>
  <ContactGroupName>sample string 2</ContactGroupName>
  <Email>sample string 3</Email>
  <Id>4</Id>
  <JobTitle>sample string 7</JobTitle>
  <Name>sample string 5</Name>
  <Phone>sample string 6</Phone>
</LiteContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.