imedidata

package
v0.0.0-...-b911aad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

The imedidata package is an example of using the Go MAuth Client library to call the iMedidata API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Login                    string
	Email                    string
	Uuid                     string
	Activation_code          string
	Activation_status        string
	Name                     string
	First_name               string
	Last_name                string
	Time_zone                string
	Locale                   string
	Institution              string
	Title                    string
	Department               string
	Address_line_1           string
	Address_line_2           string
	Address_line_3           string
	City                     string
	State                    string
	Postal_code              string
	Country                  string
	Telephone                string
	Fax                      string
	Pager                    string
	Mobile                   string
	Creator_uuid             string
	Admin                    string
	Clinical_data_restricted string
}

User struct returned by iMedidata

func GetUserDetails

func GetUserDetails(mauthApp *go_mauth_client.MAuthApp, userUuid string) (user *User, err error)

Example Client to retrieve User details from iMedidata based on the following link: http://developer.imedidata.com/desktop/ActionTopics/Users/Listing_User_Account_Details.htm

type UserResponse

type UserResponse struct {
	User User
}

Wrapper for the response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL