Power.Dev Hangfire Services

<back to all web services

LayersOsmTransmissionLinesRemoveRequest

The following routes are available for this service:
POST/layers/osm-tl-remove
LayersOsmTransmissionLinesRemoveRequest Parameters:
NameParameterData TypeRequiredDescription
OsmIdsbodyList<long>Yes
ProviderbodyDataProviderNo
DataProvider Enum:
NameValue
Undefined0
SPP1
ERCOT2
MISO3
CAISO4
PJM5
ISONE6
NYISO7
NW8
SW9
SE10
AESO11
IESO12
CENACE20
NONISO99
EIA100
PNM150
NREL200
NOAA210
ENTSOE1000
EPIAS1010
SELF10000

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /layers/osm-tl-remove HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"osmIds":[0],"provider":"Undefined"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}