POST api/ProductManagement/CreateProductCategory
Insert Category
Request Information
URI Parameters
None.
Body Parameters
Category
mlCategoryName | description | Type | Additional information |
---|---|---|---|
AffiliateCategorySysID | integer |
None. |
|
CategoryName | string |
None. |
|
DepartmentSysID | integer |
None. |
|
Locked | mlLockedDetails |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | string |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | string |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CreatedBy": "sample string 4", "CreatedDate": "sample string 5", "IsDeleted": true, "UpdatedBy": "sample string 6", "UpdatedDate": "sample string 7", "AffiliateCategorySysID": 1, "CategoryName": "sample string 2", "DepartmentSysID": 3, "Locked": { "IsLocked": true, "LockedBy": "sample string 1", "LockedDate": "sample string 2", "LockedReason": "sample string 3" } }
application/xml, text/xml
Sample:
<mlCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Product"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 4</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 5</CreatedDate> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">true</IsDeleted> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 6</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 7</UpdatedDate> <AffiliateCategorySysID>1</AffiliateCategorySysID> <CategoryName>sample string 2</CategoryName> <DepartmentSysID>3</DepartmentSysID> <Locked xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common"> <d2p1:IsLocked>true</d2p1:IsLocked> <d2p1:LockedBy>sample string 1</d2p1:LockedBy> <d2p1:LockedDate>sample string 2</d2p1:LockedDate> <d2p1:LockedReason>sample string 3</d2p1:LockedReason> </Locked> </mlCategory>
response Information
Resource description
"Category Inserted Successfully
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |