FrameAppWS

<back to all web services

GetCitizenIncidentsRQ

The following routes are available for this service:
All Verbs/citizen/getcitizenincidents/{Category}
GetCitizenIncidentsRQ Parameters:
NameParameterData TypeRequiredDescription
CategorypathstringNo
InitDatequeryDateTimeNo
EndDatequeryDateTimeNo
StatusquerystringNo
WithAttachmentsqueryboolNo
GetCitizenIncidentsRS Parameters:
NameParameterData TypeRequiredDescription
CitizenIncidentsformList<CitizenIncidentFull>No
CoreRS Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
ErrorMessageformstringNo
ErrorStackTraceformstringNo
CitizenIncidentFull Parameters:
NameParameterData TypeRequiredDescription
ReportIdformlongNo
CitizenEmailformstringNo
CitizenNameformstringNo
CitizenPhoneNumberformstringNo
CitizenStatusformstringNo
ReportTypeIdformlongNo
ReportTypeformstringNo
ReportformstringNo
FieldsformDictionary<string, Object>No
LongitudeformdoubleNo
LatitudeformdoubleNo
InvolvedinIndicentformintNo
CreatedDateformstringNo
FilesformList<Dictionary<String,Object>>No
FollowformList<Dictionary<String,Object>>No
StatusformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /citizen/getcitizenincidents/{Category} HTTP/1.1 
Host: ws.jimsnwa.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Category: String,
	InitDate: 0001-01-01,
	EndDate: 0001-01-01,
	Status: String,
	WithAttachments: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CitizenIncidents: 
	[
		{
			ReportId: 0,
			CitizenEmail: String,
			CitizenName: String,
			CitizenPhoneNumber: String,
			CitizenStatus: String,
			ReportTypeId: 0,
			ReportType: String,
			Report: String,
			Fields: 
			{
				String: {}
			},
			Longitude: 0,
			Latitude: 0,
			InvolvedinIndicent: 0,
			CreatedDate: String,
			Files: 
			[
				{
					String: {}
				}
			],
			Follow: 
			[
				{
					String: {}
				}
			],
			Status: String
		}
	],
	Code: String,
	ErrorMessage: String,
	ErrorStackTrace: String
}