POST api/ABHA/M2/LinkOnConfirm

Request Information

URI Parameters

None.

Body Parameters

DiscoverResponseRequest
NameDescriptionTypeAdditional information
patient

Collection of PatientItem

None.

response

ResponseObj

None.

UserId

string

None.

TerminalId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "patient": [
    {
      "referenceNumber": "sample string 1",
      "display": "sample string 2",
      "careContexts": [
        {
          "referenceNumber": "sample string 1",
          "display": "sample string 2"
        },
        {
          "referenceNumber": "sample string 1",
          "display": "sample string 2"
        }
      ],
      "hiType": "sample string 3",
      "count": 4
    },
    {
      "referenceNumber": "sample string 1",
      "display": "sample string 2",
      "careContexts": [
        {
          "referenceNumber": "sample string 1",
          "display": "sample string 2"
        },
        {
          "referenceNumber": "sample string 1",
          "display": "sample string 2"
        }
      ],
      "hiType": "sample string 3",
      "count": 4
    }
  ],
  "response": {
    "requestId": "sample string 1"
  },
  "UserId": "sample string 1",
  "TerminalId": "sample string 2"
}

application/xml, text/xml

Sample:
<Milestone2Controller.DiscoverResponseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ABHAAPI.Controllers">
  <TerminalId>sample string 2</TerminalId>
  <UserId>sample string 1</UserId>
  <patient>
    <Milestone2Controller.PatientItem>
      <careContexts>
        <Milestone2Controller.CareContext>
          <display>sample string 2</display>
          <referenceNumber>sample string 1</referenceNumber>
        </Milestone2Controller.CareContext>
        <Milestone2Controller.CareContext>
          <display>sample string 2</display>
          <referenceNumber>sample string 1</referenceNumber>
        </Milestone2Controller.CareContext>
      </careContexts>
      <count>4</count>
      <display>sample string 2</display>
      <hiType>sample string 3</hiType>
      <referenceNumber>sample string 1</referenceNumber>
    </Milestone2Controller.PatientItem>
    <Milestone2Controller.PatientItem>
      <careContexts>
        <Milestone2Controller.CareContext>
          <display>sample string 2</display>
          <referenceNumber>sample string 1</referenceNumber>
        </Milestone2Controller.CareContext>
        <Milestone2Controller.CareContext>
          <display>sample string 2</display>
          <referenceNumber>sample string 1</referenceNumber>
        </Milestone2Controller.CareContext>
      </careContexts>
      <count>4</count>
      <display>sample string 2</display>
      <hiType>sample string 3</hiType>
      <referenceNumber>sample string 1</referenceNumber>
    </Milestone2Controller.PatientItem>
  </patient>
  <response>
    <requestId>sample string 1</requestId>
  </response>
</Milestone2Controller.DiscoverResponseRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.