Service Requests
API endpoints available for interacting with Service Requests.
List Service Requests
GET
https://muni-portal-backend.openup.org.za/api/service-requests/
Retrieve a list of Service Request objects that belong to the user making the request.
Detail Service Request
GET
https://muni-portal-backend.openup.org.za/api/service-requests/:id/
Retrieve detail about a Service Request object.
Path Parameters
id
integer
Service Request object identifier
Create Service Request
POST
https://muni-portal-backend.openup.org.za/api/service-requests/
Create a Service Request object. The object is not visible in List or Detail views until it has successfully been created in Collaborator Web API. If the object does show up in List or Detail views, it has successfully been created in Collaborator Web API and will have the status "created."
Request Body
coordinates
string
Latitude, Longitude as Decimal Degrees e.g. -34.8161234, 19.9712024
description
string
Description
suburb
string
Suburb (We supply Town in this field)
street_number
string
Street number
street_name
string
Street name
user_mobile_number
string
Mobile number
user_surname
string
Surname
user_name
string
First name
type
string
Type (Service Area)
Last updated