POST api/profile/{relayCustomerProfileId}/relay

Post an Inbound Transaction for Relay to Net Health

Request Information

URI Parameters

NameDescriptionTypeAdditional information
relayCustomerProfileId

Identifies the Net Health Relay Customer Profile

integer

Required

Body Parameters

Relay Transaction Data, including Relay Data (HL7 Data, File Data, Web Service Content Data) and Log Level for relay transaction processing

RelayPostTransactionData
NameDescriptionTypeAdditional information
RelayData

RelayData

None.

LogLevel

string

None.

RelayInboundProfileId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RelayData": {
    "HL7": {
      "OutboundHL7QueueID": 1,
      "HL7Message": "sample string 1"
    },
    "File": {
      "OutboundFileQueueID": 1,
      "FileName": "sample string 1",
      "FilePath": "sample string 2",
      "FileContents": "sample string 3"
    },
    "WebServiceBodyContents": "sample string 1"
  },
  "LogLevel": "sample string 1",
  "RelayInboundProfileId": 1
}

application/xml, text/xml

Sample:
<RelayPostTransactionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interface.Relay.TransferObjects">
  <LogLevel>sample string 1</LogLevel>
  <RelayData>
    <File>
      <FileContents>sample string 3</FileContents>
      <FileName>sample string 1</FileName>
      <FilePath>sample string 2</FilePath>
      <OutboundFileQueueID>1</OutboundFileQueueID>
    </File>
    <HL7>
      <HL7Message>sample string 1</HL7Message>
      <OutboundHL7QueueID>1</OutboundHL7QueueID>
    </HL7>
    <WebServiceBodyContents>sample string 1</WebServiceBodyContents>
  </RelayData>
  <RelayInboundProfileId>1</RelayInboundProfileId>
</RelayPostTransactionData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RelayPostResponseData
NameDescriptionTypeAdditional information
HL7Ack

string

None.

ResponseStatus

ResponseStatus

None.

LogMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HL7Ack": "sample string 1",
  "ResponseStatus": 1,
  "LogMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<RelayPostResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interface.Relay.TransferObjects">
  <LogMessage>sample string 2</LogMessage>
  <ResponseStatus>Success</ResponseStatus>
  <HL7Ack>sample string 1</HL7Ack>
</RelayPostResponseData>