POST api/CategoryImports

Request Information

URI Parameters

None.

Body Parameters

CategoryImport
NameDescriptionTypeAdditional information
CatalogueID

integer

None.

CatalogueProviderCategoryCode

string

None.

CategoryName

string

None.

CategoryParentName

string

None.

CatalogueProviderCategoryParentCode

string

None.

Deleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CatalogueID": 1,
  "CatalogueProviderCategoryCode": "sample string 2",
  "CategoryName": "sample string 3",
  "CategoryParentName": "sample string 4",
  "CatalogueProviderCategoryParentCode": "sample string 5",
  "Deleted": true
}

application/xml, text/xml

Sample:
<CategoryImport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models.CatalogueProvider">
  <CatalogueID>1</CatalogueID>
  <CatalogueProviderCategoryCode>sample string 2</CatalogueProviderCategoryCode>
  <CatalogueProviderCategoryParentCode>sample string 5</CatalogueProviderCategoryParentCode>
  <CategoryName>sample string 3</CategoryName>
  <CategoryParentName>sample string 4</CategoryParentName>
  <Deleted>true</Deleted>
</CategoryImport>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IProductImportResult
NameDescriptionTypeAdditional information
Action

eProductImportResult

None.

ParentNotFound

boolean

None.

ID

globally unique identifier

None.

CategoryId

integer

None.

Barcode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Action": 1,
  "ParentNotFound": true,
  "ID": "2e87c90b-9661-40e5-9275-14e199789086",
  "CategoryId": 2,
  "Barcode": "sample string 3"
}

application/xml, text/xml

Sample:
<IProductImportResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models.CatalogueProvider">
  <Action>Updated</Action>
  <Barcode>sample string 3</Barcode>
  <CategoryId>2</CategoryId>
  <ID>2e87c90b-9661-40e5-9275-14e199789086</ID>
  <ParentNotFound>true</ParentNotFound>
</IProductImportResult>