DELETE api/Accounts/RegisterMobileDevice?ExternalID={ExternalID}&RegistrationCode={RegistrationCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ExternalID | string |
Required |
|
RegistrationCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AccountModelName | Description | Type | Additional information |
---|---|---|---|
ID |
The ID for the user |
globally unique identifier |
None. |
ExternalID |
User's external ID |
string |
Required |
Name |
User's name |
string |
None. |
DOB |
User's date of birth |
date |
None. |
Gender |
User's gender |
string |
None. |
Devices |
User's devices |
string |
None. |
Country |
User's country |
string |
None. |
Age |
User's age |
integer |
None. |
Location |
User's location |
string |
None. |
Created |
Date user was added to the system |
date |
None. |
HasDevices |
Whether user has devices |
boolean |
None. |
OrganisationName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": "fe920257-9e6c-4105-a456-c068fcfdc378", "ExternalID": "sample string 2", "Name": "sample string 3", "DOB": "2023-05-25T11:21:31.6516918+00:00", "Gender": "sample string 4", "Devices": "sample string 5", "Country": "sample string 6", "Age": 1, "Location": "sample string 8", "Created": "2023-05-25T11:21:31.6516918+00:00", "HasDevices": true, "OrganisationName": "sample string 9" }
application/xml, text/xml
Sample:
<AccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tekasco.HealthStream.Models.Accounts"> <Age>1</Age> <Country>sample string 6</Country> <Created>2023-05-25T11:21:31.6516918+00:00</Created> <DOB>2023-05-25T11:21:31.6516918+00:00</DOB> <Devices>sample string 5</Devices> <ExternalID>sample string 2</ExternalID> <Gender>sample string 4</Gender> <HasDevices>true</HasDevices> <ID>fe920257-9e6c-4105-a456-c068fcfdc378</ID> <Location>sample string 8</Location> <Name>sample string 3</Name> <OrganisationID>03e54b3a-414d-4535-8a3a-1c22ae7027ff</OrganisationID> <OrganisationName>sample string 9</OrganisationName> </AccountModel>