PUT api/ProductGroups/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

ProductGroup
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Key

string

Required

String length: inclusive between 0 and 3

Name

string

Required

String length: inclusive between 0 and 100

Name_EN

string

String length: inclusive between 0 and 100

Name_SI

string

String length: inclusive between 0 and 100

Fee

decimal number

Required

Range: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "Id": "17abdf58-8454-44f5-965f-0a435949ee64",
  "Key": "sample string 2",
  "Name": "sample string 3",
  "Name_EN": "sample string 4",
  "Name_SI": "sample string 5",
  "Fee": 6.0
}

application/xml, text/xml

Sample:
<ProductGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>17abdf58-8454-44f5-965f-0a435949ee64</Id>
  <Key>sample string 2</Key>
  <Name>sample string 3</Name>
  <Name_EN>sample string 4</Name_EN>
  <Name_SI>sample string 5</Name_SI>
  <Fee>6</Fee>
</ProductGroup>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductGroup
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Key

string

Required

String length: inclusive between 0 and 3

Name

string

Required

String length: inclusive between 0 and 100

Name_EN

string

String length: inclusive between 0 and 100

Name_SI

string

String length: inclusive between 0 and 100

Fee

decimal number

Required

Range: inclusive between 0 and 100

Response Formats

application/json, text/json

Sample:
{
  "Id": "16fe36cc-a221-4d0b-b194-b8117e1e578e",
  "Key": "sample string 2",
  "Name": "sample string 3",
  "Name_EN": "sample string 4",
  "Name_SI": "sample string 5",
  "Fee": 6.0
}

application/xml, text/xml

Sample:
<ProductGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>16fe36cc-a221-4d0b-b194-b8117e1e578e</Id>
  <Key>sample string 2</Key>
  <Name>sample string 3</Name>
  <Name_EN>sample string 4</Name_EN>
  <Name_SI>sample string 5</Name_SI>
  <Fee>6</Fee>
</ProductGroup>