GET api/InspectionResults/{route}/{day}/{hour}?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

decimal number

Required

route

string

None.

day

string

None.

hour

string

None.

Body Parameters

None.

Response Information

Resource Description

InspectionResults
NameDescriptionTypeAdditional information
ID

string

None.

CASE_NUMBER

string

None.

CASE_NAME

string

None.

LOCATION

string

None.

TASK_DESC

string

None.

TASK_COMPLETE_DATE

date

None.

RESULT_CODE

string

None.

COMMENT_TEXT

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "CASE_NUMBER": "sample string 2",
  "CASE_NAME": "sample string 3",
  "LOCATION": "sample string 4",
  "TASK_DESC": "sample string 5",
  "TASK_COMPLETE_DATE": "11/12/2019 12:28 AM",
  "RESULT_CODE": "sample string 6",
  "COMMENT_TEXT": "sample string 7"
}

application/xml, text/xml

Sample:
<InspectionResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CityWebApi">
  <CASE_NAME>sample string 3</CASE_NAME>
  <CASE_NUMBER>sample string 2</CASE_NUMBER>
  <COMMENT_TEXT>sample string 7</COMMENT_TEXT>
  <ID>sample string 1</ID>
  <LOCATION>sample string 4</LOCATION>
  <RESULT_CODE>sample string 6</RESULT_CODE>
  <TASK_COMPLETE_DATE>2019-11-12T00:28:52.8444453-05:00</TASK_COMPLETE_DATE>
  <TASK_DESC>sample string 5</TASK_DESC>
</InspectionResults>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"ID":"sample string 1","CASE_NUMBER":"sample string 2","CASE_NAME":"sample string 3","LOCATION":"sample string 4","TASK_DESC":"sample string 5","TASK_COMPLETE_DATE":"11/12/2019 12:28 AM","RESULT_CODE":"sample string 6","COMMENT_TEXT":"sample string 7"});