POST api/CategoryImports/PostCategoryImport
Request Information
URI Parameters
None.
Body Parameters
CategoryImportName | Description | Type | Additional 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
IProductImportResultName | Description | Type | Additional 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": "f299de0f-d8bc-4f4d-b1bf-9ca0116a8d7a", "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>f299de0f-d8bc-4f4d-b1bf-9ca0116a8d7a</ID> <ParentNotFound>true</ParentNotFound> </IProductImportResult>