POST api/v1/company/categorybucket/{languageId}
Saves a provided category bucket
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
languageId |
Language edit mode |
integer |
Required |
Body Parameters
Bucket to save
CompanyCategoryBucketName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
IsEssential | boolean |
None. |
|
VendorCategories | Collection of VendorCategory |
None. |
|
Translations | Collection of CompanyCategoryBucketTranslation |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "description": "sample string 3", "isEssential": true, "vendorCategories": [ { "id": 1, "languageId": 2, "identifier": "sample string 3", "category": "sample string 4", "changed": true }, { "id": 1, "languageId": 2, "identifier": "sample string 3", "category": "sample string 4", "changed": true } ], "translations": [ { "languageId": 1, "languageName": "sample string 2", "browserCode": "sample string 3", "nameText": "sample string 4", "descriptionText": "sample string 5" }, { "languageId": 1, "languageName": "sample string 2", "browserCode": "sample string 3", "nameText": "sample string 4", "descriptionText": "sample string 5" } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Updated category bucket
CompanyCategoryBucketName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
IsEssential | boolean |
None. |
|
VendorCategories | Collection of VendorCategory |
None. |
|
Translations | Collection of CompanyCategoryBucketTranslation |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "description": "sample string 3", "isEssential": true, "vendorCategories": [ { "id": 1, "languageId": 2, "identifier": "sample string 3", "category": "sample string 4", "changed": true }, { "id": 1, "languageId": 2, "identifier": "sample string 3", "category": "sample string 4", "changed": true } ], "translations": [ { "languageId": 1, "languageName": "sample string 2", "browserCode": "sample string 3", "nameText": "sample string 4", "descriptionText": "sample string 5" }, { "languageId": 1, "languageName": "sample string 2", "browserCode": "sample string 3", "nameText": "sample string 4", "descriptionText": "sample string 5" } ] }