POST api/Contact/CreateBulk

Request Information

URI Parameters

None.

Body Parameters

Collection of SaveBulkContactVm
NameDescriptionTypeAdditional information
ContactDate

string

None.

FirstName

string

None.

LastName

string

None.

PrimaryNumberCC

string

None.

PrimaryNumber

string

None.

SecondaryNumberCC

string

None.

SecondaryNumber

string

None.

AlternateNumbers

string

None.

Email

string

None.

Address

string

None.

AssignedTo

string

None.

AssignedTo_Id

integer

None.

ContactSourceName

string

None.

ContactSource_Id

integer

None.

ContactType

string

None.

CompanyContactType_Id

integer

None.

ContactCategory

string

None.

CompanyContactStageId

integer

None.

ContactStage

string

None.

ContactCategories

Collection of ContactCategory

None.

ContactSubCategory

string

None.

ContactSubCategories

Collection of CompanyContactSubCategory

None.

ContactTag

string

None.

ContactTags

Collection of ContactTag

None.

Company_Id

integer

None.

CreatedBy_Id

integer

None.

IsInvalid

boolean

None.

IsMerged

boolean

None.

Reason

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Stream was too long.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Stream was too long.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[BrokerDal.Models.Inventories.Availability, BrokerDal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[BrokerDal.Models.Inventories.Availability, BrokerDal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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 'List`1'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Description": "sample string 3",
  "Data": {},
  "Count": 5
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>