POST api/ProductSubCategory
Request Information
URI Parameters
None.
Body Parameters
ProductSubCategoryModelsName | Description | Type | Additional information |
---|---|---|---|
PSC_Id | integer |
None. |
|
ProductCategorySpeedSearch | ProductCategorySpeedSearchModels |
Required |
|
PCS_SubCategory | string |
Required Max length: 50 |
|
PSC_DisplayOrder | integer |
Required |
|
PSC_UserId_FK | integer |
None. |
|
PSC_TS | date |
None. |
|
PSC_Inactive | character |
None. |
|
PSC_TS_LastEdited | date |
None. |
|
PSC_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PSC_Id": 1, "ProductCategorySpeedSearch": { "PC_Id": 1, "PC_Category": "sample string 2" }, "PCS_SubCategory": "sample string 2", "PSC_DisplayOrder": 3, "PSC_UserId_FK": 4, "PSC_TS": "2025-01-09T00:18:53.126794+05:30", "PSC_Inactive": "A", "PSC_TS_LastEdited": "2025-01-09T00:18:53.126794+05:30", "PSC_TS_Edited_Uid_FK": 8 }
application/xml, text/xml
Sample:
<ProductSubCategoryModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <PCS_SubCategory>sample string 2</PCS_SubCategory> <PSC_DisplayOrder>3</PSC_DisplayOrder> <PSC_Id>1</PSC_Id> <PSC_Inactive>65</PSC_Inactive> <PSC_TS>2025-01-09T00:18:53.126794+05:30</PSC_TS> <PSC_TS_Edited_Uid_FK>8</PSC_TS_Edited_Uid_FK> <PSC_TS_LastEdited>2025-01-09T00:18:53.126794+05:30</PSC_TS_LastEdited> <PSC_UserId_FK>4</PSC_UserId_FK> <ProductCategorySpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:PC_Category>sample string 2</d2p1:PC_Category> <d2p1:PC_Id>1</d2p1:PC_Id> </ProductCategorySpeedSearch> </ProductSubCategoryModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.