POST api/PnrSearch

Request Information

URI Parameters

None.

Body Parameters

Jsonparams
NameDescriptionTypeAdditional information
jsonstring

string

None.

Request Formats

application/json, text/json

Sample:
{
  "jsonstring": "sample string 1"
}

application/xml, text/xml

Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
  <jsonstring>sample string 1</jsonstring>
</Jsonparams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PnrResult
NameDescriptionTypeAdditional information
responseCode

string

None.

responseMessage

string

None.

ssnStatus

string

None.

basic

pnrbasic

None.

extended

pnrextended

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": "sample string 1",
  "responseMessage": "sample string 2",
  "ssnStatus": "sample string 3",
  "basic": {
    "firstName": "sample string 1",
    "givenName": "sample string 2",
    "surName": "sample string 3",
    "middleName": "sample string 4",
    "lastName": "sample string 5",
    "co": "sample string 6",
    "street": "sample string 7",
    "zipCode": "sample string 8",
    "city": "sample string 9"
  },
  "extended": {
    "municipality": "sample string 1",
    "municipalityCode": "sample string 2",
    "parish": "sample string 3",
    "district": "sample string 4",
    "county": "sample string 5",
    "countyCode": "sample string 6",
    "nextBirthDay": "sample string 7",
    "dateOfBirth": "sample string 8",
    "age": "sample string 9",
    "gender": "sample string 10",
    "isMarried": "sample string 11",
    "socialStatusWith": "sample string 12",
    "socialStatusWithSSN": "sample string 13",
    "numberOfCompanyInvolvements": "sample string 14"
  }
}

application/xml, text/xml

Sample:
<PnrResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
  <basic>
    <city>sample string 9</city>
    <co>sample string 6</co>
    <firstName>sample string 1</firstName>
    <givenName>sample string 2</givenName>
    <lastName>sample string 5</lastName>
    <middleName>sample string 4</middleName>
    <street>sample string 7</street>
    <surName>sample string 3</surName>
    <zipCode>sample string 8</zipCode>
  </basic>
  <extended>
    <age>sample string 9</age>
    <county>sample string 5</county>
    <countyCode>sample string 6</countyCode>
    <dateOfBirth>sample string 8</dateOfBirth>
    <district>sample string 4</district>
    <gender>sample string 10</gender>
    <isMarried>sample string 11</isMarried>
    <municipality>sample string 1</municipality>
    <municipalityCode>sample string 2</municipalityCode>
    <nextBirthDay>sample string 7</nextBirthDay>
    <numberOfCompanyInvolvements>sample string 14</numberOfCompanyInvolvements>
    <parish>sample string 3</parish>
    <socialStatusWith>sample string 12</socialStatusWith>
    <socialStatusWithSSN>sample string 13</socialStatusWithSSN>
  </extended>
  <responseCode>sample string 1</responseCode>
  <responseMessage>sample string 2</responseMessage>
  <ssnStatus>sample string 3</ssnStatus>
</PnrResult>