POST api/v1/Amenity/CreateAmenity

Request Information

URI Parameters

None.

Body Parameters

Amenity
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IconLink

string

None.

_CreationDate

date

None.

_UpdatedDate

date

None.

_SysNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "IconLink": "sample string 3",
  "_CreationDate": "2026-01-20T20:27:04.020346+00:00",
  "_UpdatedDate": "2026-01-20T20:27:04.020346+00:00",
  "_SysNumber": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.