POST api/Event/CreateEventProduct

Request Information

URI Parameters

None.

Body Parameters

Event_Product
NameDescriptionTypeAdditional information
Event_Producy_Id

integer

None.

Event_Product_Name

string

None.

Event_Id

integer

None.

Product_Id

integer

None.

Unit_Price

decimal number

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Event_Producy_Id": 1,
  "Event_Product_Name": "sample string 2",
  "Event_Id": 1,
  "Product_Id": 1,
  "Unit_Price": 1.1,
  "CreatedBy": 1,
  "CreatedDate": "2025-12-21T09:01:44.6420467+00:00",
  "UpdatedBy": 1,
  "UpdatedDate": "2025-12-21T09:01:44.6420467+00:00"
}

application/xml, text/xml

Sample:
<Event_Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDPS">
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-21T09:01:44.6420467+00:00</CreatedDate>
  <Event_Id>1</Event_Id>
  <Event_Product_Name>sample string 2</Event_Product_Name>
  <Event_Producy_Id>1</Event_Producy_Id>
  <Product_Id>1</Product_Id>
  <Unit_Price>1.1</Unit_Price>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-21T09:01:44.6420467+00:00</UpdatedDate>
</Event_Product>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

data

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.