POST api/Offers/AddOffer

Request Information

URI Parameters

None.

Body Parameters

OfferTB
NameDescriptionTypeAdditional information
Id

integer

None.

Offer

string

None.

isToday

boolean

None.

Phone

string

None.

Link

string

None.

isActive

boolean

None.

CategoryId

integer

None.

Views

integer

None.

Mobile

string

None.

UserId

integer

None.

Title

string

None.

CountyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Offer": "sample string 2",
  "isToday": true,
  "Phone": "sample string 3",
  "Link": "sample string 4",
  "isActive": true,
  "CategoryId": 1,
  "Views": 1,
  "Mobile": "sample string 6",
  "UserId": 1,
  "Title": "sample string 7",
  "CountyId": 8
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1