POST api/Employee/PostPersonDocument

Request Information

URI Parameters

None.

Body Parameters

EmployeeDocumentViewModel
NameDescriptionTypeAdditional information
EmployeeDocumentID

integer

None.

Path

string

None.

TypeID

integer

None.

EmployeeID

integer

None.

DocumentNumber

string

None.

Subject

string

None.

Body

string

None.

ExpiryDate

string

None.

NotifyDays

integer

None.

NotifyExpiryDtIND

boolean

None.

DocumentType

integer

None.

DocIssuedDate

string

None.

DocExpiryDate

string

None.

CountryID

integer

None.

StateID

integer

None.

OtherState

string

None.

IssuingAuthority

string

None.

NotifyEmpInd

boolean

None.

NotifyHRInd

boolean

None.

NotifyRMInd

boolean

None.

NotifyOtherInd

boolean

None.

NotifyOtherEmailIDs

string

None.

DataKeyID

integer

None.

RecruitmentDocumentID

integer

None.

RecruitmentStageID

integer

None.

PhysicalCopyIND

boolean

None.

PhysicalCopyComments

string

None.

ExpectedReturnDate

string

None.

Selection

string

None.

NotNeedComments

string

None.

LaterDate

string

None.

ReturnTypeID

integer

None.

ExpectedDateofSubmission

string

None.

CustodianReturnComments

string

None.

CustodianReturnDate

string

None.

EmployeeACKComments

string

None.

EmployeeACKDate

string

None.

EmployeeReturnedComments

string

None.

EmpoyeeReturnedDate

string

None.

CustodianACKComments

string

None.

CustodianACKDate

string

None.

EmployeeDocIND

integer

None.

CustodianPersonID

integer

None.

WorkFlowComments

string

None.

Comments

string

None.

HPCNotifyExpiryDtIND

boolean

None.

HPCNotifyRtnDtIND

boolean

None.

HPCNotifyRtnDays

integer

None.

RetunNotifiIND

boolean

None.

ReturnNotifiDays

integer

None.

NotificationFrequencyType

integer

None.

NotificationSubFrequencyType

integer

None.

DocumentName

string

None.

Submittedby

integer

None.

DocumentTypeText

string

None.

Paths

Collection of MultipleDocumentPath

None.

StatusCode

string

None.

StatusCodeText

string

None.

MultiplePaths

Collection of EmployeeDocumentPathViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeDocumentID": 1,
  "Path": "sample string 2",
  "TypeID": 3,
  "EmployeeID": 4,
  "DocumentNumber": "sample string 5",
  "Subject": "sample string 6",
  "Body": "sample string 7",
  "ExpiryDate": "sample string 8",
  "NotifyDays": 9,
  "NotifyExpiryDtIND": true,
  "DocumentType": 11,
  "DocIssuedDate": "sample string 12",
  "DocExpiryDate": "sample string 13",
  "CountryID": 14,
  "StateID": 15,
  "OtherState": "sample string 16",
  "IssuingAuthority": "sample string 17",
  "NotifyEmpInd": true,
  "NotifyHRInd": true,
  "NotifyRMInd": true,
  "NotifyOtherInd": true,
  "NotifyOtherEmailIDs": "sample string 22",
  "DataKeyID": 23,
  "RecruitmentDocumentID": 24,
  "RecruitmentStageID": 25,
  "PhysicalCopyIND": true,
  "PhysicalCopyComments": "sample string 27",
  "ExpectedReturnDate": "sample string 28",
  "Selection": "sample string 29",
  "NotNeedComments": "sample string 30",
  "LaterDate": "sample string 31",
  "ReturnTypeID": 32,
  "ExpectedDateofSubmission": "sample string 33",
  "CustodianReturnComments": "sample string 34",
  "CustodianReturnDate": "sample string 35",
  "EmployeeACKComments": "sample string 36",
  "EmployeeACKDate": "sample string 37",
  "EmployeeReturnedComments": "sample string 38",
  "EmpoyeeReturnedDate": "sample string 39",
  "CustodianACKComments": "sample string 40",
  "CustodianACKDate": "sample string 41",
  "EmployeeDocIND": 42,
  "CustodianPersonID": 43,
  "WorkFlowComments": "sample string 44",
  "Comments": "sample string 45",
  "HPCNotifyExpiryDtIND": true,
  "HPCNotifyRtnDtIND": true,
  "HPCNotifyRtnDays": 48,
  "RetunNotifiIND": true,
  "ReturnNotifiDays": 50,
  "NotificationFrequencyType": 51,
  "NotificationSubFrequencyType": 52,
  "DocumentName": "sample string 53",
  "Submittedby": 54,
  "DocumentTypeText": "sample string 55",
  "Paths": [
    {
      "Name": "sample string 1",
      "Path": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Path": "sample string 2"
    }
  ],
  "StatusCode": "sample string 56",
  "StatusCodeText": "sample string 57",
  "MultiplePaths": [
    {
      "EmployeeDocumentPathID": 1,
      "Path": "sample string 2",
      "EmployeeDocumentID": 3,
      "EmployeeID": 4,
      "Name": "sample string 5",
      "LastUpdatedName": "sample string 6"
    },
    {
      "EmployeeDocumentPathID": 1,
      "Path": "sample string 2",
      "EmployeeDocumentID": 3,
      "EmployeeID": 4,
      "Name": "sample string 5",
      "LastUpdatedName": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<EmployeeDocumentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Employee">
  <Body>sample string 7</Body>
  <Comments>sample string 45</Comments>
  <CountryID>14</CountryID>
  <CustodianACKComments>sample string 40</CustodianACKComments>
  <CustodianACKDate>sample string 41</CustodianACKDate>
  <CustodianPersonID>43</CustodianPersonID>
  <CustodianReturnComments>sample string 34</CustodianReturnComments>
  <CustodianReturnDate>sample string 35</CustodianReturnDate>
  <DataKeyID>23</DataKeyID>
  <DocExpiryDate>sample string 13</DocExpiryDate>
  <DocIssuedDate>sample string 12</DocIssuedDate>
  <DocumentName>sample string 53</DocumentName>
  <DocumentNumber>sample string 5</DocumentNumber>
  <DocumentType>11</DocumentType>
  <DocumentTypeText>sample string 55</DocumentTypeText>
  <EmployeeACKComments>sample string 36</EmployeeACKComments>
  <EmployeeACKDate>sample string 37</EmployeeACKDate>
  <EmployeeDocIND>42</EmployeeDocIND>
  <EmployeeDocumentID>1</EmployeeDocumentID>
  <EmployeeID>4</EmployeeID>
  <EmployeeReturnedComments>sample string 38</EmployeeReturnedComments>
  <EmpoyeeReturnedDate>sample string 39</EmpoyeeReturnedDate>
  <ExpectedDateofSubmission>sample string 33</ExpectedDateofSubmission>
  <ExpectedReturnDate>sample string 28</ExpectedReturnDate>
  <ExpiryDate>sample string 8</ExpiryDate>
  <HPCNotifyExpiryDtIND>true</HPCNotifyExpiryDtIND>
  <HPCNotifyRtnDays>48</HPCNotifyRtnDays>
  <HPCNotifyRtnDtIND>true</HPCNotifyRtnDtIND>
  <IssuingAuthority>sample string 17</IssuingAuthority>
  <LaterDate>sample string 31</LaterDate>
  <MultiplePaths>
    <EmployeeDocumentPathViewModel>
      <EmployeeDocumentID>3</EmployeeDocumentID>
      <EmployeeDocumentPathID>1</EmployeeDocumentPathID>
      <EmployeeID>4</EmployeeID>
      <LastUpdatedName>sample string 6</LastUpdatedName>
      <Name>sample string 5</Name>
      <Path>sample string 2</Path>
    </EmployeeDocumentPathViewModel>
    <EmployeeDocumentPathViewModel>
      <EmployeeDocumentID>3</EmployeeDocumentID>
      <EmployeeDocumentPathID>1</EmployeeDocumentPathID>
      <EmployeeID>4</EmployeeID>
      <LastUpdatedName>sample string 6</LastUpdatedName>
      <Name>sample string 5</Name>
      <Path>sample string 2</Path>
    </EmployeeDocumentPathViewModel>
  </MultiplePaths>
  <NotNeedComments>sample string 30</NotNeedComments>
  <NotificationFrequencyType>51</NotificationFrequencyType>
  <NotificationSubFrequencyType>52</NotificationSubFrequencyType>
  <NotifyDays>9</NotifyDays>
  <NotifyEmpInd>true</NotifyEmpInd>
  <NotifyExpiryDtIND>true</NotifyExpiryDtIND>
  <NotifyHRInd>true</NotifyHRInd>
  <NotifyOtherEmailIDs>sample string 22</NotifyOtherEmailIDs>
  <NotifyOtherInd>true</NotifyOtherInd>
  <NotifyRMInd>true</NotifyRMInd>
  <OtherState>sample string 16</OtherState>
  <Path>sample string 2</Path>
  <Paths>
    <MultipleDocumentPath>
      <Name>sample string 1</Name>
      <Path>sample string 2</Path>
    </MultipleDocumentPath>
    <MultipleDocumentPath>
      <Name>sample string 1</Name>
      <Path>sample string 2</Path>
    </MultipleDocumentPath>
  </Paths>
  <PhysicalCopyComments>sample string 27</PhysicalCopyComments>
  <PhysicalCopyIND>true</PhysicalCopyIND>
  <RecruitmentDocumentID>24</RecruitmentDocumentID>
  <RecruitmentStageID>25</RecruitmentStageID>
  <RetunNotifiIND>true</RetunNotifiIND>
  <ReturnNotifiDays>50</ReturnNotifiDays>
  <ReturnTypeID>32</ReturnTypeID>
  <Selection>sample string 29</Selection>
  <StateID>15</StateID>
  <StatusCode>sample string 56</StatusCode>
  <StatusCodeText>sample string 57</StatusCodeText>
  <Subject>sample string 6</Subject>
  <Submittedby>54</Submittedby>
  <TypeID>3</TypeID>
  <WorkFlowComments>sample string 44</WorkFlowComments>
</EmployeeDocumentViewModel>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.