POST v1/SFRTAOffenders

Request Information

URI Parameters

None.

Body Parameters

SFRTA_Offenders_List
NameDescriptionTypeAdditional information
ID

integer

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

date_of_birth

date

None.

address

string

None.

city

string

None.

state

string

None.

zip

string

None.

csc

string

None.

status

string

None.

ir

string

None.

fare_evasion_type

string

None.

num_warnings

integer

None.

num_citations

integer

None.

date

date

None.

citation_num

string

None.

classification

string

None.

inserted_dtm

date

None.

inserted_by

string

None.

customer_id

string

None.

tso_number

string

None.

police_department

string

None.

case_number

string

None.

location_train

string

None.

race

string

None.

sex

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "date_of_birth": "2024-11-24T17:05:09.8751404-05:00",
  "address": "sample string 5",
  "city": "sample string 6",
  "state": "sample string 7",
  "zip": "sample string 8",
  "csc": "sample string 9",
  "status": "sample string 10",
  "ir": "sample string 11",
  "fare_evasion_type": "sample string 12",
  "num_warnings": 1,
  "num_citations": 1,
  "date": "2024-11-24T17:05:09.8751404-05:00",
  "citation_num": "sample string 13",
  "classification": "sample string 14",
  "inserted_dtm": "2024-11-24T17:05:09.8751404-05:00",
  "inserted_by": "sample string 16",
  "customer_id": "sample string 17",
  "tso_number": "sample string 18",
  "police_department": "sample string 19",
  "case_number": "sample string 20",
  "location_train": "sample string 21",
  "race": "sample string 22",
  "sex": "sample string 23"
}

text/xml

Sample:
<SFRTA_Offenders_List xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitMobileApi">
  <ID>1</ID>
  <address>sample string 5</address>
  <case_number>sample string 20</case_number>
  <citation_num>sample string 13</citation_num>
  <city>sample string 6</city>
  <classification>sample string 14</classification>
  <csc>sample string 9</csc>
  <customer_id>sample string 17</customer_id>
  <date>2024-11-24T17:05:09.8751404-05:00</date>
  <date_of_birth>2024-11-24T17:05:09.8751404-05:00</date_of_birth>
  <fare_evasion_type>sample string 12</fare_evasion_type>
  <first_name>sample string 2</first_name>
  <inserted_by>sample string 16</inserted_by>
  <inserted_dtm>2024-11-24T17:05:09.8751404-05:00</inserted_dtm>
  <ir>sample string 11</ir>
  <last_name>sample string 4</last_name>
  <location_train>sample string 21</location_train>
  <middle_name>sample string 3</middle_name>
  <num_citations>1</num_citations>
  <num_warnings>1</num_warnings>
  <police_department>sample string 19</police_department>
  <race>sample string 22</race>
  <sex>sample string 23</sex>
  <state>sample string 7</state>
  <status>sample string 10</status>
  <tso_number>sample string 18</tso_number>
  <zip>sample string 8</zip>
</SFRTA_Offenders_List>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SFRTA_Offenders_List'.

Response Information

Resource Description

SFRTA_Offenders_List
NameDescriptionTypeAdditional information
ID

integer

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

date_of_birth

date

None.

address

string

None.

city

string

None.

state

string

None.

zip

string

None.

csc

string

None.

status

string

None.

ir

string

None.

fare_evasion_type

string

None.

num_warnings

integer

None.

num_citations

integer

None.

date

date

None.

citation_num

string

None.

classification

string

None.

inserted_dtm

date

None.

inserted_by

string

None.

customer_id

string

None.

tso_number

string

None.

police_department

string

None.

case_number

string

None.

location_train

string

None.

race

string

None.

sex

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "date_of_birth": "2024-11-24T17:05:09.8751404-05:00",
  "address": "sample string 5",
  "city": "sample string 6",
  "state": "sample string 7",
  "zip": "sample string 8",
  "csc": "sample string 9",
  "status": "sample string 10",
  "ir": "sample string 11",
  "fare_evasion_type": "sample string 12",
  "num_warnings": 1,
  "num_citations": 1,
  "date": "2024-11-24T17:05:09.8751404-05:00",
  "citation_num": "sample string 13",
  "classification": "sample string 14",
  "inserted_dtm": "2024-11-24T17:05:09.8751404-05:00",
  "inserted_by": "sample string 16",
  "customer_id": "sample string 17",
  "tso_number": "sample string 18",
  "police_department": "sample string 19",
  "case_number": "sample string 20",
  "location_train": "sample string 21",
  "race": "sample string 22",
  "sex": "sample string 23"
}

text/xml

Sample:
<SFRTA_Offenders_List xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitMobileApi">
  <ID>1</ID>
  <address>sample string 5</address>
  <case_number>sample string 20</case_number>
  <citation_num>sample string 13</citation_num>
  <city>sample string 6</city>
  <classification>sample string 14</classification>
  <csc>sample string 9</csc>
  <customer_id>sample string 17</customer_id>
  <date>2024-11-24T17:05:09.8751404-05:00</date>
  <date_of_birth>2024-11-24T17:05:09.8751404-05:00</date_of_birth>
  <fare_evasion_type>sample string 12</fare_evasion_type>
  <first_name>sample string 2</first_name>
  <inserted_by>sample string 16</inserted_by>
  <inserted_dtm>2024-11-24T17:05:09.8751404-05:00</inserted_dtm>
  <ir>sample string 11</ir>
  <last_name>sample string 4</last_name>
  <location_train>sample string 21</location_train>
  <middle_name>sample string 3</middle_name>
  <num_citations>1</num_citations>
  <num_warnings>1</num_warnings>
  <police_department>sample string 19</police_department>
  <race>sample string 22</race>
  <sex>sample string 23</sex>
  <state>sample string 7</state>
  <status>sample string 10</status>
  <tso_number>sample string 18</tso_number>
  <zip>sample string 8</zip>
</SFRTA_Offenders_List>