Protocast Methods; Createoemuser; Getfieldcastoemlist - MSA Grid RESTful API Startup Manual

Table of Contents

Advertisement

2.5

ProtoCast Methods

2.5.1

CreateOEMUser

Description: Creates a new OEM User account under the provided OEM
HTTP Verb: GET
URL:
/rest/method/fieldpop-api/createOemUser
Query String Parameters:
happn_token - Token obtained from login request. Contact MSA Safety support for credentials
with access this method.
email - the email address of the user for which an account should be created.
company - the name of the Grid OEM under which the account should be created.
Example GET URL:
/rest/method/fieldpop-api/createOemUser?email=joe@soap.com&company=OEM_A&happn_token=eyJ0eXAiOi
JKV1QiLC
Example JSON Response:
{
"message": "Call successful",
"data": "FieldPoP account requested. Please check your email for further action.",
"error": null
}
Example Error Response:
{
"message": "Call failed",
"data": null,
"error": {
"message": "Invalid product company. Your FieldServer provider [OEM_A] has not yet registered with FieldPoP."
}
}
2.5.2

GetFieldCastOEMList

Description: Returns a list of OEMs supported by the ProtoCast app
HTTP Verb: GET
URL:
/rest/method/fieldpop-api/getFieldCastOemList
Query String Parameters:
happn_token - Token obtained from login request. Contact MSA Safety support for credentials
with access this method.
Example GET URL:
/rest/method/fieldpop-api/getFieldCastOemList?happn_token=eyJ0eXAiOiJKV1QiLC
Example JSON Response:
{
"message": "Call successful",
"data": [
{
"name": "Sierra Monitor Corporation",
"display_name": "SMC"
}
],
"error": null
}
Grid RESTful API Start-up Guide
Install OpenVPN Client
38

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Grid RESTful API and is the answer not in the manual?

Questions and answers

Table of Contents