POST api/Notification/AllowExternalSharing
Request Information
URI Parameters
None.
Body Parameters
EmployeeRelatives| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| RelationType | MasterEntity |
None. |
|
| ContactNo | string |
None. |
|
| DOB | date |
None. |
|
| string |
None. |
||
| IsSignificantRelation | boolean |
None. |
|
| FinYear | MasterEntity |
None. |
|
| Employee | FieldUserValue |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"Id": 2,
"Name": "sample string 3",
"RelationType": {
"Id": 1,
"Name": "sample string 2",
"IsActive": true
},
"ContactNo": "sample string 4",
"DOB": "2025-12-06T09:12:43.8813718+05:30",
"EMail": "sample string 6",
"IsSignificantRelation": true,
"FinYear": {
"Id": 1,
"Name": "sample string 2",
"IsActive": true
},
"Employee": {
"Email": null,
"TypeId": "{c956ab54-16bd-4c18-89d2-996f57282a6f}",
"LookupId": 1,
"LookupValue": null
}
}
application/xml, text/xml
Sample:
<EmployeeRelatives xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonLibrary.Entity">
<ContactNo>sample string 4</ContactNo>
<DOB>2025-12-06T09:12:43.8813718+05:30</DOB>
<EMail>sample string 6</EMail>
<Employee xmlns:d2p1="http://schemas.datacontract.org/2004/07/Microsoft.SharePoint.Client">
<d2p1:LookupId>1</d2p1:LookupId>
</Employee>
<EmployeeId>1</EmployeeId>
<FinYear>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
</FinYear>
<Id>2</Id>
<IsSignificantRelation>true</IsSignificantRelation>
<Name>sample string 3</Name>
<RelationType>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
</RelationType>
</EmployeeRelatives>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |