POST api/newProduct/data

Adding new product from external source

Request Information

URI Parameters

None.

Body Parameters

New product informations.

NewProductRequest
NameDescriptionTypeAdditional information
Ean

string

None.

Name

string

None.

Topic

string

None.

Target

string

None.

ProductGroup

string

None.

Access

string

None.

LicenseType

string

None.

Security

string

None.

Source

string

None.

AccountId

globally unique identifier

None.

Imprint

string

None.

LoginProviderTypes

string

None.

IsSubscriptionProduct

boolean

None.

ParentIsbns

string

None.

MediaType

string

None.

MediaTypeName

string

None.

DepartmentCode

string

None.

DepartmentName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Ean": "sample string 1",
  "Name": "sample string 2",
  "Topic": "sample string 3",
  "Target": "sample string 4",
  "ProductGroup": "sample string 5",
  "Access": "sample string 6",
  "LicenseType": "sample string 7",
  "Security": "sample string 8",
  "Source": "sample string 9",
  "AccountId": "a5efb4fa-6043-4e2b-a80c-542beb3d2cbb",
  "Imprint": "sample string 11",
  "LoginProviderTypes": "sample string 12",
  "IsSubscriptionProduct": true,
  "ParentIsbns": "sample string 13",
  "MediaType": "sample string 14",
  "MediaTypeName": "sample string 15",
  "DepartmentCode": "sample string 16",
  "DepartmentName": "sample string 17"
}

application/xml, text/xml

Sample:
<NewProductRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Ean>sample string 1</Ean>
  <Name>sample string 2</Name>
  <Topic>sample string 3</Topic>
  <Target>sample string 4</Target>
  <ProductGroup>sample string 5</ProductGroup>
  <Access>sample string 6</Access>
  <LicenseType>sample string 7</LicenseType>
  <Security>sample string 8</Security>
  <Source>sample string 9</Source>
  <AccountId>a5efb4fa-6043-4e2b-a80c-542beb3d2cbb</AccountId>
  <Imprint>sample string 11</Imprint>
  <LoginProviderTypes>sample string 12</LoginProviderTypes>
  <IsSubscriptionProduct>true</IsSubscriptionProduct>
  <ParentIsbns>sample string 13</ParentIsbns>
  <MediaType>sample string 14</MediaType>
  <MediaTypeName>sample string 15</MediaTypeName>
  <DepartmentCode>sample string 16</DepartmentCode>
  <DepartmentName>sample string 17</DepartmentName>
</NewProductRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Resonse if product pass validation.

ValidationResult
NameDescriptionTypeAdditional information
IsValid

boolean

None.

Errors

Collection of ValidationFailure

None.

Response Formats

application/json, text/json

Sample:
{
  "errors": []
}

application/xml, text/xml

Sample:
<ValidationResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />