PUT api/product

Request Information

URI Parameters

None.

Body Parameters

ProductJson
NameDescriptionTypeAdditional information
title

string

None.

description

string

None.

shortDescription

string

None.

points

integer

None.

index

integer

None.

monthsPeriod

integer

None.

listFeatures

Collection of ProductItemJson

None.

listCategories

Collection of ProductCategoryJson

None.

listSubCategories

Collection of ProductSubCategoryJson

None.

listAssetsGroups

Collection of ProductAssetsGroupJson

None.

listPhysicalGroups

Collection of ProductPhysicalGroupJson

None.

id

integer

None.

active

boolean

None.

userIns

string

None.

dateUtcIns

date

None.

userUpd

string

None.

dateUtcUpd

date

None.

dateUtcUpdIso8601

string

None.

dateUtcInsIso8601

string

None.

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "description": "sample string 2",
  "shortDescription": "sample string 3",
  "points": 4,
  "index": 5,
  "monthsPeriod": 6,
  "listFeatures": [
    {
      "title": "sample string 1",
      "description": "sample string 2",
      "price": 3.0,
      "featureId": 4,
      "contains": true,
      "isEditable": true
    },
    {
      "title": "sample string 1",
      "description": "sample string 2",
      "price": 3.0,
      "featureId": 4,
      "contains": true,
      "isEditable": true
    }
  ],
  "listCategories": [
    {
      "postCategoryId": 1,
      "contains": true
    },
    {
      "postCategoryId": 1,
      "contains": true
    }
  ],
  "listSubCategories": [
    {
      "postSubCategoryId": 1,
      "contains": true
    },
    {
      "postSubCategoryId": 1,
      "contains": true
    }
  ],
  "listAssetsGroups": [
    {
      "assetsGroupId": 1,
      "contains": true
    },
    {
      "assetsGroupId": 1,
      "contains": true
    }
  ],
  "listPhysicalGroups": [
    {
      "physicalGroupId": 1,
      "contains": true
    },
    {
      "physicalGroupId": 1,
      "contains": true
    }
  ],
  "id": 7,
  "active": true,
  "userIns": "sample string 9",
  "dateUtcIns": "2024-11-08T07:24:12.5499866+00:00",
  "userUpd": "sample string 10",
  "dateUtcUpd": "2024-11-08T07:24:12.5499866+00:00",
  "dateUtcUpdIso8601": "2024-11-08T07:24:12Z",
  "dateUtcInsIso8601": "2024-11-08T07:24:12Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.