PUT api/ProductGroups
Request Information
URI Parameters
None.
Body Parameters
Collection of ProductGroupName | Description | Type | Additional 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": "1dab4c3c-5f6e-4c60-860a-c02551ca4772", "Key": "sample string 2", "Name": "sample string 3", "Name_EN": "sample string 4", "Name_SI": "sample string 5", "Fee": 6.0 }, { "Id": "1dab4c3c-5f6e-4c60-860a-c02551ca4772", "Key": "sample string 2", "Name": "sample string 3", "Name_EN": "sample string 4", "Name_SI": "sample string 5", "Fee": 6.0 } ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProductGroupName | Description | Type | Additional 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": "44b584b5-974b-478a-b3f0-8a2313e3c6bd", "Key": "sample string 2", "Name": "sample string 3", "Name_EN": "sample string 4", "Name_SI": "sample string 5", "Fee": 6.0 }, { "Id": "44b584b5-974b-478a-b3f0-8a2313e3c6bd", "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:
<ArrayOfProductGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ProductGroup> <Id>44b584b5-974b-478a-b3f0-8a2313e3c6bd</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> <ProductGroup> <Id>44b584b5-974b-478a-b3f0-8a2313e3c6bd</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> </ArrayOfProductGroup>