Power.Dev Hangfire Services

<back to all web services

OsmTransmissionLineStateRequest

The following routes are available for this service:
All Verbs/osm-transmission-line-state
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using powerDev.ISO.ServiceModels;

namespace powerDev.ISO.ServiceModels
{
    public partial class OsmTransmissionLineStateRequest
    {
        public virtual string State { get; set; }
    }

}

C# OsmTransmissionLineStateRequest DTOs

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

HTTP + OTHER

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

POST /osm-transmission-line-state HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"state":"String"}