POST api/NewConnection/PostNewConnection

Request Information

URI Parameters

None.

Body Parameters

NewConnectionModel
NameDescriptionTypeAdditional information
NEWCONNECTIONREQUESTID

integer

None.

NAME

string

None.

PRIMARYCONTACTNO

string

None.

SECONDARYCONTACTNO

string

None.

PERSONALEMAILADDRESS

string

None.

PACKAGEID

string

None.

PLATFORMID

integer

None.

PREFEREDTIMEFORCONTACT

string

None.

ADDRESS

string

None.

CITYID

integer

None.

DESCRIPTION

string

None.

ISDELETED

string

None.

PACKAGE_NAME

string

None.

PLATFORM_NAME

string

None.

CITY_NAME

string

None.

SERVICETYPE

string

None.

CUSTOMERID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NEWCONNECTIONREQUESTID": 1,
  "NAME": "sample string 2",
  "PRIMARYCONTACTNO": "sample string 3",
  "SECONDARYCONTACTNO": "sample string 4",
  "PERSONALEMAILADDRESS": "sample string 5",
  "PACKAGEID": "sample string 6",
  "PLATFORMID": 7,
  "PREFEREDTIMEFORCONTACT": "sample string 8",
  "ADDRESS": "sample string 9",
  "CITYID": 10,
  "DESCRIPTION": "sample string 11",
  "ISDELETED": "sample string 12",
  "PACKAGE_NAME": "sample string 13",
  "PLATFORM_NAME": "sample string 14",
  "CITY_NAME": "sample string 15",
  "SERVICETYPE": "sample string 16",
  "CUSTOMERID": "sample string 17"
}

application/xml, text/xml

Sample:
<NewConnectionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfCareAPI.ResultModels">
  <ADDRESS>sample string 9</ADDRESS>
  <CITYID>10</CITYID>
  <CITY_NAME>sample string 15</CITY_NAME>
  <CUSTOMERID>sample string 17</CUSTOMERID>
  <DESCRIPTION>sample string 11</DESCRIPTION>
  <ISDELETED>sample string 12</ISDELETED>
  <NAME>sample string 2</NAME>
  <NEWCONNECTIONREQUESTID>1</NEWCONNECTIONREQUESTID>
  <PACKAGEID>sample string 6</PACKAGEID>
  <PACKAGE_NAME>sample string 13</PACKAGE_NAME>
  <PERSONALEMAILADDRESS>sample string 5</PERSONALEMAILADDRESS>
  <PLATFORMID>7</PLATFORMID>
  <PLATFORM_NAME>sample string 14</PLATFORM_NAME>
  <PREFEREDTIMEFORCONTACT>sample string 8</PREFEREDTIMEFORCONTACT>
  <PRIMARYCONTACTNO>sample string 3</PRIMARYCONTACTNO>
  <SECONDARYCONTACTNO>sample string 4</SECONDARYCONTACTNO>
  <SERVICETYPE>sample string 16</SERVICETYPE>
</NewConnectionModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.