--
You received this message because you are subscribed to the Google Groups "open311-mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open311-mobil...@googlegroups.com.
To post to this group, send email to open311...@googlegroups.com.
Visit this group at http://groups.google.com/group/open311-mobile?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
ReportSMS enables a user to perform the following interactions with a Open311 server through SMS:
1. Get Service Codes
2. Post Service Request
3. Get Request Status
These interactions represent different interaction modes. Each interaction mode has its own SMS template for Query and Response.
ReportSMS also supports a fourth interaction mode, the Help mode.
The interaction modes and their templates are described below:
1. Get Service Codes:
Function: Queries the Open311 server to get a list of groups or services.
Query Template: [<keyword><space>get_service_codes]
Response: As configured in the ReportSMS server, the response can be either a List of Groups with their Group Numbers or a List of Services with their Service Numbers.
Configuration 1: ReportSMS is configured to return List of Groups:
Response Template: [<grouplist_info_text>:<group1_name>-<group1_code>;<group2_name>-<group2_code>; .....;<grouplist_next_page_text>]
Configuration 2: ReportSMS is configured to return List of Services:
Response Template: [<servicelist_info_text>:<service1_name>-<service1_code>;<service2_name>-<service2_code>; .....;<servicelist_next_page_text>]
2. Submit Service Request:
Purpose: Posts a service request to the Open311 server.
Query Template:[<keyword><space>submit_request<space><service_code><space><address_string>]
Response Template:
Case: Query Successfully Registered : [<successful_query_response_text><space><service_request_id>]
Case: Query Unsuccessful : [<unsuccessful_query_response_text>]
Case: Service requires metadata:
|
Datatype |
Response Template |
|
string |
[<string_datatype_response_text1><description><space><string_datatype_response_text2>] |
|
number |
[<number_datatype_response_text1><description><space><number_datatype_response_text2>] |
|
datetime |
[<datetime_datatype_response_text1><description><space><datetime_datatype_response_text2>] |
|
text |
[<text_datatype_response_text1><description><space><text_datatype_response_text2>] |
|
singlevaluelist |
[<singlevaluelist_datatype_response_text1><description><space><singlevaluelist_datatype_response_text2><space>1-<option1_name>;2-<option2_name>;...;<options_next_page_text>] |
|
multivaluelist |
[<multivaluelist_datatype_response_text1><description><space><multivaluelist_datatype_response_text2><space>1-<option1_name>;2-<option2_name>;...;<options_next_page_text>] |
3. Check Request Status
Function:Returns status of a request from an Open311 Server.
Query Template: [<keyword><space>check_request_status<space><service_id>]
Example Query: [open311 check_request_status 42flp]
Response Template: [Request Status:<status>;<status_notes>]
Example Response: [Request Status:closed;Info:Duplicate request.]
4. Help
Function: Return information about the Query Templates
Query Template: [<keyword><space>help]
Response Template: [Reply with 'open311<space>option code' get more details;Options:Get Service List-h1;Submit Service Request-h2;Check Request Status-h3]
Error:
Response Template: [<error_text>]
--
You received this message because you are subscribed to the Google Groups "open311-mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open311-mobil...@googlegroups.com.
To post to this group, send email to open311...@googlegroups.com.
Visit this group at http://groups.google.com/group/open311-mobile?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.