POST api/Itinerary/AddItinerary

Request Information

URI Parameters

None.

Body Parameters

Itineraries
NameDescriptionTypeAdditional information
Itinerary

Collection of Itinerary

None.

Request Formats

application/xml, text/xml

Sample:
<Itineraries xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Itinerary>
    <ItineraryID>sample string 1</ItineraryID>
    <ItineraryName>sample string 2</ItineraryName>
    <KilometersNo>1.1</KilometersNo>
    <FareCost>1.1</FareCost>
    <EndStation>sample string 3</EndStation>
    <MonthlyTicketCost>1.1</MonthlyTicketCost>
    <CombinedTicketCost>1.1</CombinedTicketCost>
    <Active>64</Active>
  </Itinerary>
  <Itinerary>
    <ItineraryID>sample string 1</ItineraryID>
    <ItineraryName>sample string 2</ItineraryName>
    <KilometersNo>1.1</KilometersNo>
    <FareCost>1.1</FareCost>
    <EndStation>sample string 3</EndStation>
    <MonthlyTicketCost>1.1</MonthlyTicketCost>
    <CombinedTicketCost>1.1</CombinedTicketCost>
    <Active>64</Active>
  </Itinerary>
</Itineraries>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResultWithDocumentsKeys
NameDescriptionTypeAdditional information
Rows

Collection of DocumentKeys

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of ErrorWithKeys

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Rows>
    <DocumentKeys>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </DocumentKeys>
    <DocumentKeys>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </DocumentKeys>
  </Rows>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </Error>
  </Errors>
</CreateResult>