POST api/service/categories/add
Request Information
URI Parameters
None.
Body Parameters
ServiceCategoryEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceCategoryId | integer |
None. |
|
| ServiceCategoryName | string |
None. |
|
| ImageURL | string |
None. |
|
| Active | boolean |
None. |
|
| CreatedTime | date |
None. |
|
| UpdatedTime | date |
None. |
|
| VendorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ServiceCategoryId": 1,
"ServiceCategoryName": "sample string 2",
"ImageURL": "sample string 3",
"Active": true,
"CreatedTime": "2025-12-31T16:39:06.2995045+05:30",
"UpdatedTime": "2025-12-31T16:39:06.2995045+05:30",
"VendorId": 6
}
application/xml, text/xml
Sample:
<ServiceCategoryEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities"> <Active>true</Active> <CreatedTime>2025-12-31T16:39:06.2995045+05:30</CreatedTime> <ImageURL>sample string 3</ImageURL> <ServiceCategoryId>1</ServiceCategoryId> <ServiceCategoryName>sample string 2</ServiceCategoryName> <UpdatedTime>2025-12-31T16:39:06.2995045+05:30</UpdatedTime> <VendorId>6</VendorId> </ServiceCategoryEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |