POST pb/contacts/CreateUpdateMany

Request Information

URI Parameters

None.

Body Parameters

Collection of Object

None.

Request Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BulkInsertReturn
NameDescriptionTypeAdditional information
NumberContactsAdded

integer

None.

NumberContactsUpdated

integer

None.

NumberOfContactsOverwritten

integer

None.

UpdatedContactsIds

Collection of string

None.

Overwrite

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "numberContactsAdded": 1,
  "numberContactsUpdated": 2,
  "numberOfContactsOverwritten": 3,
  "updatedContactsIds": [
    "sample string 1",
    "sample string 2"
  ],
  "overwrite": true
}

text/xml

Sample:
<BulkInsertReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vianett.ProfileBuilder.BasicTypes">
  <NumberContactsAdded>1</NumberContactsAdded>
  <NumberContactsUpdated>2</NumberContactsUpdated>
  <NumberOfContactsOverwritten>3</NumberOfContactsOverwritten>
  <Overwrite>true</Overwrite>
  <UpdatedContactsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UpdatedContactsIds>
</BulkInsertReturn>