Install OpenVPN Client
Grid RESTful API Start-up Guide
38
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.
•
- 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/[email protected]&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
}