POST api/CreateSegmentAccount

Request Information

URI Parameters

None.

Body Parameters

AccountSegment
NameDescriptionTypeAdditional information
AccountSegmentId

integer

None.

SegmentName

string

None.

SegmentDescription

string

None.

Status

string

None.

AccountSegmentTypeId

integer

None.

AccountSegmentTypeName

string

None.

CreatedUserId

integer

None.

CreatedDate

date

None.

ValidFrom

date

None.

ValidUntil

date

None.

TotalAccounts

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountSegmentId": 1,
  "SegmentName": "sample string 2",
  "SegmentDescription": "sample string 3",
  "Status": "sample string 4",
  "AccountSegmentTypeId": 5,
  "AccountSegmentTypeName": "sample string 6",
  "CreatedUserId": 7,
  "CreatedDate": "2026-06-05T18:20:38.1849743-06:00",
  "ValidFrom": "2026-06-05T18:20:38.1849743-06:00",
  "ValidUntil": "2026-06-05T18:20:38.1849743-06:00",
  "TotalAccounts": 11
}

application/xml, text/xml

Sample:
<AccountSegment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loymark.Backend.Admin.Resources">
  <AccountSegmentId>1</AccountSegmentId>
  <AccountSegmentTypeId>5</AccountSegmentTypeId>
  <AccountSegmentTypeName>sample string 6</AccountSegmentTypeName>
  <CreatedDate>2026-06-05T18:20:38.1849743-06:00</CreatedDate>
  <CreatedUserId>7</CreatedUserId>
  <SegmentDescription>sample string 3</SegmentDescription>
  <SegmentName>sample string 2</SegmentName>
  <Status>sample string 4</Status>
  <TotalAccounts>11</TotalAccounts>
  <ValidFrom>2026-06-05T18:20:38.1849743-06:00</ValidFrom>
  <ValidUntil>2026-06-05T18:20:38.1849743-06:00</ValidUntil>
</AccountSegment>

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.