POST api/updateSegmentRule

Request Information

URI Parameters

None.

Body Parameters

SegmentRule
NameDescriptionTypeAdditional information
SegmentRuleId

integer

None.

RuleName

string

None.

RuleDescription

string

None.

Status

string

None.

ValidFrom

date

None.

ValidUntil

date

None.

AditionalCheckIns

integer

None.

CreatedDate

date

None.

CreatedUserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SegmentRuleId": 1,
  "RuleName": "sample string 2",
  "RuleDescription": "sample string 3",
  "Status": "sample string 4",
  "ValidFrom": "2026-06-05T18:21:07.5653597-06:00",
  "ValidUntil": "2026-06-05T18:21:07.5653597-06:00",
  "AditionalCheckIns": 7,
  "CreatedDate": "2026-06-05T18:21:07.5653597-06:00",
  "CreatedUserId": 9
}

application/xml, text/xml

Sample:
<SegmentRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loymark.Backend.Admin.Resources">
  <AditionalCheckIns>7</AditionalCheckIns>
  <CreatedDate>2026-06-05T18:21:07.5653597-06:00</CreatedDate>
  <CreatedUserId>9</CreatedUserId>
  <RuleDescription>sample string 3</RuleDescription>
  <RuleName>sample string 2</RuleName>
  <SegmentRuleId>1</SegmentRuleId>
  <Status>sample string 4</Status>
  <ValidFrom>2026-06-05T18:21:07.5653597-06:00</ValidFrom>
  <ValidUntil>2026-06-05T18:21:07.5653597-06:00</ValidUntil>
</SegmentRule>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.