For more information on using API

POST http://webapi.mymarketing.co.il/api/external/mapping

Map external id and external name to unmapped contact

Request Information

URI Parameters

Body Parameters

MappingExternalContact

Name

Description

Type

Additional information

customerId

Contact's ID. can be found using the endpoint "Get the list of unmapped contacts"

integer
externalId

The external id of contact. Required in a post endpoint.

string
externalName

The external name of contact. Required in a post endpoint.

string

Request Formats

application/json, text/json

Sample:
{
  "customerId": 1,
  "externalId": "sample string 2",
  "externalName": "sample string 3"
}

application/xml, text/xml

Sample:
<MappingExternalContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <externalId>sample string 2</externalId>
  <externalName>sample string 3</externalName>
  <customerId>1</customerId>
</MappingExternalContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage

Name

Description

Type

Additional information

Version

Content

StatusCode

ReasonPhrase

string
Headers

Collection of Object
RequestMessage

IsSuccessStatusCode

boolean