POST api/gift/saveGift
Request Information
URI Parameters
None.
Body Parameters
Gift| Name | Description | Type | Additional information |
|---|---|---|---|
| GiftID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| GiftName | string |
None. |
|
| Points | integer |
None. |
|
| ImageURL | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsChecked | boolean |
None. |
|
| GiftDate | string |
None. |
|
| customerGiftPoints | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GiftID": 1,
"CompanyID": 1,
"GiftName": "sample string 1",
"Points": 1,
"ImageURL": "sample string 2",
"CreatedBy": 1,
"CreatedOn": "2025-12-16T14:54:21.0329993+03:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-16T14:54:21.0329993+03:00",
"IsDeleted": true,
"IsChecked": true,
"GiftDate": "sample string 3",
"customerGiftPoints": 1
}
application/xml, text/xml
Sample:
<Gift xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models"> <CompanyID>1</CompanyID> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-16T14:54:21.0329993+03:00</CreatedOn> <GiftDate>sample string 3</GiftDate> <GiftID>1</GiftID> <GiftName>sample string 1</GiftName> <ImageURL>sample string 2</ImageURL> <IsChecked>true</IsChecked> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-16T14:54:21.0329993+03:00</ModifiedOn> <Points>1</Points> <customerGiftPoints>1</customerGiftPoints> </Gift>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.