POST api/commercial_categories/{tenantId}/prepare
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tenantId | integer |
Required |
Body Parameters
ManagementRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Action | string |
None. |
|
| CategoryId | integer |
None. |
|
| ServiceTypeId | integer |
None. |
|
| SubtypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Action": "sample string 1",
"CategoryId": 2,
"ServiceTypeId": 1,
"SubtypeId": 1
}
application/xml, text/xml
Sample:
<CommercialCategoriesController.ManagementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Genie.Controllers"> <Action>sample string 1</Action> <CategoryId>2</CategoryId> <ServiceTypeId>1</ServiceTypeId> <SubtypeId>1</SubtypeId> </CommercialCategoriesController.ManagementRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.