POST V2/odata/Category
Inserts Category entity
Request Information
URI Parameters
None.
Body Parameters
QicsUnity.Api.Areas.V2.Models.Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId |
Gets or sets category PK |
integer |
Required 64-bit signed integer |
| CategoryType |
Gets or sets category type |
QicsUnity.Common.BusinessObjects.CategoryType |
Required |
| Name |
Gets or sets the name of the category |
string |
Required |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"CategoryId": "1",
"CategoryType": "Customer",
"Name": "sample 2"
}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models"> <CategoryId>1</CategoryId> <CategoryType>Customer</CategoryType> <Name>sample 2</Name> </Category>
Response Information
Resource Description
QicsUnity.Api.Areas.V2.Models.Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId |
Gets or sets category PK |
integer |
Required 64-bit signed integer |
| CategoryType |
Gets or sets category type |
QicsUnity.Common.BusinessObjects.CategoryType |
Required |
| Name |
Gets or sets the name of the category |
string |
Required |
Response Formats
application/json, text/json, application/scim+json
Sample:
{
"CategoryId": "1",
"CategoryType": "Customer",
"Name": "sample 2"
}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models"> <CategoryId>1</CategoryId> <CategoryType>Customer</CategoryType> <Name>sample 2</Name> </Category>