POST api/Patio

Request Information

URI Parameters

None.

Body Parameters

MarketingOptIn
NameDescriptionTypeAdditional information
ID

integer

None.

Phone

string

None.

CustomerName

string

None.

Store

integer

None.

OptIn

boolean

None.

CreatedBy

string

None.

CreatedOn

date

None.

ModifiedBy

string

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Phone": "sample string 2",
  "CustomerName": "sample string 3",
  "Store": 4,
  "OptIn": true,
  "CreatedBy": "sample string 5",
  "CreatedOn": "2025-12-06T21:39:33.5023324+00:00",
  "ModifiedBy": "sample string 6",
  "ModifiedOn": "2025-12-06T21:39:33.5023324+00:00"
}

application/xml, text/xml

Sample:
<MarketingOptIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PersonalManagerAPI">
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedOn>2025-12-06T21:39:33.5023324+00:00</CreatedOn>
  <CustomerName>sample string 3</CustomerName>
  <ID>1</ID>
  <ModifiedBy>sample string 6</ModifiedBy>
  <ModifiedOn>2025-12-06T21:39:33.5023324+00:00</ModifiedOn>
  <OptIn>true</OptIn>
  <Phone>sample string 2</Phone>
  <Store>4</Store>
</MarketingOptIn>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MarketingOptIn'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.