POST api/user/do-not-sell-request?turnOn={turnOn}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
turnOn

boolean

Default value is True

Body Parameters

User
NameDescriptionTypeAdditional information
Addresses

Collection of AddressUser

None.

DoNotSell

boolean

None.

Id

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

DateModified

date

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "addresses": [
    {
      "StreetAddress1": "sample string 1",
      "City": "sample string 2",
      "State": "sample string 3",
      "PostalCode": "sample string 4"
    },
    {
      "StreetAddress1": "sample string 1",
      "City": "sample string 2",
      "State": "sample string 3",
      "PostalCode": "sample string 4"
    }
  ],
  "doNotSell": true,
  "id": "sample string 2",
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "email": "sample string 5",
  "dateModified": "2026-09-09T23:07:20.9071588+00:00",
  "type": "sample string 7"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIM.Model.Entities">
  <DateModified>2026-09-09T23:07:20.9071588+00:00</DateModified>
  <Email>sample string 5</Email>
  <FirstName>sample string 3</FirstName>
  <Id>sample string 2</Id>
  <LastName>sample string 4</LastName>
  <Type>sample string 7</Type>
  <Addresses>
    <AddressUser>
      <City>sample string 2</City>
      <PostalCode>sample string 4</PostalCode>
      <State>sample string 3</State>
      <StreetAddress1>sample string 1</StreetAddress1>
    </AddressUser>
    <AddressUser>
      <City>sample string 2</City>
      <PostalCode>sample string 4</PostalCode>
      <State>sample string 3</State>
      <StreetAddress1>sample string 1</StreetAddress1>
    </AddressUser>
  </Addresses>
  <DoNotSell>true</DoNotSell>
</User>

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.