POST api/TravelOrdersMonthly/AddTravelOrdersMonthly

Request Information

URI Parameters

None.

Body Parameters

TravelOrdersMonthly
NameDescriptionTypeAdditional information
TravelOrderMonthly

Collection of TravelOrderMonthly

None.

Request Formats

application/xml, text/xml

Sample:
<TravelOrdersMonthly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TravelOrderMonthly>
    <TravelOrderYear>1</TravelOrderYear>
    <TravelOrderNumber>2</TravelOrderNumber>
    <ItemNumber>3</ItemNumber>
    <ItineraryID>sample string 4</ItineraryID>
    <Distance>5</Distance>
    <ActualDepartureTime>2024-11-21T14:59:46.7608989+01:00</ActualDepartureTime>
    <ActualArrivalTime>2024-11-21T14:59:46.7608989+01:00</ActualArrivalTime>
    <CostID>sample string 6</CostID>
    <Remark>sample string 7</Remark>
    <CostAmount>8</CostAmount>
    <Amount>9</Amount>
    <AmountSit>10</AmountSit>
    <RegulationAmount>11</RegulationAmount>
    <Purpose>sample string 12</Purpose>
    <DurationHrMin>2024-11-21T14:59:46.7608989+01:00</DurationHrMin>
  </TravelOrderMonthly>
  <TravelOrderMonthly>
    <TravelOrderYear>1</TravelOrderYear>
    <TravelOrderNumber>2</TravelOrderNumber>
    <ItemNumber>3</ItemNumber>
    <ItineraryID>sample string 4</ItineraryID>
    <Distance>5</Distance>
    <ActualDepartureTime>2024-11-21T14:59:46.7608989+01:00</ActualDepartureTime>
    <ActualArrivalTime>2024-11-21T14:59:46.7608989+01:00</ActualArrivalTime>
    <CostID>sample string 6</CostID>
    <Remark>sample string 7</Remark>
    <CostAmount>8</CostAmount>
    <Amount>9</Amount>
    <AmountSit>10</AmountSit>
    <RegulationAmount>11</RegulationAmount>
    <Purpose>sample string 12</Purpose>
    <DurationHrMin>2024-11-21T14:59:46.7608989+01:00</DurationHrMin>
  </TravelOrderMonthly>
</TravelOrdersMonthly>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

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">
  <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>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>