POST api/TLSProduct/CategoryManagement?Mode={Mode}

Manage category table transaction

Request Information

URI Parameters

NamedescriptionTypeAdditional information
Mode

string

Required

Body Parameters

MlTLSCategory
NamedescriptionTypeAdditional information
CategorySysId

integer

None.

CategoryName

string

None.

ParentCategorySysId

integer

None.

CategoryImagePath

string

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 5",
  "CreatedDate": "sample string 6",
  "IsDeleted": true,
  "UpdatedBy": "sample string 7",
  "UpdatedDate": "sample string 8",
  "CategoryImagePath": "sample string 4",
  "CategoryName": "sample string 2",
  "CategorySysId": 1,
  "Locked": {
    "IsLocked": true,
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3"
  },
  "ParentCategorySysId": 3
}

application/xml, text/xml

Sample:
<MlTLSCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.TLSProduct">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 5</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 6</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 7</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 8</UpdatedDate>
  <CategoryImagePath>sample string 4</CategoryImagePath>
  <CategoryName>sample string 2</CategoryName>
  <CategorySysId>1</CategorySysId>
  <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>
  <ParentCategorySysId>3</ParentCategorySysId>
</MlTLSCategory>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.