POST api/Category/Sync

Request Information

URI Parameters

None.

Body Parameters

Collection of Xenia_Category
NameDescriptionTypeAdditional information
Category_UiD

string

String length: inclusive between 0 and 255

Category_Name

string

String length: inclusive between 0 and 255

Category_Code

string

String length: inclusive between 0 and 255

Category_Active

boolean

None.

Category_CreatedOn

date

None.

Category_CreatedBy

string

String length: inclusive between 0 and 255

Category_ModifiedOn

date

None.

Category_ModifiedBy

string

String length: inclusive between 0 and 255

Category_CompanyUid

string

String length: inclusive between 0 and 255

Category_Gid

string

String length: inclusive between 0 and 255

Xenia_Product

Collection of Xenia_Product

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Category_UiD": "sample string 1",
    "Category_Name": "sample string 2",
    "Category_Code": "sample string 3",
    "Category_Active": true,
    "Category_CreatedOn": "2025-12-06T09:18:44.5049519+05:30",
    "Category_CreatedBy": "sample string 4",
    "Category_ModifiedOn": "2025-12-06T09:18:44.5049519+05:30",
    "Category_ModifiedBy": "sample string 5",
    "Category_CompanyUid": "sample string 6",
    "Category_Gid": "sample string 7",
    "Xenia_Product": [
      {
        "$id": "2",
        "Product_IiD": "sample string 1",
        "Product_Code": "sample string 2",
        "Product_Name": "sample string 3",
        "Product_CategoryUid": "sample string 4",
        "Product_CategoryName": "sample string 5",
        "Product_Rate": 1.1,
        "Product_PurchaseRate": 1.1,
        "Product_OutputTax": 1.1,
        "Product_SalesInc": true,
        "Product_PurchaseInc": true,
        "Product_Description": "sample string 6",
        "Product_Unit": "sample string 7",
        "Product_Image": "sample string 8",
        "Product_Active": true,
        "Product_CreatedOn": "2025-12-06T09:18:44.5049519+05:30",
        "Product_CreatedBy": "sample string 9",
        "Product_ModifiedOn": "2025-12-06T09:18:44.5049519+05:30",
        "Product_ModifiedBy": "sample string 10",
        "Product_CompanyUid": "sample string 11",
        "Product_Gid": "sample string 12",
        "Product_HSNcode": "sample string 13",
        "Product_ManufacturerUid": "sample string 14",
        "Product_RegionalName": "sample string 15",
        "Product_DiscountPerc": 1.1,
        "Product_CessPerc": 1.1,
        "Product_AddCessRate": 1.1,
        "Product_IsWeighingItem": true,
        "Product_DeluxeRate": 1.1,
        "Product_TakeawayRate": 1.1,
        "Product_DeliveryRate": 1.1,
        "Product_DeluxeTax": 1.1,
        "Product_TakeawayTax": 1.1,
        "Product_DeliveryTax": 1.1,
        "Product_DeluxeInc": true,
        "Product_TakeawayInc": true,
        "Product_DeliveryInc": true,
        "Product_SalesRate": 1.1,
        "Product_MRPRate": 1.1,
        "Product_CostRate": 1.1,
        "Default_Unit": "sample string 16",
        "Product_IsMultiUnit": true,
        "Product_ItemClass": "sample string 17",
        "Xenia_Category": {
          "$ref": "1"
        },
        "Xenia_Manufacturer": {
          "$id": "3",
          "Manufacturer_UiD": "sample string 1",
          "Manufacturer_Name": "sample string 2",
          "Manufacturer_Active": true,
          "Manufacturer_CreatedOn": "2025-12-06T09:18:44.5049519+05:30",
          "Manufacturer_CreatedBy": "sample string 3",
          "Manufacturer_ModifiedOn": "2025-12-06T09:18:44.5049519+05:30",
          "Manufacturer_ModifiedBy": "sample string 4",
          "Manufacturer_CompanyUid": "sample string 5",
          "Xenia_Product": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ]
        }
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.