POST api/InsertUserCategory
Request Information
URI Parameters
None.
Body Parameters
UserCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordId | integer |
None. |
|
| string |
None. |
||
| CategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| SubCategoryId | integer |
None. |
|
| SubCategoryName | string |
None. |
|
| FreeText | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"recordId": 1,
"email": "sample string 2",
"categoryId": 3,
"categoryName": "sample string 4",
"subCategoryId": 5,
"subCategoryName": "sample string 6",
"freeText": "sample string 7"
}
application/xml, text/xml
Sample:
<UserCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/courses_application_web_API.Models.Prefences"> <CategoryId>3</CategoryId> <CategoryName>sample string 4</CategoryName> <Email>sample string 2</Email> <FreeText>sample string 7</FreeText> <RecordId>1</RecordId> <SubCategoryId>5</SubCategoryId> <SubCategoryName>sample string 6</SubCategoryName> </UserCategory>
multipart/form-data
Sample:
<UserCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/courses_application_web_API.Models.Prefences"><CategoryId>3</CategoryId><CategoryName>sample string 4</CategoryName><Email>sample string 2</Email><FreeText>sample string 7</FreeText><RecordId>1</RecordId><SubCategoryId>5</SubCategoryId><SubCategoryName>sample string 6</SubCategoryName></UserCategory>
application/x-www-form-urlencoded
Sample:
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. |