POST api/marketer/lockproduct

Request Information

URI Parameters

None.

Body Parameters

mlproduct
NamedescriptionTypeAdditional information
ProductSysID

globally unique identifier

None.

IsLocked

boolean

None.

LockedBy

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "IsLocked": true,
  "LockedBy": "5ec3fe3c-5e8f-4df1-ba2e-37d87f56c663",
  "ProductSysID": "3f37a673-70f6-4340-a9a9-1d9a307f15d0"
}

application/xml, text/xml

Sample:
<mlproduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Marketer">
  <IsLocked>true</IsLocked>
  <LockedBy>5ec3fe3c-5e8f-4df1-ba2e-37d87f56c663</LockedBy>
  <ProductSysID>3f37a673-70f6-4340-a9a9-1d9a307f15d0</ProductSysID>
</mlproduct>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.