POST api/News/CreateWebsiteNews

create marketer website news

Request Information

URI Parameters

None.

Body Parameters

WebsiteNews
NamedescriptionTypeAdditional information
MsgID

integer

None.

Message

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

Locked

mlLockedDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "CreatedBy": "sample string 3",
  "CreatedDate": "sample string 4",
  "Locked": {
    "IsLocked": true,
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3"
  },
  "Message": "sample string 2",
  "MsgID": 1
}

application/xml, text/xml

Sample:
<mlMarketerNews.WebsiteNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Admin">
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedDate>sample string 4</CreatedDate>
  <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>
  <Message>sample string 2</Message>
  <MsgID>1</MsgID>
</mlMarketerNews.WebsiteNews>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.