POST TransitApi/Agency

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
agencyId
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "AgencyId": "sample string 1",
    "Country": "sample string 2",
    "City": "sample string 3",
    "Name": "sample string 4",
    "Url": "sample string 5",
    "TimeZone": "sample string 6",
    "Wiki_fr": "sample string 7",
    "Wiki_en": "sample string 8",
    "Language": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  {
    "AgencyId": "sample string 1",
    "Country": "sample string 2",
    "City": "sample string 3",
    "Name": "sample string 4",
    "Url": "sample string 5",
    "TimeZone": "sample string 6",
    "Wiki_fr": "sample string 7",
    "Wiki_en": "sample string 8",
    "Language": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  {
    "AgencyId": "sample string 1",
    "Country": "sample string 2",
    "City": "sample string 3",
    "Name": "sample string 4",
    "Url": "sample string 5",
    "TimeZone": "sample string 6",
    "Wiki_fr": "sample string 7",
    "Wiki_en": "sample string 8",
    "Language": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAgency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <Agency>
    <AgencyId>sample string 1</AgencyId>
    <City>sample string 3</City>
    <Country>sample string 2</Country>
    <Language xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </Language>
    <Name>sample string 4</Name>
    <TimeZone>sample string 6</TimeZone>
    <Url>sample string 5</Url>
    <Wiki_en>sample string 8</Wiki_en>
    <Wiki_fr>sample string 7</Wiki_fr>
  </Agency>
  <Agency>
    <AgencyId>sample string 1</AgencyId>
    <City>sample string 3</City>
    <Country>sample string 2</Country>
    <Language xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </Language>
    <Name>sample string 4</Name>
    <TimeZone>sample string 6</TimeZone>
    <Url>sample string 5</Url>
    <Wiki_en>sample string 8</Wiki_en>
    <Wiki_fr>sample string 7</Wiki_fr>
  </Agency>
  <Agency>
    <AgencyId>sample string 1</AgencyId>
    <City>sample string 3</City>
    <Country>sample string 2</Country>
    <Language xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </Language>
    <Name>sample string 4</Name>
    <TimeZone>sample string 6</TimeZone>
    <Url>sample string 5</Url>
    <Wiki_en>sample string 8</Wiki_en>
    <Wiki_fr>sample string 7</Wiki_fr>
  </Agency>
</ArrayOfAgency>