POST api/ECommerceIntegration/MapECommerceProduct

Request Information

URI Parameters

None.

Body Parameters

ECommerceProductMappingDto
NameDescriptionTypeAdditional information
ProductId

globally unique identifier

None.

ECommerceProductId

integer

None.

ECommerceType

integer

None.

CompanyId

globally unique identifier

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "productId": "68bd38cd-42bc-4c12-b130-31f0083dba39",
  "eCommerceProductId": 1,
  "eCommerceType": 2,
  "companyId": "8fc864b5-1643-4dda-9a0b-fbaa89a96c3b",
  "userId": "4de1d863-93d9-45ab-bb3c-19b513f743db"
}

application/xml, text/xml

Sample:
<ECommerceProductMappingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyId>8fc864b5-1643-4dda-9a0b-fbaa89a96c3b</CompanyId>
  <ECommerceProductId>1</ECommerceProductId>
  <ECommerceType>2</ECommerceType>
  <ProductId>68bd38cd-42bc-4c12-b130-31f0083dba39</ProductId>
  <UserId>4de1d863-93d9-45ab-bb3c-19b513f743db</UserId>
</ECommerceProductMappingDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"productId":"68bd38cd-42bc-4c12-b130-31f0083dba39","eCommerceProductId":1,"eCommerceType":2,"companyId":"8fc864b5-1643-4dda-9a0b-fbaa89a96c3b","userId":"4de1d863-93d9-45ab-bb3c-19b513f743db"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.