POST api/ModifyPromotions

Request Information

URI Parameters

None.

Body Parameters

Promotions
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

loc1

boolean

None.

loc2

boolean

None.

loc3

boolean

None.

stardate

date

None.

endate

date

None.

status

boolean

None.

discount

decimal number

None.

products

string

None.

creationDate

date

None.

lun

boolean

None.

mar

boolean

None.

mie

boolean

None.

jue

boolean

None.

vie

boolean

None.

sab

boolean

None.

dom

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "loc1": true,
  "loc2": true,
  "loc3": true,
  "stardate": "2025-12-06T14:04:41.8994615-06:00",
  "endate": "2025-12-06T14:04:41.8994615-06:00",
  "status": true,
  "discount": 9.1,
  "products": "sample string 10",
  "creationDate": "2025-12-06T14:04:41.8994615-06:00",
  "lun": true,
  "mar": true,
  "mie": true,
  "jue": true,
  "vie": true,
  "sab": true,
  "dom": true
}

application/xml, text/xml

Sample:
<Promotions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Carniceria.Models">
  <creationDate>2025-12-06T14:04:41.8994615-06:00</creationDate>
  <discount>9.1</discount>
  <dom>true</dom>
  <endate>2025-12-06T14:04:41.8994615-06:00</endate>
  <id>1</id>
  <jue>true</jue>
  <loc1>true</loc1>
  <loc2>true</loc2>
  <loc3>true</loc3>
  <lun>true</lun>
  <mar>true</mar>
  <mie>true</mie>
  <name>sample string 2</name>
  <products>sample string 10</products>
  <sab>true</sab>
  <stardate>2025-12-06T14:04:41.8994615-06:00</stardate>
  <status>true</status>
  <vie>true</vie>
</Promotions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Promotions
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

loc1

boolean

None.

loc2

boolean

None.

loc3

boolean

None.

stardate

date

None.

endate

date

None.

status

boolean

None.

discount

decimal number

None.

products

string

None.

creationDate

date

None.

lun

boolean

None.

mar

boolean

None.

mie

boolean

None.

jue

boolean

None.

vie

boolean

None.

sab

boolean

None.

dom

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "loc1": true,
  "loc2": true,
  "loc3": true,
  "stardate": "2025-12-06T14:04:41.9004581-06:00",
  "endate": "2025-12-06T14:04:41.9004581-06:00",
  "status": true,
  "discount": 9.1,
  "products": "sample string 10",
  "creationDate": "2025-12-06T14:04:41.9004581-06:00",
  "lun": true,
  "mar": true,
  "mie": true,
  "jue": true,
  "vie": true,
  "sab": true,
  "dom": true
}

application/xml, text/xml

Sample:
<Promotions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Carniceria.Models">
  <creationDate>2025-12-06T14:04:41.9004581-06:00</creationDate>
  <discount>9.1</discount>
  <dom>true</dom>
  <endate>2025-12-06T14:04:41.9004581-06:00</endate>
  <id>1</id>
  <jue>true</jue>
  <loc1>true</loc1>
  <loc2>true</loc2>
  <loc3>true</loc3>
  <lun>true</lun>
  <mar>true</mar>
  <mie>true</mie>
  <name>sample string 2</name>
  <products>sample string 10</products>
  <sab>true</sab>
  <stardate>2025-12-06T14:04:41.9004581-06:00</stardate>
  <status>true</status>
  <vie>true</vie>
</Promotions>