POST api/Infrastructure/AddInfrastructure

Request Information

URI Parameters

None.

Body Parameters

Infrastructure
NameDescriptionTypeAdditional information
Affi_Id

integer

None.

Facility

string

None.

Units

string

None.

Area

string

None.

SeatingCapacity

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Affi_Id": 1,
  "Facility": "sample string 2",
  "Units": "sample string 3",
  "Area": "sample string 4",
  "SeatingCapacity": "sample string 5",
  "CreatedBy": "sample string 6",
  "CreatedDate": "2024-12-01T09:42:28.6212837+05:30",
  "UpdatedBy": "sample string 8",
  "UpdatedDate": "2024-12-01T09:42:28.6212837+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Affi_Id":1,"Facility":"sample string 2","Units":"sample string 3","Area":"sample string 4","SeatingCapacity":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"2024-12-01T09:42:28.6212837+05:30","UpdatedBy":"sample string 8","UpdatedDate":"2024-12-01T09:42:28.6212837+05:30"}

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 'Infrastructure'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.