POST NonPatient Portal Accounts

Developer Tools

POST api/v1/{EMRSystem}/NonPatientPortalAccounts

Creates a Portal Account for a non-patient.

HTTP Method

POST

Applicable Emissary Products

Interactive Workflow

Allscripts

In Dev

Athena

In Dev

Cerner

In Dev

Meditech

In Dev

Sandbox

In Dev

Don't see the data field you are looking for?

Request Information

URI Parameters

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

EMRSystem

The emr system.

EMRsystem

Required

 
Body Parameters
The portal account non-patient create request view model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

UserId

Gets or sets the user identifier.

string

Required

FirstName

Gets or sets the first name.

string

Required

MiddleName

Gets or sets the name of the middle.

string

None.

LastName

Gets or sets the last name.

string

Required

BirthDateTime

Gets or sets the date of birth.

date

None.

Gender

Gets or sets the gender.

string

None.

SSN

Gets or sets the SSN.

string

None.

HomePhone

Gets or sets the home phone.

string

None.

MobilePhone

Gets or sets the mobile phone.

string

None.

WorkPhone

Gets or sets the work phone.

string

None.

PortalUserId

Gets or sets the portal user identifier.

string

Required

PortalUserPassword

Gets or sets the portal user password.

string

Required

PasswordHint

Gets or sets the password hint.

string

None.

PasswordResetQuestion

Gets or sets the password reset question.

string

None.

PasswordResetAnswer

Gets or sets the password reset answer.

string

None.

EmailAddress

Gets or sets the email address.

string

None.

ReceiveEmailNotifications

Gets or sets a value indicating whether [receive email notifications].

boolean

None.

 

Response Information

 
Resource Description
Http response containing newly created Portal Account Id.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

 
Response Codes

Http Status Code 201 – Returns Sansoro.Shared.SansoroServiceBus.Models.PortalAccountCreateResponseViewModel

Http Status Code 400 – Indicates that the request did not contain all the required fields.

Http Status Code 500 – Indicates that an internal server error occurred during processing of the request.

Http Status Code 502 – Indicates that a request made to the underlying EMR server could not be completed.

 
Response Formats
Sample Message
Download Json Schema
{
  "UserId": "sample string 1",
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "BirthDateTime": "2018-02-15T15:47:49.9607054Z",
  "Gender": "sample string 5",
  "SSN": "sample string 6",
  "HomePhone": "sample string 7",
  "MobilePhone": "sample string 8",
  "WorkPhone": "sample string 9",
  "PortalUserId": "sample string 10",
  "PortalUserPassword": "sample string 11",
  "PasswordHint": "sample string 12",
  "PasswordResetQuestion": "sample string 13",
  "PasswordResetAnswer": "sample string 14",
  "EmailAddress": "sample string 15",
  "ReceiveEmailNotifications": true,
  "Domain": "sample string 17",
  "LoginId": "sample string 18",
  "Password": "sample string 19",
  "EmrInstance": "sample string 20",
  "ApplicationName": "sample string 21",
  "ApplicationKey": "sample string 22"
}
Sample Message
<PortalAccountNonPatientCreateRequestViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <ApplicationKey>sample string 22</ApplicationKey>
  <ApplicationName>sample string 21</ApplicationName>
  <Domain>sample string 17</Domain>
  <EmrInstance>sample string 20</EmrInstance>
  <LoginId>sample string 18</LoginId>
  <Password>sample string 19</Password>
  <BirthDateTime>2018-02-15T09:47:49.9607054-06:00</BirthDateTime>
  <EmailAddress>sample string 15</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <Gender>sample string 5</Gender>
  <HomePhone>sample string 7</HomePhone>
  <LastName>sample string 4</LastName>
  <MiddleName>sample string 3</MiddleName>
  <MobilePhone>sample string 8</MobilePhone>
  <PasswordHint>sample string 12</PasswordHint>
  <PasswordResetAnswer>sample string 14</PasswordResetAnswer>
  <PasswordResetQuestion>sample string 13</PasswordResetQuestion>
  <PortalUserId>sample string 10</PortalUserId>
  <PortalUserPassword>sample string 11</PortalUserPassword>
  <ReceiveEmailNotifications>true</ReceiveEmailNotifications>
  <SSN>sample string 6</SSN>
  <UserId>sample string 1</UserId>
  <WorkPhone>sample string 9</WorkPhone>
</PortalAccountNonPatientCreateRequestViewModel>

Submit a Comment

Your email address will not be published. Required fields are marked *

 

Don't see the data field you are looking for?