POST api/Notification/SendNewJoineeNotification

Request Information

URI Parameters

None.

Body Parameters

EmployeeTradingDeclarationEnt
NameDescriptionTypeAdditional information
Id

integer

None.

Employee

FieldUserValue

None.

FinYear

MasterEntity

None.

Quarter

MasterEntity

None.

IsSubmitted

boolean

None.

HasAnyTrading

boolean

None.

IsCOI

boolean

None.

IsAntiBribery

boolean

None.

COIReason

string

None.

AntiBriberyReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Employee": {
    "Email": null,
    "TypeId": "{c956ab54-16bd-4c18-89d2-996f57282a6f}",
    "LookupId": 1,
    "LookupValue": null
  },
  "FinYear": {
    "Id": 1,
    "Name": "sample string 2",
    "IsActive": true
  },
  "Quarter": {
    "Id": 1,
    "Name": "sample string 2",
    "IsActive": true
  },
  "IsSubmitted": true,
  "HasAnyTrading": true,
  "IsCOI": true,
  "IsAntiBribery": true,
  "COIReason": "sample string 6",
  "AntiBriberyReason": "sample string 7"
}

application/xml, text/xml

Sample:
<EmployeeTradingDeclarationEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonLibrary.Entity">
  <AntiBriberyReason>sample string 7</AntiBriberyReason>
  <COIReason>sample string 6</COIReason>
  <Employee xmlns:d2p1="http://schemas.datacontract.org/2004/07/Microsoft.SharePoint.Client">
    <d2p1:LookupId>1</d2p1:LookupId>
  </Employee>
  <FinYear>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <Name>sample string 2</Name>
  </FinYear>
  <HasAnyTrading>true</HasAnyTrading>
  <Id>1</Id>
  <IsAntiBribery>true</IsAntiBribery>
  <IsCOI>true</IsCOI>
  <IsSubmitted>true</IsSubmitted>
  <Quarter>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <Name>sample string 2</Name>
  </Quarter>
</EmployeeTradingDeclarationEnt>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.