POST api/V3/Product/CreateUpdateDisplayCategory

Api For Create / Update Display Categories

Request Information

URI Parameters

None.

Body Parameters

DisplayCategories to be created/updated

Collection of V3.DisplayCategories
NameDescriptionTypeAdditional information
DisplayCategoryName

Display Category Name

string

Required

String length: inclusive between 0 and 100

DisplayCategoryErpId

DisplayCategory ErpId

string

Required

String length: inclusive between 0 and 100

SecondaryCategoryErpId

SecondaryCategory ErpId

string

Required

String length: inclusive between 0 and 100

Deactivated

Display Category Deactivated or not

boolean

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "DisplayCategoryName": "sample string 1",
    "DisplayCategoryErpId": "sample string 2",
    "SecondaryCategoryErpId": "sample string 3",
    "Deactivated": true
  },
  {
    "DisplayCategoryName": "sample string 1",
    "DisplayCategoryErpId": "sample string 2",
    "SecondaryCategoryErpId": "sample string 3",
    "Deactivated": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDisplayCategories xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
  <DisplayCategories>
    <Deactivated>true</Deactivated>
    <DisplayCategoryErpId>sample string 2</DisplayCategoryErpId>
    <DisplayCategoryName>sample string 1</DisplayCategoryName>
    <SecondaryCategoryErpId>sample string 3</SecondaryCategoryErpId>
  </DisplayCategories>
  <DisplayCategories>
    <Deactivated>true</Deactivated>
    <DisplayCategoryErpId>sample string 2</DisplayCategoryErpId>
    <DisplayCategoryName>sample string 1</DisplayCategoryName>
    <SecondaryCategoryErpId>sample string 3</SecondaryCategoryErpId>
  </DisplayCategories>
</ArrayOfDisplayCategories>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.