POST api/employee/addEmployeeGifts
Request Information
URI Parameters
None.
Body Parameters
EmployeeInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| Contact | string |
None. |
|
| CustomerName | string |
None. |
|
| RoleID | integer |
None. |
|
| UserID | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| CompanyID | integer |
None. |
|
| UserTypeID | integer |
None. |
|
| UserType | string |
None. |
|
| CompanyName | string |
None. |
|
| TotalPoints | integer |
None. |
|
| IsApproved | boolean |
None. |
|
| gifts | Collection of Gift |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeID": 1,
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"Password": "sample string 4",
"Contact": "sample string 5",
"CustomerName": "sample string 6",
"RoleID": 1,
"UserID": "sample string 7",
"IsActive": true,
"CreatedBy": 1,
"CreatedOn": "2025-11-03T22:35:10.9861436+03:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-11-03T22:35:10.9861436+03:00",
"IsDeleted": true,
"CompanyID": 1,
"UserTypeID": 1,
"UserType": "sample string 8",
"CompanyName": "sample string 9",
"TotalPoints": 1,
"IsApproved": true,
"gifts": [
{
"GiftID": 1,
"CompanyID": 1,
"GiftName": "sample string 1",
"Points": 1,
"ImageURL": "sample string 2",
"CreatedBy": 1,
"CreatedOn": "2025-11-03T22:35:11.0017602+03:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-11-03T22:35:11.0017602+03:00",
"IsDeleted": true,
"IsChecked": true,
"GiftDate": "sample string 3",
"customerGiftPoints": 1
},
{
"GiftID": 1,
"CompanyID": 1,
"GiftName": "sample string 1",
"Points": 1,
"ImageURL": "sample string 2",
"CreatedBy": 1,
"CreatedOn": "2025-11-03T22:35:11.0017602+03:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-11-03T22:35:11.0017602+03:00",
"IsDeleted": true,
"IsChecked": true,
"GiftDate": "sample string 3",
"customerGiftPoints": 1
}
]
}
application/xml, text/xml
Sample:
<EmployeeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
<CompanyID>1</CompanyID>
<CompanyName>sample string 9</CompanyName>
<Contact>sample string 5</Contact>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-11-03T22:35:10.9861436+03:00</CreatedOn>
<CustomerName>sample string 6</CustomerName>
<Email>sample string 3</Email>
<EmployeeID>1</EmployeeID>
<FirstName>sample string 1</FirstName>
<IsActive>true</IsActive>
<IsApproved>true</IsApproved>
<IsDeleted>true</IsDeleted>
<LastName>sample string 2</LastName>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-11-03T22:35:10.9861436+03:00</ModifiedOn>
<Password>sample string 4</Password>
<RoleID>1</RoleID>
<TotalPoints>1</TotalPoints>
<UserID>sample string 7</UserID>
<UserType>sample string 8</UserType>
<UserTypeID>1</UserTypeID>
<gifts>
<Gift>
<CompanyID>1</CompanyID>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-11-03T22:35:11.0017602+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-11-03T22:35:11.0017602+03:00</ModifiedOn>
<Points>1</Points>
<customerGiftPoints>1</customerGiftPoints>
</Gift>
<Gift>
<CompanyID>1</CompanyID>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-11-03T22:35:11.0017602+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-11-03T22:35:11.0017602+03:00</ModifiedOn>
<Points>1</Points>
<customerGiftPoints>1</customerGiftPoints>
</Gift>
</gifts>
</EmployeeInfo>
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.