GET api/application/employments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ServiceResponseOfEmploymentDTO
NameDescriptionTypeAdditional information
HttpStatusCode

HttpStatusCode

None.

ResponseMessage

string

None.

HasError

boolean

None.

Data

EmploymentDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "httpStatusCode": 100,
  "responseMessage": "sample string 1",
  "hasError": true,
  "data": {
    "applicantEmploymentHistories": [
      {
        "employeeId": 1,
        "refNo": "sample string 2",
        "employer": "sample string 3",
        "fromMonth": 0,
        "fromYear": 4,
        "toMonth": 0,
        "toYear": 5,
        "position": "sample string 6"
      },
      {
        "employeeId": 1,
        "refNo": "sample string 2",
        "employer": "sample string 3",
        "fromMonth": 0,
        "fromYear": 4,
        "toMonth": 0,
        "toYear": 5,
        "position": "sample string 6"
      }
    ]
  }
}

text/html

Sample:
{"httpStatusCode":100,"responseMessage":"sample string 1","hasError":true,"data":{"applicantEmploymentHistories":[{"employeeId":1,"refNo":"sample string 2","employer":"sample string 3","fromMonth":0,"fromYear":4,"toMonth":0,"toYear":5,"position":"sample string 6"},{"employeeId":1,"refNo":"sample string 2","employer":"sample string 3","fromMonth":0,"fromYear":4,"toMonth":0,"toYear":5,"position":"sample string 6"}]}}

text/xml

Sample:
<ServiceResponseOfEmploymentDTO_P_PoWU07l xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApplicationPortalAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApplicationPortalAPI.Models.DTOs.Application">
    <d2p1:ApplicantEmploymentHistories>
      <d2p1:ApplicantEmploymentHistoryDTO>
        <d2p1:EmployeeId>1</d2p1:EmployeeId>
        <d2p1:Employer>sample string 3</d2p1:Employer>
        <d2p1:FromMonth>NotSet</d2p1:FromMonth>
        <d2p1:FromYear>4</d2p1:FromYear>
        <d2p1:Position>sample string 6</d2p1:Position>
        <d2p1:RefNo>sample string 2</d2p1:RefNo>
        <d2p1:ToMonth>NotSet</d2p1:ToMonth>
        <d2p1:ToYear>5</d2p1:ToYear>
      </d2p1:ApplicantEmploymentHistoryDTO>
      <d2p1:ApplicantEmploymentHistoryDTO>
        <d2p1:EmployeeId>1</d2p1:EmployeeId>
        <d2p1:Employer>sample string 3</d2p1:Employer>
        <d2p1:FromMonth>NotSet</d2p1:FromMonth>
        <d2p1:FromYear>4</d2p1:FromYear>
        <d2p1:Position>sample string 6</d2p1:Position>
        <d2p1:RefNo>sample string 2</d2p1:RefNo>
        <d2p1:ToMonth>NotSet</d2p1:ToMonth>
        <d2p1:ToYear>5</d2p1:ToYear>
      </d2p1:ApplicantEmploymentHistoryDTO>
    </d2p1:ApplicantEmploymentHistories>
  </Data>
  <HasError>true</HasError>
  <HttpStatusCode>Continue</HttpStatusCode>
  <ResponseMessage>sample string 1</ResponseMessage>
</ServiceResponseOfEmploymentDTO_P_PoWU07l>