Client library for interacting with the NVSS FHIR API
More...
|
|
| Client (String url, bool local, Credentials credentials) |
| | Instantiate a new instance of the Client
|
| |
|
async Task< HttpResponseMessage > | GetMessageResponsesAsync () |
| | GetMessageResponsesAsync makes a GET request to the NVSS FHIR API server for any new messages responses
|
| |
|
async Task< HttpResponseMessage > | PostMessageAsync (BaseMessage message) |
| | PostMessageAsync POSTS a single message to the NVSS FHIR API server for processing
|
| |
|
async Task< List< HttpResponseMessage > > | PostMessagesAsync (IEnumerable< BaseMessage > messages, int batchSize) |
| | PostMessageAsync POSTS a list of messages to the NVSS FHIR API server for processing using bulk upload
|
| |
|
async Task< HttpResponseMessage > | GetAuthorizeTokenAsync () |
| | Returns the token for the client's credientials
|
| |
|
|
static string | CreateBulkUploadPayload (IEnumerable< BaseMessage > messages, string url, bool prettyPrint=false) |
| | Create the payload for submission to the NVSS FHIR API for bulk upload
|
| |
|
|
String | Url [get] |
| | The API url
|
| |
|
bool | LocalTesting [get] |
| | Whether the client is running locally
|
| |
|
Credentials | Credentials [get] |
| | The credentials to access the API server
|
| |
|
string? | Token [get, set] |
| | The token to access the API server
|
| |
Client library for interacting with the NVSS FHIR API
The documentation for this class was generated from the following file: