# Jurisdictions

This object references a jurisdiction within Grease Monkey. You can retrieve a list of jurisdictions within Grease Monkey.

You can also view more detailed information about an individual jurisdiction and all the attributing factors (projects, counties, cities, zip codes).

# Base Endpoints

GET /api/jurisdictions
GET /api/jurisdictions/:id

# The Jurisdiction Object

{
  "object": "jurisdiction",
  "url": "/api/jurisdictions/86",
  "name": "Victoria, TX",
  "created": "08/17/2018",
  "last_updated": "05/28/2020",
  "number_of_projects": 11,
  "plumbing_code": null,
  "relationship_status": "Limited Approval",
  "indoor": {
    "sizing_method": "ASME",
    "sizing_location_limited": false,
    "flow_rate_to_size_by": "2 Minute",
    "products_to_recommend": [
      {
        "id": 13,
        "name": "GB-1000",
        "technical_name": "GB-1000 v1",
        "store_id": 194,
        "model_number": "4080-202-01",
        "product_image": "http://grease-monkey.test/storage/W6PLG5nvXfUc7WPRlFPitINhpl729JSCXt2yKOBL.png",
        "product_page_link": "https://schierproducts.com/gb-1000/"
      },
      {
        "id": 79,
        "name": "GB-250",
        "technical_name": "GB-250 v3",
        "store_id": null,
        "model_number": "4055-007-02",
        "product_image": "http://grease-monkey.test/storage/W0hwKWyE8xYMZIC4aM3byyryxgFSARJui93Aoo9K.png",
        "product_page_link": "https://schierproducts.com/gb-250/"
      }
    ],
    "fixtures_statistics_to_show": []
  },
  "outdoor": {
    "sizing_method": "ASME",
    "flow_rate_to_size_by": "2 Minute",
    "products_to_recommend": [
      {
        "id": 13,
        "name": "GB-1000",
        "technical_name": "GB-1000 v1",
        "store_id": 194,
        "model_number": "4080-202-01",
        "product_image": "http://grease-monkey.test/storage/W6PLG5nvXfUc7WPRlFPitINhpl729JSCXt2yKOBL.png",
        "product_page_link": "https://schierproducts.com/gb-1000/"
      },
      {
        "id": 79,
        "name": "GB-250",
        "technical_name": "GB-250 v3",
        "store_id": null,
        "model_number": "4055-007-02",
        "product_image": "http://grease-monkey.test/storage/W0hwKWyE8xYMZIC4aM3byyryxgFSARJui93Aoo9K.png",
        "product_page_link": "https://schierproducts.com/gb-250/"
      }
    ],
    "fixtures_statistics_to_show": [
      "2 Minute"
    ]
  },
  "counties": [
    "Victoria County"
  ],
  "postal_codes": [],
  "states": [
    "Texas"
  ],
  "cities": [
    "Victoria"
  ],
  "contacts": [
    {
      "id": 107,
      "name": "****** *****",
      "first_name": "******",
      "last_name": "*****",
      "title": "Environmental Service & Pretreatment Specialist",
      "email": "*****@******.org",
      "primary_phone_number": "*****",
      "department": "Wastewater/FOG Specific Authority",
      "jurisdictions": [
        "Wastewater/FOG Specific Authority"
      ],
      "jurisdiction_name": "Victoria, TX",
      "facility": {
        "name": "victoria rx public works",
        "address": "1301 Southwest Ben Jordan Street",
        "city": "Victoria",
        "state": "TX",
        "postal_code": "77901",
        "county": null
      },
      "is_primary_contact": false
    }
  ],
  "required_sampling_port": {
    "id": 8,
    "name": "SV10",
    "technical_name": null,
    "store_id": null,
    "model_number": "8065-001-01",
    "product_image": "https://grease-monkey-testing.s3.us-east-2.amazonaws.com/psYk96srqvOz54H4gDGmyB1BJsRuFZMLktYle10T.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA3PHCILO3ZS54NWE3%2F20210122%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20210122T181630Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Signature=a27962ab28a1cecfd37ec00f5d33b9b883f952f9dfe4fa669c954acca66c0c89",
    "product_page_link": "https://www.schierproducts.com/sv10"
  },
  "media": [],
  "fixtures_required_to_bypass": [],
  "fixtures_required_to_connect": [],
  "solids_interceptor_required": "No",
  "other_information": "<p><strong>Pre Treatment Ordinance</strong><br>yes</p>\n<p><strong>Pre Treatment Ordinance Notes</strong><br>Gravity sizing per DFU x 7.5 GPM x 12 min retention...but worked through Schier approvals via GPSM on a number of projects</p>\n<p><strong>Kitchen Fixtures Allowed to Bypass</strong><br>Hand sink</p>\n<p><strong>Types of Interceptors Allowed Indoors</strong><br>Hydromechanical</p>\n<p><strong>Types of Interceptors Allowed Outdoors</strong><br>Hydromechanical, GGI</p>\n<p><strong>Indoor Sizing flow Rate By</strong><br>Fixture Dimensions</p>\n<p><strong>Outdoor Sizing flow Rate By</strong><br>Fixture Dimensions</p>\n<p><strong>Outdoor Sizing Grease Production Size</strong><br>no</p>\n<p><strong>Outdoor sizing Minimum Exterior Size</strong><br>yes</p>\n<p><strong>Outdoor sizing Minimum Exterior Size Value</strong><br>250</p>\n<p><strong>Outdoor sizing Minimum Exterior Size Unit</strong><br>liquid capacity</p>\n<p><strong>Outdoor sizing Minimum Pumpout Ports Required</strong><br>no</p>"
}

# Attributes

name string

The name of the jurisdiction. Can be a combination of a city and state, county, township, etc.

created string

The date of when the jurisdiction was created

last_updated string

The date of when the jurisdiction was last updated. This date's timezone is in UTC.

number_of_projects integer

The number of projects that have been created within this jurisdiction

plumbing_code optional, string

If there is a global plumbing code that this jurisdiction adheres to, it will be described here.

relationship_status string

This jurisdiction's opinion/status of GPSM (Grease Production Sizing Method) and Schier's hydro mechanical product line

indoor/outdoor object

Specifications that the jurisdiction dictates depending on where the interceptor is installed.

{
    "sizing_method": "ASME",
    "flow_rate_to_size_by": "2 Minute",
    "products_to_recommend": [
      {
        "id": 13,
        "name": "GB-1000",
        "technical_name": "GB-1000 v1",
        "store_id": 194,
        "model_number": "4080-202-01",
        "product_image": "http://grease-monkey.test/storage/W6PLG5nvXfUc7WPRlFPitINhpl729JSCXt2yKOBL.png",
        "product_page_link": "https://schierproducts.com/gb-1000/"
      },
      {
        "id": 79,
        "name": "GB-250",
        "technical_name": "GB-250 v3",
        "store_id": null,
        "model_number": "4055-007-02",
        "product_image": "http://grease-monkey.test/storage/W0hwKWyE8xYMZIC4aM3byyryxgFSARJui93Aoo9K.png",
        "product_page_link": "https://schierproducts.com/gb-250/"
      }
    ],
    "fixtures_statistics_to_show": [
      "2 Minute"
    ]
  }
counties optional, array

A list of counties that reside within this jurisdiction

postal_codes optional, array

A list of postal codes that reside within this jurisdiction

states optional, array

A list of states that reside within this jurisdiction

cities optional, array

A list of cities that reside within this jurisdiction

contacts optional, array

A list of contacts that work and/or are responsible for installation decisions within this jurisdiction.

See Jurisdiction Contacts

required_sampling_port optional, object

If this jurisdiction requires a sampling port, this property will provide product details of the approved Schier sampling port.

{
  "id": 8,
  "name": "SV10",
  "technical_name": null,
  "store_id": null,
  "model_number": "8065-001-01",
  "product_image": "https://grease-monkey-testing.s3.us-east-2.amazonaws.com/psYk96srqvOz54H4gDGmyB1BJsRuFZMLktYle10T.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA3PHCILO3ZS54NWE3%2F20210122%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20210122T181630Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Signature=a27962ab28a1cecfd37ec00f5d33b9b883f952f9dfe4fa669c954acca66c0c89",
  "product_page_link": "https://www.schierproducts.com/sv10"
}
media optional, array

A list of files and/or links that have been attached to his jurisdiction to help inform sizing/review decisions within this jurisdiction

fixtures_required_to_bypass optional, array

A list of kitchen fixtures that this jurisdiction requires to bypass the interceptor

fixtures_required_to_connect optional, array

A list of kitchen fixtures that this jurisdiction requires to connect to the interceptor

solids_interceptor_required string

A "Yes"/"No" indication if this jurisdiction requires a solids interceptor to be installed in conjunction with the HGI.

other_information optional, string

Other HTML-encoded information that may/may not be legacy information from previous versions of Grease Monkey

# Retrieve Jurisdictions by ID

If you don't want to paginate through all the jurisdiction manually, you have the ability to request a series specific results identified by their unique ID within the database.

To do so, simply provide an encoded array of numeric values to the api; like so:

GET /api/jurisdictions?ids[]=3&ids[]=18&ids[]=26&ids[]=29

This would return the following jurisdictions:

  • 3 (Miami)
  • 18 (North Davis Sewer District)
  • 26 (Washington Suburban Sanitary Commission)
  • 29 (Redondo Beach)
  • and so on

Notice

When using this method of retrieval, the normal pagination parameters (limit, offset) do not apply.

Last Updated: 25 days ago